My Recent Pastes (33 and counting)
Pastes by Catfish (33 and counting)
Below are the 15 most recent pasties by Catfish.
November 29, 2007
11:51AM EDT
by Catfish
View all 31 lines
Thread 2 (process 5628 thread 0x6a07): #0 0x90037b57 in mach_wait_until () #1 0x9003799e in nanosleep () #2 0x900377d9 in sleep () #3 0x947c62bd in -[ABMetaDataController lockInfo] ()
November 29, 2007
9:39AM EDT
by Catfish
View all 306 lines
Process: TextMate [69588] Path: /Applications/TextMate.app/Contents/MacOS/TextMate Identifier: com.macromates.textmate Version: 1.5.7 (1436) Code Type: X86 (Native)
November 26, 2007
1:28PM EDT
by Catfish
View all 6 lines
id mockNSBundle = [OCMockObject mockForClass:objc_getMetaClass("NSBundle")];
[[[mockNSBundle expect] andReturn:mockBundle] mainBundle];
[NSBundle mainBundle];
March 06, 2007
12:19PM EDT
by Catfish
owner = "jon\\'s" # So the string is jon\'s - the backslash should really be there, because this is going to be inserted into a javascript string "my G5 is fast".sub('my', owner) # I would expect to get "jon\'s G5 is fast" # I actually get "jon G5 is fasts G5 is fast"
March 05, 2007
7:52AM EDT
by Catfish
View all 9 lines
class SomeController < ActionController before_filter :setup_stuff protected
February 23, 2007
7:14AM EDT
by Catfish
SELECT photos.* FROM photos, tags, taggings LEFT OUTER JOIN moderations m ON photos.id = m.moderatable_item_id AND m.moderatable_item_type = 'Photo' WHERE photos.id = taggings.taggable_id AND taggings.taggable_type = 'Photo' AND taggings.tag_id = tags.id AND (tags.name='kittens') AND m.state='accepted' GROUP BY photos.id ORDER BY created_at DESC LIMIT 5
February 23, 2007
5:37AM EDT
by Catfish
require 'builder' require 'rake' Builder::XmlMarkup.new.link('google.com')
February 21, 2007
12:53PM EDT
by Catfish
View all 9 lines
>> a = Account.new(:login => 'j3e', :password => 'asdfgh', :password_confirmation => 'asdfgh', :email => 'xxxxx@steelsi.com', :client_id => 6); a.save; Account.find_by_id(nil) SQL (0.000140) BEGIN Client Load (0.000283) SELECT * FROM clients WHERE (clients.id = 6) Account Load (0.000238) SELECT * FROM accounts WHERE (LOWER(accounts.login) = 'j3e') LIMIT 1 Account Load (0.000204) SELECT * FROM accounts WHERE (LOWER(accounts.email) = 'xxxxx@steelsi.com') LIMIT 1
February 21, 2007
12:18PM EDT
by Catfish
View all 18 lines
>> multipart = <<MULTIPART Content-type: multipart/form-data, boundary=AaB03x --AaB03x content-disposition: form-data; name="field1"
February 21, 2007
9:53AM EDT
by Catfish
View all 15 lines
Parent :has_many :children, :dependent => :destroy Parent.destroy_all #=> All parents are destroyed, along with all their children. Children's dependencies are also handled properly ##
August 08, 2006
8:44AM EDT
by Catfish
View all 15 lines
## doesn't work loop do ImportR.run rescue Exception => e puts "Failed with error : #{e.inspect}"
August 08, 2006
8:36AM EDT
by Catfish
loop do ImportR.run rescue Exception => e puts "Failed with error : #{e.inspect}" end
August 07, 2006
4:17AM EDT
by Catfish
View all 8 lines
Aug 7 10:14:40 s15210971 qmail: 1154942080.502106 new msg 251664054 Aug 7 10:14:40 s15210971 qmail: 1154942080.502518 info msg 251664054: bytes 141632 from <info@xyz.com> qp 9528 uid 2020 Aug 7 10:14:40 s15210971 qmail: 1154942080.526200 starting delivery 471: msg 251664054 to local blah@mydomain Aug 7 10:14:40 s15210971 qmail: 1154942080.526702 status: local 1/10 remote 0/20 Aug 7 10:14:40 s15210971 qmail: 1154942080.527033 delivery 471: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
August 04, 2006
8:49AM EDT
by Catfish
ATSUStyle emptyStyle;
ATSUCreateStyle (&emptyStyle);
verify_noerr( ATSUSetRunStyle(layout,emptyStyle,kATSUFromTextBeginning, kATSUToTextEnd));
ATSUDisposeStyle(emptyStyle);
August 04, 2006
8:43AM EDT
by Catfish
View all 8 lines
Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0xaaaaaab0 #0 0x907bbdb8 in CFRelease () #1 0x902b553c in LLCStyleInfoClear () #2 0x902a15a4 in LLCFreeGlyphRecs ()
