Skip to content

Instantly share code, notes, and snippets.

@mogox
Created July 8, 2014 05:22
Show Gist options
  • Save mogox/6d94da2d2655c3c4b3e8 to your computer and use it in GitHub Desktop.
Save mogox/6d94da2d2655c3c4b3e8 to your computer and use it in GitHub Desktop.
Generate simple access code using Haddock
# The gem: https://github.com/stephencelis/haddock
#
require 'haddock'
include Haddock
(1..8).each{ p Password.generate.match(/\w+/)[0] }
=>"mud74"
"nondo6"
"auh2_guarani"
"voicing7"
"pernor4"
"aile4"
"doubt10_flet"
"lour6"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment