Skip to content

Instantly share code, notes, and snippets.

@strrife
Last active April 11, 2016 19:11
Show Gist options
  • Save strrife/c8170a49fcf2cbe20a06 to your computer and use it in GitHub Desktop.
Save strrife/c8170a49fcf2cbe20a06 to your computer and use it in GitHub Desktop.
<3 Aliases
alias fuck="sudo"
alias gitf="git fetch"
alias gimme="brew install"
alias vhosts="fuck nano /etc/apache2/extra/httpd-vhosts.conf"
alias jspf="jspm i --unlink --force"
alias rserv="brew services restart
alias a2r="sudo apachectl -k restart"
alias dm="docker-machine"
denv(){
eval "$(docker-machine env $1)"
}
dstart(){
docker-machine start $1
}
dcert(){
docker-machine regenerate-cert $1
}
dupd(){
export DOCKER_IP=`docker-machine ip $1`
docker-compose pull
docker-compose build
docker-compose up
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment