My Recent Pastes (7 and counting)
Pastes by jacobat (7 and counting)
Below are the 7 most recent pasties by jacobat.
November 04, 2008
3:58AM EDT
by jacobat
View all 14 lines
class Foo attr_reader :foo def initialize @foo = 3 end
April 24, 2008
8:02AM EDT
by jacobat
View all 17 lines
------------------------------------------- Object#instance_variable_get
obj.instance_variable_get(symbol) => obj
------------------------------------------------------------------------
Returns the value of the given instance variable, or nil if the
instance variable is not set. The @ part of the variable name
March 09, 2007
9:04AM EDT
by jacobat
View all 12 lines
email = TMail::Mail.parse(mail) if email.multipart? email.parts.each { |part| if part.content_type == 'text/plain' if part.content_transfer_encoding == 'quoted-printable'
November 26, 2006
5:02PM EDT
by jacobat
View all 20 lines
_rake_does_task_list_need_generating () {
if [ ! -f .rake_tasks ]; then return 0;
else
accurate=$(stat -f%m .rake_tasks)
changed=$(stat -f%m Rakefile)
October 03, 2006
4:31PM EDT
by jacobat
View all 33 lines
## Good backtrace Thread #<Thread:0x8fe760c run> is too old, killing. Tue Oct 03 21:57:28 CEST 2006: Error calling Dispatcher.dispatch #<Mongrel::TimeoutError: Mongrel timed out this thread: max processors #<Thread:0x8fe760c run>> from #<Thread:0x8fe760c run>
September 27, 2006
1:20PM EDT
by jacobat
View all 7 lines
Loading development environment. f >> f = Foo.new => #<Foo:0x8f84bb4 @attributes={"name"=>nil}, @new_record=true> >> f.save => true
September 21, 2006
4:20PM EDT
by jacobat
View all 23 lines
Thread #<Thread:0x8d29d50 sleep> is too old, killing. Thu Sep 21 22:19:23 CEST 2006: Error calling Dispatcher.dispatch #<Sync_m::Err::UnknownLocker: Thread(#<Thread:0x8d29d50 run>) not locked.> /usr/local/lib/ruby/1.8/sync.rb:57:in `Fail' /usr/local/lib/ruby/1.8/sync.rb:63:in `Fail' /usr/local/lib/ruby/1.8/sync.rb:183:in `sync_unlock'
