From 29483d85a3cdbb82b1416bbac8f29f89ba5c334a Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sun, 4 Dec 2016 10:54:50 +0100 Subject: [PATCH 1/2] Add dfh --- .bash_aliases | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.bash_aliases b/.bash_aliases index e5838ad..5080d86 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -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' From 762e1cc1ab5fabe2f8abf4fb458ba8b96a6cfced Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sun, 4 Dec 2016 10:55:11 +0100 Subject: [PATCH 2/2] Add moar to favourites --- .hh_favorites | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.hh_favorites b/.hh_favorites index 3282976..dc71036 100644 --- a/.hh_favorites +++ b/.hh_favorites @@ -1,5 +1,7 @@ -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