My collection of erlang codes