aboutsummaryrefslogtreecommitdiff
path: root/system/.bash_aliases
blob: 882840add9cd5ffccf7f7be97d9b710ee1a1fa40 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
alias batstat='upower -i /org/freedesktop/UPower/devices/DisplayDevice'
alias iclean="iclean -nr -nt"
alias :q="exit"
alias grade="cd ./\$(grep -l 'Needs Grading' s*/s*.txt | sort -R | cut -d'/' -f1 | head -1) && for f in *.pdf; do evince \"\$f\" & PID=\$!; done; vim -c \"set tw=79 spell spelllang=nl\" s*.txt && kill \"\$PID\" && cd .."
alias synctop="watch -n1 grep -e Dirty: -e Writeback: /proc/meminfo"
alias iclean="docker run --rm -it --tmpfs /tmp:exec,size=1024k -v ~/.iclean_history:/home/.iclean_history -v ~/.iclean_template:/home/.iclean_template camilstaps/iclean"
alias gcc-6.2='docker run --rm -v "$PWD":/usr/src/app -w /usr/src/app gcc:6.2 gcc'
alias gcc-5.4='docker run --rm -v "$PWD":/usr/src/app -w /usr/src/app gcc:5.4 gcc'
alias gcc-4.9='docker run --rm -v "$PWD":/usr/src/app -w /usr/src/app gcc:4.9 gcc'
alias ghci='/usr/bin/ghci -fhistory-size=1000'
alias tb='nc termbin.com 9999'
alias tbc='(nc termbin.com 9999 | tee /dev/stderr | xsel -ib)'
alias docker-rm-unused-images='docker rmi $(docker images | grep "<none>" | awk '"'"'{print $3}'"'"')'