Skip to content

Instantly share code, notes, and snippets.

@mcls
Created August 4, 2016 14:17
Show Gist options
  • Save mcls/d32f09cb16a7ffeb82d838b6bdc81539 to your computer and use it in GitHub Desktop.
Save mcls/d32f09cb16a7ffeb82d838b6bdc81539 to your computer and use it in GitHub Desktop.
NameGenerator
# usage: NameGenerator.generate
#
module NameGenerator
def self.generate
[ADVERBS.sample, ADJECTIVES.sample, NAMES.sample].join("_")
end
NAMES = [
"ai",
"analytics",
"arduino",
"astronaut",
"band",
"bard",
"bartender",
"cactus",
"capybara",
"celebration",
"chef",
"cocktail",
"code",
"coffee_machine",
"comedian",
"comet",
"computer",
"cowboy",
"dashboard",
"developer",
"devops",
"diet",
"doctor",
"drummer",
"expert",
"festival",
"fireman",
"fireworks",
"galaxy",
"genius",
"guido",
"guitarist",
"guru",
"hacker",
"harold",
"hippie",
"honeybadger",
"jedi",
"light_show",
"machine",
"mail_man",
"meerkat",
"megalomaniac",
"meme",
"milk_man",
"monk",
"music",
"network",
"panda",
"party",
"party_parrot",
"planet",
"plumber",
"printer",
"prodigy",
"professor",
"pug",
"raspberry_pi",
"researcher",
"robot",
"robot_raptor",
"robot_trex",
"rock",
"rockstar",
"salad",
"sales",
"scientist",
"secret_agent",
"singer",
"skynet",
"space_pants",
"spacecraft",
"specialist",
"stage",
"star",
"superhero",
"surfer",
"wizard",
"yogi",
].freeze
ADVERBS = [
"absurdly",
"agreeably",
"barely",
"blissfully",
"charmingly",
"cheerfully",
"comfortably",
"commonly",
"devotedly",
"distinctly",
"easily",
"genially",
"graciously",
"hilariously",
"hopefully",
"inexplicably",
"ironically",
"jokingly",
"largely",
"loudly",
"lovingly",
"mildly",
"mostly",
"obviously",
"playfully",
"politely",
"possibly",
"questionably",
"quietly",
"rarely",
"regularly",
"ridiculously",
"secretly",
"seemingly",
"seriously",
"severely",
"simply",
"sincerely",
"slightly",
"surprisingly",
"undeniably",
"unknowingly",
"unusually",
"visibly",
]
ADJECTIVES = [
"admiring",
"adoring",
"agitated",
"amazing",
"analytical",
"apathic",
"awesome",
"berserk",
"big",
"chaotic",
"cheeky",
"chilly",
"classy",
"clever",
"cocky",
"compassionate",
"cranky",
"crazy",
"cynical",
"dank",
"dapper",
"dense",
"desperate",
"determined",
"distracted",
"dreamy",
"ecstatic",
"elegant",
"energetic",
"excited",
"fearless",
"focused",
"furious",
"gigantic",
"goofy",
"grave",
"handsome",
"happy",
"hippie",
"hungry",
"hyperactive",
"impatient",
"indifferent",
"ironic",
"jolly",
"jovial",
"kickass",
"magnificent",
"mellow",
"metal",
"modest",
"motivated",
"nauseous",
"nervous",
"nostalgic",
"optimistic",
"overestimated",
"overestimating",
"paranoid",
"pedantic",
"pensive",
"prickly",
"procrastinating",
"punk",
"quick",
"resourceful",
"reverent",
"rocking",
"sarcastic",
"sassy",
"scientific",
"serene",
"sharp",
"sick",
"silly",
"sleepy",
"small",
"spacey",
"speedy",
"stoic",
"stupefied",
"suave",
"suspicious",
"talkative",
"tender",
"thirsty",
"tiny",
"trusting",
"underestimated",
"underestimating",
"vague",
"vegan",
"vegetarian",
"visible",
]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment