Created
January 27, 2012 17:34
-
-
Save bschwartz/1689927 to your computer and use it in GitHub Desktop.
How Wistia names its video encoding workers
This file contains 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
module RandomMaker | |
ADJECTIVES = %w(red blue yellow fuschia orange teal smokey the a some greyest lovely hyped | |
another justa speedy quick fast worldly scholarly slow sloth-like understated overestimated | |
leftover worthless optimistic friendly venerable quixotic lowkey shiny glowing hot cold tepid | |
lukewarm fairweather winning elusive secret ancient ruined rare unique extra thebest my-greatest | |
string-like towering confused insulant brave cowardly cycling rolling uncle aunt nostalgic | |
beastly slanted enchanted top-notch grade-a primo grand creepy) | |
NOUNS = %w(cadillac smith carl fish sticks car mechanic smoothie art cabbage screen kiwi yam | |
panther clarinet bear lathe level clap wire plug brain plant orchid speaker key tea chai-latte | |
droplet espesso carrot buddy fiend friend engine tom charlie piano leaf river stream tea-kettle dog-house rocket | |
vessel frigate poem haiku tuna sloth toad eel egg lipid protein time grandfather-clock alarm-clock | |
housewares grapefruit spindle ballpoint-pen magazine horticulture greenhouse hemingway lampshade socket | |
venetian-blind wallpaper doorknob mirror antiques floorboard treasure ruedlinger tower grove coma bubble) | |
def self.make | |
"#{ADJECTIVES[rand(ADJECTIVES.length)]}-#{NOUNS[rand(NOUNS.length)]}" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment