A few code snippets from my collection