Skip to content

Instantly share code, notes, and snippets.

@willf
Created August 16, 2019 21:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save willf/b488a4af4e588692ba82bb8326b50df1 to your computer and use it in GitHub Desktop.
Save willf/b488a4af4e588692ba82bb8326b50df1 to your computer and use it in GitHub Desktop.
Let us ride ....
def save_hashes(out_file, data)
CSV.open(out_file, "wb") do |csv|
keys = data.first.keys
csv << keys
data.each do |hash|
csv << hash.values_at(*keys)
end
end
end
SPAMQUOTES = <<~SPAMDOC
God: What are you doing now?
Arthur: Averting our eyes, oh Lord.
God: Well, don’t. It’s just like those miserable psalms, always so depressing.
---------------
French Knight: I unclog my nose in your direction, sons of a window dresser. So, you think you could outclever us french folks with your silly, knees-bent, running-about, advancing behavior? I wave my private parts at your aunties, you cheesy-leather, second-hand, electric donkey bottom biters.
King Arthur: In the name of the Lord, open this door!
French Knight: No chance english bed-wetting types. I burst my pimples at you and call your door-opening request a silly thing; you tiny brained wipers of other peoples’ bottoms.
---------------
King of Swamp Castle: This is supposed to be a happy occasion. Let’s not bicker and argue about who killed who.
---------------
King Arthur: Now stand aside worthy adversary.
Black Knight: ‘Tis but a scratch.
King Arthur: A scratch? Your arm’s off.
Black Knight: No it isn’t.
King Arthur: Well what’s that then?
Black Knight: I’ve had worse.
---------------
God: Every time I try to talk to someone it’s “sorry this” and “forgive me that” and “I’m not worthy”…
---------------
Arthur: On second thought , let’s not go to Camelot. ‘Tis a silly place.
---------------
Arthur: Is there someone else up there we could talk to?
French Soldier: No, now go away before I taunt you a second time.
---------------
Bedevere: And how do you burn witches?
Crowd: With more witches!
Bedevere: No,no,no…And why do witches burn?
Peasant: Because…there made…of…wood?
Bedevere: Precisely, so how do we know if she’s made fo wood?
Peasant: Biuld a bridge out of her!
Bedevere: Ah, but can you also not build a bridge out of stone?
---------------
Galahad: Look, let me face the peril!
Lancelot: No, no, it’s much too perilous!
---------------
Bedevere: What also floats in water?
Peasant 1: Bread.
Peasant 2: Apples.
Peasant 3: Very small rocks.
Peasant 1: Cider.
Peasant 2: Grape gravy.
Peasant 1: Cherries.
Peasant 2: Mum
Peasant 3: Churches, churches.
Peasant 2: Lead, lead.
Arthur: A duck.
---------------
Black Knight: Have at you!
Arthur: You are indeed brave, sir knight, but the fight is mine.
Black Knight: Oh, had enough eh?
Arthur: Look, you stupid bastard. You’ve got no arms left!
Black Knight: Yes I have.
Arthur: Look!
Black Knight: Just a flesh wound!
---------------
Tim: Well he’s got huge sharp, eh, he can leap about, look at the bones!
---------------
Bedevere: What makes you think she’s a witch?
Peasant: Well she turned me into a newt!
Bedevere: A newt?
Peasant: I got better.
Crowd: Burn her anyway!
---------------
Bedevere: And what do you burn apart from witches?
Crowd: More witches!
Bedevere: No,no,no…why do witches burn?
Peasant: Because…there made…of…wood?
Bedevere: Precisely, so how do we know if she’s made fo wood?
Peasant: Biuld a bridge out of her!
Bedevere: Ah, but can you also not build a bridge out of stone?
---------------
French Knight: You don’t frighten us, English pig dogs! Go and boil your bottoms, you sons of a silly person! I blow my nose at you, so-called “Arthur King,” you and all your silly English K-nig-hts.
---------------
French Knight: You don’t frighten us, English pig dogs! Go and boil your bottoms, you sons of a silly person! I blow my nose at you, so-called “Arthur King,” you and all your silly English K-n-i-g-g-i-t-s.
---------------
Cleric: And the Lord spake, saying, “First shalt thou take out the Holy Pin. Then shalt thou count to three, no more–no less. Three shall be the number thou shalt count, and the number of the counting shall be three. Four shalt thou not count, neither count thou two, excepting that thou then proceed to three. Five is right out. Once the number three, being the third number, be reached, then lobbest thou thy Holy Hand Grenade of Antioch towards thy foe, who, being naughty in my sight, shall snuff it.”
Brother Maynard: Amen.
All: Amen.
King Arthur: Right. One…two…five!
Galahad: Three, sir.
King Arthur: Three!
---------------
Arthur: I am your king!
Woman: Well I didn’t vote for you!
---------------
Arthur: This new learning amazes me Sir Bedevere. Explain to me again how sheep’s bladders may be employed to prevent earthquakes.
---------------
French Soldier: I don’t want to talk to you no more, you empty headed animal food trough water! I fart in your general direction! Your mother was a hamster and your father smelt of elderberries!
---------------
Arthur: The Lady of the Lake, her arm clad in the purest shimmering silmite held aloft Excalibur from the bosom of the water, signifying by divine providence that I, Arthur, was to carry Excalibur. That is why I am your king!
Dennis: Listen, strange women lyin’ in ponds distributin’ swords is no basis for a system of government! Supreme executive power derives from a mandate from the masses, not from some farcical aquatic ceremony!
---------------
Knights: We’re Knights of the Round Table. We dance whene’er we’re able. We do routines and chorus scenes With footwork impeccable. We dine well here in Camelot. We eat ham and jam and spam a lot. We’re Knights of the Round Table. Our shows are formidable, But Many times we’re given rhymes That are quite unsingable. We’re opera mad in Camelot. We sing from the diaphragm a lot.
Prisoner: [clap clap clap clap]
Knights: In war we’re tough and able, Quite indefatigable. Between our quests we sequin vests and impersonate Clark Gable. It’s a busy life in Camelot.
Knight: I have to push the pram a lot.
---------------
Knights: We are the knights who say ‘Ni!’
---------------
Dennis: Oh, but you can’t expect to wield supreme executive power just because some watery tart threw a sword at you!
---------------
Bridgekeeper: Stop. What… is your name?
Galahad: Sir Galahad of Camelot.
Bridgekeeper: What… is your quest?
Galahad: I seek the Grail.
Bridgekeeper: What… is your favourite colour?
Galahad: Blue. No, yel…
King Arthur: We have ridden the length and bredth of the land in search of knights who will join me in my court at Camelot. I must speak with your lord and master.
Guard: What, ridden on a horse?
King Arthur: Yes.
Guard: You’re using coconuts!
King Arthur: What?
Guard: You’ve got two empty ‘alves of coconuts and you’re bangin’ em together!
---------------
Old man: I’m not quite dead yet!
---------------
King of Swamp Castle: We live in a bloody swamp. We need all the land we can get.
Prince Herbert: But I don’t like her.
King of Swamp Castle: Don’t like her? What’s wrong with her. She’s beautiful, she’s rich, she’s got huge … tracts of land.
---------------
Knights of Ni: Ni! Ni! Ni! Ni! Ni! Ni!
Arthur: Who are you?
Knight of Ni: We are the Knights who say “Ni”!
Arthur: No! Not the Knights who say “Ni”!
Knight of Ni: The same.
Other Knight of Ni: Who are we?
Knight of Ni: We are the keepers of the sacred words: Ni, Ping, and Nee-womm!
Other Knight of Ni: Nee-womm!
Arthur: (to Bedevere) Those who hear them seldom live to tell the tale!
Knight of Ni: The knights who say “Ni” demand a sacrifice!
Arthur: Knights of Ni, we are but simple travelers who seek the enchanter who lives beyond these woods.
Knights of Ni: Ni! Ni! Ni! Ni! Ni! Ni! Ni! Ni! Ni!
Bedevere: No! Noooo! Aaaugh! No!
Knight of Ni: We shall say “Ni” to you… if you do not appease us.
Arthur: Well what is it you want?
Knight of Ni: We want A SHRUBBERY!
Arthur: A WHAT?
Knights of Ni: Ni! Ni!! Ni! Ni!
Arthur; No! No! Please, please, no more! We will find you a shrubbery.
Knight of Ni: You must return here with a shrubbery or else you will never pass through this wood alive.
Arthur: O Knights of Ni, you are just and fair, and we will return with a shrubbery.
Knight of Ni: One that looks nice.
Arthur: Of course!
Knight of Ni: And not too expensive.
Arthur: Yes!
Knight of Ni: Now…. GO!
---------------
Minstrel (singing): Brave Sir Robin ran away, bravely ran away away. When danger reared his ugly head, he bravely turned his tail and fled. Yes, brave Sir Robin turned about, he turned his tail, he chickened out. Bravely taking to his feet, he beat a very brave retreat. A brave retreat by Sir Robin.
---------------
Tim: Follow. But! Follow only if ye be men of valour, for the entrance to this cave is guarded by a creature so foul, so cruel that no man yet has fought with it and lived! Bones of full fifty men lie strewn about its lair. So, brave knights, if you do doubt your courage or your strength, come no further, for death awaits you all with nasty, big, pointy teeth.
Arthur: What an eccentric performance.
---------------
God: What are you doing now?
Arthur: Averting our eyes, oh Lord.
God: Well, don’t. It’s just like those miserable psalms, always so depressing.
---------------
French Knight: I unclog my nose in your direction, sons of a window dresser. So, you think you could outclever us french folks with your silly, knees-bent, running-about, advancing behavior? I wave my private parts at your aunties, you cheesy-leather, second-hand, electric donkey bottom biters.
King Arthur: In the name of the Lord, open this door!
French Knight: No chance english bed-wetting types. I burst my pimples at you and call your door-opening request a silly thing; you tiny brained wipers of other peoples’ bottoms.
---------------
King of Swamp Castle: This is supposed to be a happy occasion. Let’s not bicker and argue about who killed who.
---------------
King Arthur: Now stand aside worthy adversary.
Black Knight: ‘Tis but a scratch.
King Arthur: A scratch? Your arm’s off.
Black Knight: No it isn’t.
King Arthur: Well what’s that then?
Black Knight: I’ve had worse.
---------------
God: Every time I try to talk to someone it’s “sorry this” and “forgive me that” and “I’m not worthy”…
---------------
Arthur: On second thought , let’s not go to Camelot. ‘Tis a silly place.
---------------
Arthur: Is there someone else up there we could talk to?
French Soldier: No, now go away before I taunt you a second time.
---------------
Bedevere: And how do you burn witches?
Crowd: With more witches!
Bedevere: No,no,no…And why do witches burn?
Peasant: Because…there made…of…wood?
Bedevere: Precisely, so how do we know if she’s made fo wood?
Peasant: Biuld a bridge out of her!
Bedevere: Ah, but can you also not build a bridge out of stone?
SPAMDOC
def joke
puts SPAMQUOTES.split('---------------').sample.strip
end
print "Let us ride..."
sleep 0.50
puts "to Spamelot!"
Verbosity.level = 2 # gimme some noise
joke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment