Skip to content

Instantly share code, notes, and snippets.

@julesjanssen
Last active August 29, 2015 14:01
Show Gist options
  • Save julesjanssen/e2febbdb94ca96d9c97e to your computer and use it in GitHub Desktop.
Save julesjanssen/e2febbdb94ca96d9c97e to your computer and use it in GitHub Desktop.
createBase64() {
echo -n `cat $1` | base64 | pbcopy
}
alias l='ls -halF'
alias passgen='openssl rand -base64 24 | pbcopy; echo "wachtwoord opgeslagen in klembord"'
alias lesscc='lessc -x style.less > style.css'
alias taile='tail -n 20 /var/log/apache2/error_log'
alias dnsflush='dscacheutil -flushcache; echo "flush!!"'
alias b64convert=createBase64
alias printfirstpages='lpr -o page-ranges="1-1" *.pdf'
alias svndelete='find . -type d -name .svn -exec rm -rf {} \;'
alias todo='grep -R TODO: * | sort'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment