Public Gists by smtlaissezfaire

Gravatar
Mon Nov 02 18:26:35 -0800 2009
1
2
3
>> require 'lib/odb'
=> true
>> Odb.path = "."
Gravatar
Mon Nov 02 18:22:36 -0800 2009
1
2
3
>> a = [1, 2, 3]
=> [1, 2, 3]
>> o = Odb::Object.write(a)
Gravatar
Tue Oct 27 18:34:37 -0700 2009
1
2
3
File.open "f>> File.open "foo", "b"
ArgumentError: illegal access mode b
from (irb):1:in `initialize'
Gravatar
Mon Oct 26 18:34:39 -0700 2009
1
2
3
>> require 'bert'
=> true
>> bignum = 10_000_000_000_000_000_000
Gravatar
Sun Oct 25 15:08:30 -0700 2009
1
2
3
>> File.new("foo", "b")
ArgumentError: illegal access mode b
from (irb):2:in `initialize'
Gravatar
Thu Oct 22 01:40:08 -0700 2009
1
something private
Gravatar
Thu Oct 22 01:37:40 -0700 2009
1
something private
Gravatar
Tue Oct 20 09:01:52 -0700 2009
1
2
3
mysql> use designcause_dev;
Database changed
 
Gravatar
Tue Oct 20 08:47:26 -0700 2009
1
2
3
scott$ mysql --version
mysql Ver 14.14 Distrib 5.1.32, for apple-darwin9.5.0 (i386) using readline 5.1
 
Gravatar
Tue Oct 20 08:46:21 -0700 2009
1
2
3
mysql> show full tables;
ERROR 2006 (HY000): MySQL server has gone away
No connection. Trying to reconnect...
Gravatar
Thu Oct 15 09:18:17 -0700 2009
1
2
3
#!/usr/bin/env ruby
# A small script to import a production gzip'ed dump
 
Gravatar
Wed Sep 23 01:56:03 -0700 2009
1
2
3
  ruby-1.8.6-p383 > Hopcroft::Regex.parse("a|b")
   => #<Hopcroft::Regex::Alternation:0x122698c @expressions=[#<Hopcroft::Regex::Char:0x12240ec @expression="a">, #<Hopcroft::Regex::Char:0x1224a4c @expression="b">]>
  ruby-1.8.6-p383 > Hopcroft::Regex.parse("a|b").to_machine
Gravatar
Sun Sep 06 16:46:17 -0700 2009
1
2
3
diff --git a/spec/spec/runner/formatter/html_formatted-1.8.6.html b/spec/spec/runner/formatter/html_formatted-1.8.6.html
index 03843e3..3a1c382 100644
--- a/spec/spec/runner/formatter/html_formatted-1.8.6.html
Gravatar
Sun Sep 06 16:39:33 -0700 2009
1
2
3
diff --git a/spec/spec/runner/formatter/html_formatted-1.8.6.html b/spec/spec/runner/formatter/html_formatted-1.8.6.html
index 03843e3..3a1c382 100644
--- a/spec/spec/runner/formatter/html_formatted-1.8.6.html
Gravatar
Sun Sep 06 16:39:11 -0700 2009
1
2
3
diff --git a/spec/spec/runner/formatter/html_formatted-1.8.6.html b/spec/spec/runner/formatter/html_formatted-1.8.6.html
index 03843e3..3a1c382 100644
--- a/spec/spec/runner/formatter/html_formatted-1.8.6.html
Gravatar
Sun Sep 06 16:38:07 -0700 2009
1
2
3
diff --git a/spec/spec/runner/formatter/html_formatted-1.8.6.html b/spec/spec/runner/formatter/html_formatted-1.8.6.html
index 03843e3..3a1c382 100644
--- a/spec/spec/runner/formatter/html_formatted-1.8.6.html
Gravatar
Mon Aug 10 09:27:36 -0700 2009
1
2
3
class ApplicationController < BaseApplicationController
  # ...
end
Gravatar
Mon Aug 10 09:27:25 -0700 2009
1
2
3
class BaseApplicationController < ActionController::Base
  # ...
end
Gravatar
Mon Aug 10 09:25:28 -0700 2009
1
2
3
# This is a stub used to help Spork delay the loading of the real ApplicationController
class ::ApplicationController < ActionController::Base
end
Gravatar
Thu Jul 30 15:21:17 -0700 2009
1
2
3
#!/usr/bin/env ruby
 
=begin