Skip to content

Instantly share code, notes, and snippets.

@nanduzira
Created February 6, 2019 06:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nanduzira/a588211dc995e800df36aa66ef048ad8 to your computer and use it in GitHub Desktop.
Save nanduzira/a588211dc995e800df36aa66ef048ad8 to your computer and use it in GitHub Desktop.
if [ $UID -ne 0 ]; then
alias update='sudo apt-get update'
alias upgrade='sudo apt-get upgrade'
fi
alias sqlarchitect='function _blah(){ java -jar ~/Downloads/architect-1.0.8/architect.jar $1 & };_blah'
alias '.'='function _cdandls(){ cd $1 ; ls ; };_cdandls'
alias '..'='cd .. && l'
alias iping='ifconfig | grep "inet.*Mask:255.255.255.0" && ping 8.8.8.8'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment