This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for f in *.mp4; do | |
mv "$f" "$f".old; | |
avconv -i "$f".old -vf crop=490:576:115:0 -vcodec libx264 "$f"; | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#set autoindent | |
set brackets ""')>]}" | |
set matchbrackets "(<[{)>]}" | |
set nonewlines | |
set nowrap | |
set smooth | |
set tabsize 4 | |
include /usr/share/nano/css.nanorc | |
include /usr/share/nano/html.nanorc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var generatePassword=function(len, pool){ | |
len=(typeof(len)!='undefined'?len:32); | |
pool=(typeof(pool)!='undefined'?pool:'abcdefghijklnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_'); | |
for (var i=0, n=pool.length, pw=''; i<len; ++i){ | |
pw+=pool.charAt(Math.floor(Math.random()*n)); | |
} | |
return pw; | |
} |
NewerOlder