Skip to content

Instantly share code, notes, and snippets.

@fredkelly
Created November 4, 2015 10:28
Show Gist options
  • Save fredkelly/f4b03cc6af591f13c9c9 to your computer and use it in GitHub Desktop.
Save fredkelly/f4b03cc6af591f13c9c9 to your computer and use it in GitHub Desktop.
"Andreessen Horowitz" => "A16z" etc.
def a16z_your_name(name)
(h, *m, t) = name.gsub(/\s/,'').split(//)
[h, m.size, t].join
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment