My Recent Pastes (10 and counting)

All Pasties (over 10 and counting)

Below are summaries of the 10 most recent pasties by Christopher Shea.

June 25, 2008
5:31PM EDT
by Christopher Shea

1
2
3
4
5
require 'rubygems'
require 'sinatra'
require 'active_record'
require 'json'

June 02, 2008
12:19AM EDT
by Christopher Shea

1
2
3
4
5
# Ruby Quiz #164 - Price Ranges

# The PriceRange class represents both the desired price range of the
# shopper and the price ranges of the companies.
# 

May 11, 2008
1:15PM EDT
by Christopher Shea

1
2
3
4
5
#!/usr/bin/env ruby -wKU

# A simple implementation of a Turing machine.
class TuringMachine
  

May 11, 2008
3:16AM EDT
by Christopher Shea

1
2
3
4
5
mark_start a mark_start a L
mark_start b mark_start b L
mark_start c mark_start c L
mark_start d mark_start d L
mark_start e mark_start e L

April 22, 2008
10:49PM EDT
by Christopher Shea

1
2
3
4
5
# Rubinius alone succeeds where others fail.

class String
  alias old_hash hash
  def hash

April 22, 2008
10:48PM EDT
by Christopher Shea

1
2
3
4
5
# Rubinius alone succeeds where others fail.

class String
  alias old_hash hash
  def hash

April 08, 2008
10:50PM EDT
by Christopher Shea

1
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAxhEQLHrrU92XCgLXShvvUD5sUSpSufpfBWE9qrGWLfhSO291dAtjgHacEbLWBYVlTRsn76sYRAjLRBFxea333+QvcT6zPNAsL2P+Eqcp215o2AxR0i49GPu9UUBbY1xbAJoB8QF3OJf/oNJqJGR8z4V/kowcH3OdF1051owf/oCI3cKXaWAoiUNQcC/TdPgApVFCtJnKYZH2r6YPruO7SQlZmR0PeNAQ2Ker8eFEavA71nGvdICpR7vd+QiRg8CMwVCIMUSDajIZZWuTMx9GyCnoI9DvyaVe0XGjTBCUMGPyv6Sd9xJIsG6yswesREIF8K/CxpGD1NfFyuZ6EOQmKQ== cms@mvb.local

April 08, 2008
4:28PM EDT
by Christopher Shea

1
2
3
4
5
diff --git a/spec/ruby/1.8/library/singleton/load_spec.rb b/spec/ruby/1.8/library/singleton/load_spec.rb
index 486d3a6..18d303d 100644
--- a/spec/ruby/1.8/library/singleton/load_spec.rb
+++ b/spec/ruby/1.8/library/singleton/load_spec.rb
@@ -26,4 +26,14 @@ describe "Singleton._load" do

April 08, 2008
3:46PM EDT
by Christopher Shea

1
2
3
4
5
diff --git a/spec/ruby/1.8/core/marshal/fixtures/marshal_data.rb b/spec/ruby/1.8/core/marshal/fixtures/marshal_data.rb
index d0a9e0b..f427f75 100644
--- a/spec/ruby/1.8/core/marshal/fixtures/marshal_data.rb
+++ b/spec/ruby/1.8/core/marshal/fixtures/marshal_data.rb
@@ -234,3 +234,7 @@ module MarshalSpec

April 08, 2008
12:55PM EDT
by Christopher Shea

1
2
3
4
5
require 'singleton'
require 'test/unit'

if RUBY_PLATFORM =~ /java/
  require 'jruby'