Skip to content

Instantly share code, notes, and snippets.

@tanftw
Created July 22, 2018 09:49
Show Gist options
  • Save tanftw/7664af5298844c5deb132cf733a3900a to your computer and use it in GitHub Desktop.
Save tanftw/7664af5298844c5deb132cf733a3900a to your computer and use it in GitHub Desktop.
Useful Bash Aliases
# Homestead Vagrant up
alias vu='cd ~/Homestead && vagrant up'
# Homestead Vagrant SSH
alias vs='cd ~/Homestead && vagrant ssh'
# Ngrok share with site parameter
# usage: share wp.test
share() {
./ngrok http -subdomain devgiga -host-header=rewrite $1:80
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment