Skip to content

Instantly share code, notes, and snippets.

@nateborr
Last active December 20, 2015 13:59
Show Gist options
  • Save nateborr/6143443 to your computer and use it in GitHub Desktop.
Save nateborr/6143443 to your computer and use it in GitHub Desktop.
Custom locale file for the Faker gem to create names where the first name is a Montana city, town, or county, and the last name is based on a General MIDI Level 1 percussion sound.
# config/locales/en-montperc.yml
# Faker::Config.locale = "en-montperc"
en-montperc:
faker:
name:
# First names from: http://en.wikipedia.org/wiki/List_of_cities_and_towns_in_Montana
# $.map($("table.wikitable.sortable.jquery-tablesorter tr td a:first-of-type"), function (v){return v.text;}).join(", ")
first_name: [Alberton, Anaconda, Bainville, Baker, Bearcreek, Beaverhead, Belgrade, Belt, Big Horn, Big Sandy, Big Timber, Billings, Blaine, Boulder, Bozeman, Bridger, Broadus, Broadview, Broadwater, Brockton, Browning, Butte, Carbon, Carter, Cascade, Chester, Chinook, Choteau, Chouteau, Circle, Clyde Park, Colstrip, Columbia Falls, Columbus, Conrad, Culbertson, Custer, Cut Bank, Daniels, Darby, Dawson, Deer Lodge, Denton, Dillon, Dodson, Drummond, Dutton, East Helena, Ekalaka, Ennis, Eureka, Fairfield, Fairview, Fallon, Fergus, Flathead, Flaxville, Forsyth, Fort Benton, Fort Peck, Froid, Fromberg, Gallatin, Garfield, Geraldine, Geyser, Glacier, Glasgow, Glendive, Golden Valley, Granite, Grass Range, Great Falls, Hamilton, Hardin, Harlem, Harlowton, Havre, Helena, Hill, Hingham, Hobson, Hot Springs, Hysham, Ismay, Jefferson, Joliet, Jordan, Judith Basin, Judith Gap, Kalispell, Kevin, Lake, Laurel, Lavina, Lewis and Clark, Lewistown, Libby, Liberty, Lima, Lincoln, Livingston, Lodge Grass, Madison, Malta, Manhattan, McCone, Meagher, Medicine Lake, Melstone, Miles City, Mineral, Missoula, Moore, Musselshell, Nashua, Neihart, Opheim, Outlook, Park, Petroleum, Philipsburg, Phillips, Pinesdale, Plains, Plentywood, Plevna, Polson, Pondera, Poplar, Powder River, Powell, Prairie, Ravalli, Red Lodge, Rexford, Richey, Richland, Ronan, Roosevelt, Rosebud, Roundup, Ryegate, Saco, Sanders, Scobey, Shelby, Sheridan, Sidney, Silver Bow, St. Ignatius, Stanford, Stevensville, Stillwater, Sunburst, Superior, Sweet Grass, Terry, Teton, Thompson Falls, Three Forks, Toole, Townsend, Treasure, Troy, Twin Bridges, Valier, Valley, Virginia City, Walkerville, West Yellowstone, Westby, Wheatland, White Sulphur Springs, Whitefish, Whitehall, Wibaux, Winifred, Winnett, Wolf Point, Yellowstone]
# Last names based on: http://www.midi.org/techspecs/gm1sound.php
last_name: [Acoustic Bass Drum, Acoustic Snare, Agogo, Bass Drum, Bongo, Cabasa, Chinese Cymbal, Claves, Conga, Cowbell, Crash Cymbal, Cuica, Electric Snare, Floor Tom, Hand Clap, Hi Bongo, Hi Conga, Hi Hat, Hi Wood Block, Hi-Hat, Hi-Mid Tom, Long Guiro, Long Whistle, Low-Mid Tom, Maracas, Mute Cuica, Mute Hi Conga, Mute Triangle, Pedal Hi-Hat, Ride Bell, Ride Cymbal, Short Guiro, Short Whistle, Side Stick, Splash Cymbal, Tambourine, Timbale, Tom, Triangle, Vibraslap, Wood Block]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment