Skip to content

Instantly share code, notes, and snippets.

View drm317's full-sized avatar

Daniel Marlow drm317

View GitHub Profile

macOS Developer Environment Setup

Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Editors

Visual Studio Code

@drm317
drm317 / gist:3e2a9ce4ba1288c4fbaab1e534d71133
Last active December 4, 2023 21:42
OpenJDK 11+ on MacOS X

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.

@drm317
drm317 / clean-code-summary.md
Last active August 10, 2018 18:28
Summary of 'Clean Code' by Robert C. Martin
@drm317
drm317 / docker-cleanup-resources.md
Created July 21, 2018 19:30 — 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

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() {

TDD and Refactoring Kata

Classic Soccer Management Game

Estimated Duration: 1 day

Author: Daniel Marlow

Language / Stacks - Any

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

London .NET User Group

Skills Matter, London

@skillsmatter

Monoliths to Microservices. A Journey.

Sam Elamin
16.4.2015

Introduction