Skip to content

Instantly share code, notes, and snippets.

@lwu
Created November 13, 2013 00:15
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 lwu/7441208 to your computer and use it in GitHub Desktop.
Save lwu/7441208 to your computer and use it in GitHub Desktop.
code poetry 2013
#!/usr/bin/env ruby
require 'rubygems' # gratitude
require 'nokogiri' # arigato
h=Nokogiri::HTML(`curl http://www.biblegateway.com/passage/?search=Psalm+23&version=KJV&interface=print`).css(".text").text.split(/\W/)
%w(Zarvox Princess Cellos).each{|v|`say -v #{v} #{[9,7,9,123,9,42,55,118,104,108,6,7,100,10,95,96,86,76,120,72,106,107,63,32,42].map {|i|h[i]}.join(' ')}`}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment