Skip to content

Instantly share code, notes, and snippets.

@justincampbell
Created June 18, 2014 01:43
Show Gist options
  • Save justincampbell/8f57ed144bc6e4ea8ac4 to your computer and use it in GitHub Desktop.
Save justincampbell/8f57ed144bc6e4ea8ac4 to your computer and use it in GitHub Desktop.
prefixes = [
"Code",
"Software"
]
nouns = [
"Artisans",
"Codesmiths",
"Crafters",
"Craftspeople",
"Craftsmanship",
"as Craft"
]
locations = [
"Philadelphia",
"Philly"
]
results = []
prefixes.each do |prefix|
nouns.each do |noun|
locations.each do |location|
results << [prefix, noun, location].join(' ')
results << [location, prefix, noun].join(' ')
end
end
end
results.sort.each { |result| puts result }
Code Artisans Philadelphia
Code Artisans Philly
Code Codesmiths Philadelphia
Code Codesmiths Philly
Code Crafters Philadelphia
Code Crafters Philly
Code Craftsmanship Philadelphia
Code Craftsmanship Philly
Code Craftspeople Philadelphia
Code Craftspeople Philly
Code as Craft Philadelphia
Code as Craft Philly
Philadelphia Code Artisans
Philadelphia Code Codesmiths
Philadelphia Code Crafters
Philadelphia Code Craftsmanship
Philadelphia Code Craftspeople
Philadelphia Code as Craft
Philadelphia Software Artisans
Philadelphia Software Codesmiths
Philadelphia Software Crafters
Philadelphia Software Craftsmanship
Philadelphia Software Craftspeople
Philadelphia Software as Craft
Philly Code Artisans
Philly Code Codesmiths
Philly Code Crafters
Philly Code Craftsmanship
Philly Code Craftspeople
Philly Code as Craft
Philly Software Artisans
Philly Software Codesmiths
Philly Software Crafters
Philly Software Craftsmanship
Philly Software Craftspeople
Philly Software as Craft
Software Artisans Philadelphia
Software Artisans Philly
Software Codesmiths Philadelphia
Software Codesmiths Philly
Software Crafters Philadelphia
Software Crafters Philly
Software Craftsmanship Philadelphia
Software Craftsmanship Philly
Software Craftspeople Philadelphia
Software Craftspeople Philly
Software as Craft Philadelphia
Software as Craft Philly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment