Skip to content

Instantly share code, notes, and snippets.

💭
Making stuff.

Tom Preston-Werner mojombo

💭
Making stuff.
View GitHub Profile
View README
how to do stuff
totally hotness
View gist:3011
dear gist: are you slow today?
testing
foobar
View logleak.rb
require 'logger'
log = Logger.new(STDOUT)
threads = []
10.times do
threads << Thread.new do
loop do
log.info("foo")
View god-driver.diff
--- driver.rb-orig 2008-06-26 17:06:27.000000000 -0700
+++ driver.rb 2008-06-26 18:22:58.000000000 -0700
@@ -1,47 +1,171 @@
module God
-
- class DriverEvent
- attr_accessor :condition, :at
+ class TimedEvent
+ include Comparable
+
View gist:4775
1) Failure:
test_basic(TestRubyGitAlt)
[./test/test_rubygit_alt.rb:18:in `test_basic'
/Library/Ruby/Gems/1.8/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__'
/Library/Ruby/Gems/1.8/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run']:
<false> is not true.
2) Failure:
test_clone_of_clone(TestRubyGitAlt)
[./test/test_rubygit_alt.rb:27:in `test_clone_of_clone'
View gist:4776
1) Failure:
test_basic(TestRubyGitAlt)
[./test/test_rubygit_alt.rb:18:in `test_basic'
/Library/Ruby/Gems/1.8/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `__send__'
/Library/Ruby/Gems/1.8/gems/mocha-0.5.6/lib/mocha/test_case_adapter.rb:19:in `run']:
<false> is not true.
2) Failure:
test_clone_of_clone(TestRubyGitAlt)
[./test/test_rubygit_alt.rb:27:in `test_clone_of_clone'
View gist:4443
ActionView::TemplateError in Gists/mine
Request
* URL: http://gist.github.com/mine
* Format: text/html
* Parameters: {“action”=>”mine”, “controller”=>”gists”}
* Rails Root: /data/github/releases/20080807031653
Backtrace
View gist:5271
is this faster now?
doesn't seem like it
I wish it was faster
I feel the need
the need for speed!
You can’t perform that action at this time.