Instantly share code, notes, and snippets.


Docker - How to cleanup (unused) resources

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

delete volumes

// see:

$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
import java.util.Random;
public class RouletteWheel {
private boolean bouncing = false;
private int ballNumber = 0;
private long elapsedSpinTime = 0;
private long spinStartTime = 0;
public boolean isBouncing() {
View gist:19d6858dada4caa92342

TDD and Refactoring Kata

Classic Soccer Management Game

Estimated Duration: 1 day

Author: Daniel Marlow

Language / Stacks - Any

View gist:90aeede3bedd9b69b43f
Software Craftmanship 2016 - Mini Project
Roll your own logging framework
Estimated Duration: 1-2 hours
Author: Daniel Marlow
Language(s)/stacks: Any
View gist:f6b79081b73b40f7746c

London .NET User Group

Skills Matter, London


Monoliths to Microservices. A Journey.

Sam Elamin