my erlang snippets <3