Skip to content

Instantly share code, notes, and snippets.

@drb
drb / docker.txt
Last active Jan 26, 2017
Docker cheatsheet
View docker.txt
#!/bin/bash
# deletes all containers
docker rm $(docker ps -a -q)
# deletes all images
docker rmi $(docker images -q)
# rebuild everything and restart any changed containers
docker-compose up -d --build
View keybase.md

Keybase proof

I hereby claim:

  • I am drb on github.
  • I am dbullough (https://keybase.io/dbullough) on keybase.
  • I have a public key ASBLdQlsiPqeCBBUN4ZJLnGKRPEwqeDA5QeigsyLSSRcfAo

To claim this, I am signing this object:

@drb
drb / affirmation
Created Aug 12, 2015
MuleSoft Contributor Agreement Acceptance by Dave Bullough
View affirmation
I, Dave Bullough, have read and do accept the MuleSoft Contributor Agreement
at http://www.mulesoft.org/legal/contributor-agreement.html
Accepted on Wed Aug 12 2015 14:08:07 GMT+0100 (BST)
@drb
drb / kuku-cheat
Created May 20, 2015
Kuku Kube Cheat Helper
View kuku-cheat
// run in console - inverts colours
setInterval(function(){var els=document.getElementById('box'),o;els=els.getElementsByTagName('span');o=els[0].style.backgroundColor;for (var i=0;i<els.length;i++){var s=els[i].style.backgroundColor;if (s.toString() !== o.toString()) {els[i].style.backgroundColor='white'}};}, 10);