bsh // create syllabeled passwords

function createPassword () { CNTSYLL=$1 CNTNUM=$2 test “x$1” == “x” && return 1 test “x$2” == “x” && return 1 PASS=”” YYY=( a e i o u ei au ai eu iu ui oi) ZZZ=( b c d f g h j k l m n p q r s t v w x y […]

SOX // trimming

EXAMPLE: cuts 10 seconds from the very beginning and recodes to 256 kbit/s sox -C 256 file.out.mp2 trim 10

script/console ftp upload one liner

With curl: curl -o /dev/null -s –connect-timeout 5 -T $TMPDIR/z_id.$CH_ID -u LOGIN:PASS ftp://URL:PORT/FILE.txt With ncftpput /usr/bin/ncftpput -u LOGIN -p PASS -P PORT -t 30 -F -T ‘UPLOADPREFIX’ -S ‘UPLOADSUFFIX’ -z -V URL /dls “FILE” ATTENTION: Add -DD to delet the local file afterwards. ATTENTION2: Quote ‘$’ in password with ‘\\\’ like ‘mypasscontains\\\$’