mirror of
https://github.com/sbrl/bin.git
synced 2018-01-10 21:33:46 +00:00
Merge hh favourites
This commit is contained in:
commit
61a2a52fb1
2 changed files with 13 additions and 4 deletions
|
@ -18,10 +18,13 @@ alias l='ls -htFl'
|
||||||
alias cp='cp -i'
|
alias cp='cp -i'
|
||||||
alias mv='mv -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'
|
alias mkdir='mkdir -pv'
|
||||||
# make rm tell us about everything it's deleting
|
|
||||||
alias rm='rm -v'
|
alias rm='rm -v'
|
||||||
|
alias rmdir='rmdir -v'
|
||||||
|
|
||||||
|
|
||||||
# Make the permissions tweaking commands give us more information about what they are doing
|
# Make the permissions tweaking commands give us more information about what they are doing
|
||||||
alias chmod='chmod -c'
|
alias chmod='chmod -c'
|
||||||
alias chown='chown -c'
|
alias chown='chown -c'
|
||||||
|
@ -30,6 +33,9 @@ alias chgrp='chgrp -c'
|
||||||
# Make time work properly
|
# Make time work properly
|
||||||
alias time=/usr/bin/time
|
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.
|
# catz: gunzip & display commpressed gz files.
|
||||||
alias catz='gunzip -c'
|
alias catz='gunzip -c'
|
||||||
|
|
||||||
|
|
|
@ -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
|
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/
|
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
|
gifsicle -O3 -o /tmp/anim.o.gif /tmp/anim.gif
|
||||||
find . -name "*.png" | xargs -I '{}' -P 4 mogrify -format gif '{}'
|
find . -name "*.png" | xargs -I '{}' -P 4 mogrify -format gif '{}'
|
||||||
gifsicle --loopcount=0 --delay 150 -o /tmp/anim.gif *.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
|
openssl pkcs12 -in sbrl@starbeamrainbowlabs.com.pkcs12 -out sbrl@starbeamrainbowlabs.com.pem -nodes
|
||||||
tr '[:upper:]' '[:lower:]'
|
tr '[:upper:]' '[:lower:]'
|
||||||
find . -name "*.jpeg" | xargs -I '{}' -P 4 mogrify -resize 1024x768 '{}'
|
find . -name "*.jpeg" | xargs -I '{}' -P 4 mogrify -resize 1024x768 '{}'
|
||||||
|
|
Loading…
Reference in a new issue