Collection of different coding snippets. Java code mostly