Skip to content

Instantly share code, notes, and snippets.

@silphire
Created July 24, 2017 06:05
Show Gist options
  • Save silphire/70dd83e51b66d5fd7d91649fed489b18 to your computer and use it in GitHub Desktop.
Save silphire/70dd83e51b66d5fd7d91649fed489b18 to your computer and use it in GitHub Desktop.
s = [Array.new(24){rand(256).chr}.join].pack('m').chomp until /^\w+$/ =~ s
puts s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment