Skip to content

Instantly share code, notes, and snippets.

@micheleorsi
Last active September 29, 2015 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save micheleorsi/078215319fc02914b13c to your computer and use it in GitHub Desktop.
Save micheleorsi/078215319fc02914b13c to your computer and use it in GitHub Desktop.
Quick reference for personal needs
# Remove all stopped containers.
docker rm $(docker ps -a -q)
# Remove all untagged images
docker rmi $(docker images | grep "^<none>" | awk "{print $3}")
# node.js
# list first level of global dependencies
npm -g ls --depth=0
# python
# run web server on specific port
python -m SimpleHTTPServer 8000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment