Also about crediting, I don't deserve the credit for these snippets. I just compiled them from https://github.com/carlosgaldino/elixir-snippets with some modifications.