Skip to content

Instantly share code, notes, and snippets.

@cdhunt
Last active November 14, 2016 15:53
Show Gist options
  • Save cdhunt/b620d5bc74c44a1431657abfda1efb2b to your computer and use it in GitHub Desktop.
Save cdhunt/b620d5bc74c44a1431657abfda1efb2b to your computer and use it in GitHub Desktop.
An example of using NameIt for madlibs.
$customData = @{mword = echo money memory music mammoth; dword = echo data drive distance dance dude dog; adverb = echo badly carefully little much worse less more worst least most}
$madlib = @"
If you want to become [noun] literate, here are some key
[noun]s that you should [verb] as quickly as possible:
CD ROM: Stands for compact [dword]... read only
[mword]. This compact disc can hold as many as 600
[noun]s, which is the equivalent of 700 floppy [noun]s.
CYBERSPACE: Stands for the imaginary [noun] that people
enter when they [verb] with each other through computers on
a collection of [noun]s, known as the Inter[noun].
E-Mail: Means [adverb] transmitted [noun].
MODEM: Is the device that allows a [adjective] computer to
transmit [noun]s over a phone [noun].
"@
Invoke-Generate -Template $madlib -CustomData $customData
If you want to become Freedom literate, here are some key
Draws that you should Campaign as quickly as possible:
CD ROM: Stands for compact dog... read only
music. This compact disc can hold as many as 600
Crews, which is the equivalent of 700 floppy Dreams.
CYBERSPACE: Stands for the imaginary Evidence that people
enter when they Meet with each other through computers on
a collection of Fishings, known as the InterRespond.
E-Mail: Means worst transmitted Hide.
MODEM: Is the device that allows a Attractive computer to
transmit Laws over a phone Pie.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment