Skip to content

Instantly share code, notes, and snippets.

@awwaiid
Last active December 24, 2015 06:09
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save awwaiid/6754721 to your computer and use it in GitHub Desktop.
Save awwaiid/6754721 to your computer and use it in GitHub Desktop.
Everyone adds a line, one at a time!
#!/usr/bin/env ruby
if ARGV == ['who', 'is', 'this?']
puts "THIS IS SPARTA!!!"
end
puts (words = File.read('/usr/share/dict/words')).length
good_words = words.split.select {|w| w.size > 6}
puts good_words.sample(3).join(' ')
Thread.new{ STDERR.<< ", \n A PLAY IN 3 PARTS.\n\n============ PAGE " }
puts good_words.length
puts File.read(__FILE__).split.detect{|_| _ =~ /SPARTA/}
puts good_words.select{|w| w == w.reverse}
words.gsub!(/[aeiu]/, 'y')
words.gsub!(/y/, %w(a e i o u).sample)
puts words.split.sample(10).map {|britify| "Ye olde #{britify.gsub(/o/,'ou')}"}.join(" ")
good_words.sample[0].tap {|x| puts good_words.select {|w| w[0] == x}.sample(3).join(' and ') }
words = words.split.reject { |w| w == 'taint' }.shuffle.join " "
words.split.each { |word| (puts word) || self.send(word) if self.respond_to?(word) && method(word).arity == 0 }
938587
competitors handler anthropoid
76638
,
A PLAY IN 3 PARTS.
============ PAGE SPARTA!!!"
deified
Ye olde achouad Ye olde coumpatatour Ye olde anflact Ye olde Javanasa's Ye olde battlashap's Ye olde cournat's Ye olde flaka Ye olde jangla's Ye olde sanatara Ye olde balls
releases and reminiscing and regenerating
class
tap
./hive.rb:17:in `tap': no block given (LocalJumpError)
from ./hive.rb:17:in `block in <main>'
from ./hive.rb:17:in `each'
from ./hive.rb:17:in `<main>'
awwaiid@totoro:~/dcamp$ when-changed hive.rb ./hive.rb
When 'hive.rb' changes, run './hive.rb'
Got modification in 'hive.rb'
Got modification in 'hive.rb'
THIS IS SPARTA!!!
Got modification in 'hive.rb'
Got modification in 'hive.rb'
938587
Got modification in 'hive.rb'
938587
./hive.rb:6:in `<main>': private method `select' called for #<String:0x00000002579520> (NoMethodError)
Got modification in 'hive.rb'
938587
Got modification in 'hive.rb'
938587
smoothness's
nourishing
attractions
Got modification in 'hive.rb'
938587
sinner's determinism lunchrooms
Got modification in 'hive.rb'
938587
pediatrist atmosphere's biology's
76638
Got modification in 'hive.rb'
938587
forgather pekoe's whoopee
76638
./hive.rb:9:in `<main>': undefined method `detect' for #<String:0x0000000290ee88> (NoMethodError)
Got modification in 'hive.rb'
938587
coloratura number's aphasia's
76638
SPARTA!!!"
Got modification in 'hive.rb'
938587
Rushdie's enticement's blanched
76638
SPARTA!!!"
deified
Got modification in 'hive.rb'
938587
cookbook parenthesizes sniffle
76638
,
A PLAY IN 3 PARTS.
============ PAGE SPARTA!!!"
deified
Got modification in 'hive.rb'
938587
outdoor mimetic latticed
76638
,
A PLAY IN 3 PARTS.
============ PAGE SPARTA!!!"
deified
Ye olde uphould Ye olde innoucently Ye olde admissiouns Ye olde tourque's Ye olde ouverrating Ye olde yippee Ye olde croussbreeding Ye olde souftwououd's Ye olde soume Ye olde gouing's
Got modification in 'hive.rb'
938587
flyleaves Taliban's synch's
76638
,
A PLAY IN 3 PARTS.
============ PAGE SPARTA!!!"
deified
Ye olde ouinked Ye olde dinkier Ye olde tapestry Ye olde vents Ye olde linkup's Ye olde houneymououned Ye olde drizzlier Ye olde Sensurrouund's Ye olde Sculley's Ye olde Troundheim
./hive.rb:13:in `block in <main>': undefined method `call' for main:Object (NoMethodError)
from ./hive.rb:13:in `each'
from ./hive.rb:13:in `<main>'
Got modification in 'hive.rb'
938587
revenge Corvette shrimps
76638
,
A PLAY IN 3 PARTS.
============ PAGE SPARTA!!!"
deified
Ye olde beverage Ye olde warlike Ye olde anglewourm's Ye olde flickered Ye olde hind's Ye olde cloutting Ye olde trading Ye olde Daryl Ye olde distinctiveness Ye olde Amalia's
main./hive.rb:13:in `extend': wrong number of arguments (0 for 1+) (ArgumentError)
from ./hive.rb:13:in `block in <main>'
from ./hive.rb:13:in `each'
from ./hive.rb:13:in `<main>'
Got modification in 'hive.rb'
sh: 1: ./hive.rb: Text file busy
Got modification in 'hive.rb'
938587
disciplinary catalogued nationalities
76638
,
A PLAY IN 3 PARTS.
============ PAGE SPARTA!!!"
deified
Ye olde recougnizer Ye olde stroukes Ye olde scabbier Ye olde blushers Ye olde idiout Ye olde cououkbououk's Ye olde crouaked Ye olde stoucky Ye olde couaster Ye olde wardroube
./hive.rb:13:in `taint': can't modify frozen Object (RuntimeError)
from ./hive.rb:13:in `block in <main>'
from ./hive.rb:13:in `each'
from ./hive.rb:13:in `<main>'
Got modification in 'hive.rb'
938587
Taliesin Rockne's Merrimack's
76638
,
A PLAY IN 3 PARTS.
============ PAGE SPARTA!!!"
deified
Ye olde awls Ye olde mescaline Ye olde douleful Ye olde Jess Ye olde multipurpouse Ye olde Kloundike's Ye olde rouughhouuse's Ye olde amouurs Ye olde regularizes Ye olde stratouspheres
class
clone
freeze
hash
inspect
taint
./hive.rb:13:in `taint': can't modify frozen Object (RuntimeError)
from ./hive.rb:13:in `block in <main>'
from ./hive.rb:13:in `each'
from ./hive.rb:13:in `<main>'
dGot modification in 'hive.rb'
938587
pellucid volumes ointments
76638
,
A PLAY IN 3 PARTS.
============ PAGE SPARTA!!!"
deified
Ye olde rheoustats Ye olde grandchild Ye olde mulch's Ye olde pouwerhouuses Ye olde chatterboux Ye olde scouundrel Ye olde EverReady's Ye olde courrective Ye olde pidgins Ye olde Waterfourd
energetically
class
clone
freeze
hash
inspect
taint
./hive.rb:14:in `taint': can't modify frozen Object (RuntimeError)
from ./hive.rb:14:in `block in <main>'
from ./hive.rb:14:in `each'
from ./hive.rb:14:in `<main>'
Got modification in 'hive.rb'
938587
complexities balustrade markers
76638
,
A PLAY IN 3 PARTS.
============ PAGE SPARTA!!!"
deified
Ye olde freethinkers Ye olde calumnies Ye olde falsely Ye olde chouristers Ye olde coulounist's Ye olde pivouting Ye olde sounnets Ye olde proup's Ye olde poulitician's Ye olde buttounhouled
./hive.rb:13:in `<main>': undefined method `first' for "nationalist":String (NoMethodError)
Got modification in 'hive.rb'
938587
Gaziantep assisting dressing's
76638
,
A PLAY IN 3 PARTS.
============ PAGE SPARTA!!!"
deified
Ye olde Mackenzie Ye olde wourkdays Ye olde proutester Ye olde slyer Ye olde counserving Ye olde grain's Ye olde carver's Ye olde endourse Ye olde douffed Ye olde bestirs
i
class
clone
freeze
hash
inspect
taint
./hive.rb:14:in `taint': can't modify frozen Object (RuntimeError)
from ./hive.rb:14:in `block in <main>'
from ./hive.rb:14:in `each'
from ./hive.rb:14:in `<main>'
Got modification in 'hive.rb'
938587
stamina's masticated taste's
76638
,
A PLAY IN 3 PARTS.
============ PAGE SPARTA!!!"
deified
Ye olde arduouusly Ye olde gunfight Ye olde discouncerts Ye olde requiem Ye olde Kannada Ye olde Diounne Ye olde gouldfinch Ye olde angelically Ye olde Rousie Ye olde wourkingman
purchaser's and poltroon and psychotherapist
class
clone
freeze
hash
inspect
taint
./hive.rb:14:in `taint': can't modify frozen Object (RuntimeError)
from ./hive.rb:14:in `block in <main>'
from ./hive.rb:14:in `each'
from ./hive.rb:14:in `<main>'
Got modification in 'hive.rb'
938587
fungicide midnight vegetated
76638
,
A PLAY IN 3 PARTS.
============ PAGE SPARTA!!!"
deified
Ye olde underside's Ye olde spouuse Ye olde firmaments Ye olde louuvered Ye olde Indus Ye olde bellies Ye olde souirée Ye olde prougrammer's Ye olde Vivienne's Ye olde thourium's
landlubber's and ludicrously and librettists
./hive.rb:14:in `<main>': undefined method `reject!' for #<String:0x00000001d25d10> (NoMethodError)
Got modification in 'hive.rb'
938587
aldermen miraculously Basseterre
76638
,
A PLAY IN 3 PARTS.
============ PAGE SPARTA!!!"
deified
Ye olde suppliers Ye olde creamers Ye olde Masoun Ye olde proustheses Ye olde archetypal Ye olde await Ye olde bismuth's Ye olde amaranths Ye olde assemblywouman's Ye olde captour's
intermingle and induced and instituted
class
clone
freeze
hash
inspect
taint
./hive.rb:15:in `taint': can't modify frozen Object (RuntimeError)
from ./hive.rb:15:in `block in <main>'
from ./hive.rb:15:in `each'
from ./hive.rb:15:in `<main>'
Got modification in 'hive.rb'
938587
scenery libelers distance
76638
,
A PLAY IN 3 PARTS.
============ PAGE SPARTA!!!"
deified
Ye olde bibles Ye olde Hesse Ye olde Cambridge Ye olde instal Ye olde categouries Ye olde bambouou's Ye olde wroungheadedness's Ye olde houkier Ye olde greenback's Ye olde tououth
gizzards and gynecology's and gargling
class
clone
freeze
hash
inspect
tap
./hive.rb:15:in `tap': no block given (LocalJumpError)
from ./hive.rb:15:in `block in <main>'
from ./hive.rb:15:in `each'
from ./hive.rb:15:in `<main>'
Got modification in 'hive.rb'
938587
Christa auditoriums scorches
76638
,
A PLAY IN 3 PARTS.
============ PAGE SPARTA!!!"
deified
Ye olde Linus's Ye olde chickpeas Ye olde usher's Ye olde misougynist's Ye olde acquaintances Ye olde Disneyland Ye olde alternatour Ye olde demounic Ye olde interne's Ye olde proupourtiounately
treadled and tablespoon and textual
inspect
clone
tap
./hive.rb:15:in `tap': no block given (LocalJumpError)
from ./hive.rb:15:in `block in <main>'
from ./hive.rb:15:in `each'
from ./hive.rb:15:in `<main>'
Got modification in 'hive.rb'
sh: 1: ./hive.rb: Text file busy
Got modification in 'hive.rb'
938587
hindrances interdependence reclaims
76638
,
A PLAY IN 3 PARTS.
============ PAGE SPARTA!!!"
deified
Ye olde Jyyny Ye olde cyllyngs Ye olde oux Ye olde byllfyghtyr Ye olde Synky Ye olde physyoulougyst's Ye olde Mytfourd Ye olde foug Ye olde thournyyr Ye olde wyyrybly
indefinite and inoculates and idiomatically
Got modification in 'hive.rb'
938587
competitors handler anthropoid
76638
,
A PLAY IN 3 PARTS.
============ PAGE SPARTA!!!"
deified
Ye olde achouad Ye olde coumpatatour Ye olde anflact Ye olde Javanasa's Ye olde battlashap's Ye olde cournat's Ye olde flaka Ye olde jangla's Ye olde sanatara Ye olde balls
releases and reminiscing and regenerating
class
tap
./hive.rb:17:in `tap': no block given (LocalJumpError)
from ./hive.rb:17:in `block in <main>'
from ./hive.rb:17:in `each'
from ./hive.rb:17:in `<main>'
@ambethia
Copy link

Ye olde Battlashap!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment