Skip to content

Instantly share code, notes, and snippets.

@dariocurr
Last active November 7, 2025 15:34
Show Gist options
  • Select an option

  • Save dariocurr/9d36dc1308f29148be17672319b1ac5f to your computer and use it in GitHub Desktop.

Select an option

Save dariocurr/9d36dc1308f29148be17672319b1ac5f to your computer and use it in GitHub Desktop.
Just some time-saving-time aliases
## linux
alias clr='clear'
alias aptup='sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo apt clean'
alias brewup='brew update && brew upgrade && brew cleanup'
## docker
alias docker-stop='docker stop $(docker ps -a -q)'
alias docker-remove='docker-stop && docker rm $(docker ps -a -q)'
alias docker-downup='docker compose down && docker compose up'
alias docker-remove-untagged-images='docker rmi $(docker images --filter "dangling=true" -q --no-trunc)'
## python
alias py='python'
alias ipy="iptyhon"
alias pyserver='python -m http.server'
alias rufff='ruff format && ruff check --fix'
alias precommit-all='pre-commit install && pre-commit autoupdate && pre-commit run --all-files'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment