Skip to content

Instantly share code, notes, and snippets.

@sau-lanvy
sau-lanvy / introrx.md
Created July 6, 2017 02:36 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@sau-lanvy
sau-lanvy / docker-cleanup-resources.md
Created October 23, 2018 14:47 — forked from bastman/docker-cleanup-resources.md
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm

@sau-lanvy
sau-lanvy / create_branch_from_tag
Created December 18, 2018 05:51 — forked from nickfloyd/create_branch_from_tag
To create a branch from a tag
-Go to the starting point of the project
>> git checkout origin master
-fetch all objects
>> git fetch origin
-Make the branch from the tag
>> git branch new_branch tag_name
-Checkout the branch
>> git checkout new_branch
-Push the branch up
>> git push origin new_branch