A collection of my code snippets in Java and Scala