Created
May 23, 2012 17:09
-
-
Save mscottford/2776419 to your computer and use it in GitHub Desktop.
Generates a random string suitable for a promo code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby -e "puts Array.new(8) {(('A'..'Z').to_a + ('0'..'9').to_a)[Random.rand(0..35)]}.join()" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment