Collection of little, but useful erlang code snippets