Skip to content

Instantly share code, notes, and snippets.

@joncombe
Last active December 18, 2025 03:14
Show Gist options
  • Select an option

  • Save joncombe/94b099d545a18cb970f8 to your computer and use it in GitHub Desktop.

Select an option

Save joncombe/94b099d545a18cb970f8 to your computer and use it in GitHub Desktop.
Personal .bash_aliases file
# get latest .bash_aliases file (you will need to logout and log back in to use it)
updateba() {
cd ~
rm .bash_aliases
wget https://gist.githubusercontent.com/joncombe/94b099d545a18cb970f8/raw/.bash_aliases --no-cache
}
# docker
alias dcu='docker compose up'
alias dcd='docker compose down'
# git
alias gitpa='for i in $(find . -name ".git" -type d); do ( echo; echo $i; cd $i/..; git pull; ); done'
alias gitsa='for i in $(find . -name ".git" -type d); do ( echo; echo $i; cd $i/..; git status; ); done'
# remove once salebox v1 upgraded
alias ngs='ng serve --host 0.0.0.0 --port 8001'
alias ngsp='ng serve --host 0.0.0.0 --disable-host-check --live-reload-client http://0.0.0.0:8001 --port 8001 --proxy-config proxy.conf.json'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment