Skip to content

Instantly share code, notes, and snippets.

@KamilLelonek
Last active April 3, 2018 11:54
Show Gist options
  • Save KamilLelonek/6007eb4ef42821e11b78284f8bee1dd4 to your computer and use it in GitHub Desktop.
Save KamilLelonek/6007eb4ef42821e11b78284f8bee1dd4 to your computer and use it in GitHub Desktop.
defp duplicate_zeros(count) do
"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"
|> String.first()
|> String.duplicate(count)
en
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment