Skip to content

Instantly share code, notes, and snippets.


Renan Borges renanborgez

Block or report user

Report or block renanborgez

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View launch.json
"name": "Jest via npm",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "npm",
"runtimeArgs": ["run-script", "debug:vscode"],
"port": 9229
renanborgez / clear-docker
Created Sep 4, 2019
remove dangling volumes of docker
View clear-docker
# Removing dangling volumes
docker volume rm $(docker volume ls -f dangling=true -q)
renanborgez /
Created Jan 18, 2019 — forked from JeffBelback/
Destroy all Docker Containers and Images
# Stop all containers
docker stop $(docker ps -a -q)
# Delete all containers
docker rm $(docker ps -a -q)
# Delete all images
docker rmi $(docker images -q)
View clear-local-branches.txt
## Delete local braches already merged
git fetch --prune && git branch --merged | egrep -v "(^\*|master|dev)" | xargs git branch -d
## Delete local braches
git fetch --prune && git branch | egrep -v "(^\*|master|dev)" | xargs git branch -d
You can’t perform that action at this time.