Skip to content

Instantly share code, notes, and snippets.

@andywirv
Last active November 14, 2016 14:43
Show Gist options
  • Save andywirv/1d47aa24e562b67bee68aa5037b03c33 to your computer and use it in GitHub Desktop.
Save andywirv/1d47aa24e562b67bee68aa5037b03c33 to your computer and use it in GitHub Desktop.
Profile stuff
alias sublime='open -a Sublime\ Text'
alias chrome='open -a Google\ Chrome'
alias established='sudo lsof -i |GREP ESTABLISHED'
alias docker-start="bash --login '/Applications/Docker/Docker Quickstart Terminal.app/Contents/Resources/Scripts/start.sh'"
alias docker-clean='docker rm -v $(docker ps -a -q -f status=exited)'
alias docker-rmi-untagged='docker rmi $(docker images | grep "^<none>" | awk "{print $3}")'
alias ldapsearch="ldapsearch -h domaincontroller_host -b 'DC=Burberry,DC=corp'"
export DOCKER_IP=$(docker-machine ip)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment