1
0
Fork 0

Merge hh favourites

This commit is contained in:
Starbeamrainbowlabs 2016-12-04 09:59:37 +00:00
commit 61a2a52fb1
2 changed files with 13 additions and 4 deletions

View File

@ -18,10 +18,13 @@ alias l='ls -htFl'
alias cp='cp -i'
alias mv='mv -i'
# make mkdir tell us about each directory it has created
# Make everything tell us what they're doing
alias mkdir='mkdir -pv'
# make rm tell us about everything it's deleting
alias rm='rm -v'
alias rmdir='rmdir -v'
# Make the permissions tweaking commands give us more information about what they are doing
alias chmod='chmod -c'
alias chown='chown -c'
@ -30,6 +33,9 @@ alias chgrp='chgrp -c'
# Make time work properly
alias time=/usr/bin/time
# dfh: Show disk usage in a form we can actually understand
alias dfh='df -h'
# catz: gunzip & display commpressed gz files.
alias catz='gunzip -c'

View File

@ -1,10 +1,13 @@
mogrify -format jpg *.png
find . -name "*.svg" | xargs -I {} inkscape -e {}.png {}
inotifywait --event CLOSE_WRITE --monitor Wikitle.css | xargs -I {} csstidy Wikitle.css Wikitle.min.css --template=highest
duplicity --encrypt-key 001E1725 --exclude /proc --exclude /sys --exclude /tmp --exclude /dev --exclude /mnt --exclude /var/cache --exclude /var/tmp --exclude /var/backups --exclude /srv/www-mail/rainloop/v / file:///mnt/hubic/default/ServerBackups/
letsencrypt certonly --webroot -w /srv/letsencrypt -d im.starbeamrainbowlabs.com -d starbeamrainbowlabs.com
sudo apt update && sudo apt full-upgrade
inotifywait --event CLOSE_WRITE --monitor Wikitle.css | xargs -I {} csstidy Wikitle.css Wikitle.min.css --template=highest
gifsicle -O3 -o /tmp/anim.o.gif /tmp/anim.gif
find . -name "*.png" | xargs -I '{}' -P 4 mogrify -format gif '{}'
gifsicle --loopcount=0 --delay 150 -o /tmp/anim.gif *.gif
find . -name "*.svg" | xargs -I {} inkscape -e {}.png {}
mogrify -format jpg *.png
openssl pkcs12 -in sbrl@starbeamrainbowlabs.com.pkcs12 -out sbrl@starbeamrainbowlabs.com.pem -nodes
tr '[:upper:]' '[:lower:]'
find . -name "*.jpeg" | xargs -I '{}' -P 4 mogrify -resize 1024x768 '{}'