Instantly share code, notes, and snippets.

View gist:3e2a9ce4ba1288c4fbaab1e534d71133

OpenJDK 11+ on MacOS X

Manually downloading, extracting and configuring the installation of OpenJDK 11+ is a high-maintenance exercise. Particularly if you need to install and switch between multiple versions of the JDK.

The following options for installing OpenJDK 11+ and switching between versions make the job easier..

Install with Jabba

Jabba is a Java version manager inspired by nvm (Node.js) written in Go.


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