Skip to content

Instantly share code, notes, and snippets.

View ruyrocha's full-sized avatar

Ruy Rocha ruyrocha

  • Anywhere with internet connection.
View GitHub Profile
@ruyrocha
ruyrocha / docker-cleanup-resources.md
Created April 3, 2018 19:00 — 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

Hetzner Online AG http://www.hetzner.de/
SoftLayer http://www.softlayer.com/
UA Servers https://itldc.com/
webexxpurts.com http://webexxpurts.com/
Host Europe http://www.hosteurope.de/
OVH http://www.ovh.co.uk/
HostKey http://www.hostkey.com/
PEER 1 http://www.peer1.com/
3NT UK http://3nt.com/
eukhost.com http://eukhost.com/
@ruyrocha
ruyrocha / osx-10.9-setup.md
Created July 29, 2016 12:37 — forked from kevinelliott/osx-10.9-setup.md
Clean Install – Mac OS X 10.9 Mavericks

Mac OS X 10.9 Mavericks

Custom recipe to get OS X 10.9 Mavericks running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install.

Install Software

The software selected is software that is "tried and true" --- software I need after any fresh install. I often install other software not listed here, but is handled in a case-by-case basis.

Install from App Store

@ruyrocha
ruyrocha / .irbrc
Created February 5, 2014 12:34 — forked from amokan/.irbrc
# Info/code for this file were borrowed from the following places:
# http://bit.ly/174dkWL
# https://gist.github.com/adamcrown/932231
# https://gist.github.com/patmcnally/893833
begin
# ansi colors
ANSI = {}
ANSI[:RESET] = "\e[0m"
@ruyrocha
ruyrocha / rails_admin.pt-BR.yml
Created June 24, 2012 16:42 — forked from krsmurata/rails_admin.pt-BR.yml
Portuguese (pt-BR) translation for RailsAdmin 3.2
pt-BR:
views:
admin:
home:
name: Home
pagination:
previous: "« Anterior"
next: "Próximo »"
truncate: "…"
misc: