I hereby claim:
- I am purp on github.
- I am purp (https://keybase.io/purp) on keybase.
- I have a public key whose fingerprint is C28F 189B 850A 6618 13CE FD57 8210 67C8 ED49 73A1
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'nokogiri' | |
require 'open-uri' | |
require 'uri' | |
class String | |
def titleize | |
humanize.split(' ').map(&:capitalize).join(' ') | |
end |
Arizona Diamondbacks | ari | webcal://mlb.am/tix/diamondbacks_schedule_full | |
---|---|---|---|
Atlanta Braves | atl | webcal://mlb.am/tix/braves_schedule_full | |
Baltimore Orioles | bal | webcal://mlb.am/tix/orioles_schedule_full | |
Boston Red Sox | bos | webcal://mlb.am/tix/redsox_schedule_full | |
Chicago White Sox | cws | webcal://mlb.am/tix/whitesox_schedule_full | |
Chicago Cubs | chc | webcal://mlb.am/tix/cubs_schedule_full | |
Cinncinnati Reds | cin | webcal://mlb.am/tix/reds_schedule_full | |
Cleveland Indians | cle | webcal://mlb.am/tix/indians_schedule_full | |
Colorado Rockies | col | webcal://mlb.am/tix/rockies_schedule_full | |
Detroit Tigers | det | webcal://mlb.am/tix/tigers_schedule_full |
I hereby claim:
To claim this, I am signing this object:
irb(main):002:0> lines = FasterCSV.read('/Users/purp/Desktop/some_random_file.csv'); nil | |
NotImplementedError: Please switch to Ruby 1.9's standard CSV library. It's FasterCSV plus support for Ruby 1.9's m17n encoding engine. | |
from /Users/purp/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/fastercsv-1.5.5/lib/faster_csv.rb:13:in `const_missing' | |
from /Users/purp/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/fastercsv-1.5.5/lib/faster_csv.rb:19:in `method_missing' | |
from (irb):2 | |
from /Users/purp/.rbenv/versions/1.9.3-p194/bin/irb:12:in `<main>' | |
irb(main):003:0> require 'csv' | |
=> true | |
irb(main):004:0> lines = CSV.read('/Users/purp/Desktop/some_random_file.csv'); nil | |
ArgumentError: invalid byte sequence in UTF-8 |
Intended to be loaded at http://bl.ocks.org/3079795
def foo | |
'foo' | |
end | |
def foo_with_bar | |
foo_without_bar + 'bar' | |
end | |
alias foo_without_bar foo | |
alias foo foo_with_bar |
Evan Phoenix Rubinius Hydra branch | |
Ron Evans TicketMaster: A Universal API to Project Management & Tickets | |
Pete Forde The Impossible Project | |
David Stevenson FixtureBuilder | |
Noah Gibbs Getting Rid of Java | |
Aman Gupta perftools.rb | |
John Woodell Dubious | |
Seth Ladd Smart Browsers | |
Pat Nakajima Screw Cucumber! (nah, just playin') | |
Nathan Esquenazi Terminator |
diff --git a/Support/lib/spec/mate.rb b/Support/lib/spec/mate.rb | |
index 6d0ce89..b634303 100644 | |
--- a/Support/lib/spec/mate.rb | |
+++ b/Support/lib/spec/mate.rb | |
@@ -1,18 +1,18 @@ | |
# This is based on Florian Weber's TDDMate | |
require 'rubygems' | |
+# Load spec/autorun | |
ENV['TM_PROJECT_DIRECTORY'] ||= File.dirname(ENV['TM_FILEPATH']) |
# lines 83-96 | |
def run(command) | |
stderr_file = Tempfile.new('cucumber') | |
stderr_file.close | |
in_current_dir do | |
@last_stdout = `#{command} 2> #{stderr_file.path}` | |
mode = Cucumber::RUBY_1_9 ? {:external_encoding=>"UTF-8"} : 'r' | |
IO.popen("#{command} 2> #{stderr_file.path}", mode) do |io| | |
@last_stdout = io.read | |
end |
# cucumber/features/support/env.rb lines 83-96 | |
def run(command) | |
stderr_file = Tempfile.new('cucumber') | |
stderr_file.close | |
in_current_dir do | |
@last_stdout = `#{command} 2> #{stderr_file.path}` | |
mode = Cucumber::RUBY_1_9 ? {:external_encoding=>"UTF-8"} : 'r' | |
IO.popen("#{command} 2> #{stderr_file.path}", mode) do |io| | |
@last_stdout = io.read | |
end |