My Recent Pastes (173 and counting)
Pastes by Defiler (173 and counting)
Below are the 15 most recent pasties by Defiler.
September 05, 2007
5:36PM EDT
by Defiler
View all 23 lines
hydra>ruby script/console Loading development environment. >> UploadedGroup.new.kind => "Uploaded"
September 05, 2007
4:21PM EDT
by Defiler
View all 12 lines
578 examples, 8 failures, 3 pending Pending: # snipped due to secret sauce ^C
September 03, 2007
9:58PM EDT
by Defiler
View all 6 lines
>> defined? $1 => nil >> "foo" =~ /(f)/ => 0 >> defined? $1
September 03, 2007
9:57PM EDT
by Defiler
View all 6 lines
>> defined? x && 7 => nil >> x = 5 => 5 >> defined? x && 7
August 28, 2007
5:07PM EDT
by Defiler
View all 13 lines
describe Person do before do @person = Person.new("Fred", "Brooks") end
August 17, 2007
11:06AM EDT
by Defiler
View all 25 lines
# Start/Reuse SSH Agent - restart or re-use an existing agent
SSH_AGENT_CACHE=/tmp/ssh_agent_eval_`whoami`
if [ -s "${SSH_AGENT_CACHE}" ]
then
echo "Reusing existing ssh-agent"
August 14, 2007
3:46PM EDT
by Defiler
View all 7 lines
Regardless, BioShock is a dark and astonishing masterpiece. <snip> This is the really bewildering thing about it: it succeeds so stunningly on three different fronts. Not esoteric ones, either, these are the big challenges developers have been struggling to master for decades: narrative, emergence, a sense of place. If another game did just one of these as well as BioShock, it would immediately qualify as a classic. When a game comes along that does all three, we can only be baffled and thankful.
August 13, 2007
9:54PM EDT
by Defiler
View all 33 lines
def do_channel_open( response ) ch_type = response.read_string @log.debug "CHANNEL_OPEN recieved (#{ch_type})" if @log.debug? handled = false
August 13, 2007
9:53PM EDT
by Defiler
View all 34 lines
def send( payload ) @mutex.synchronize do # force the payload into a string payload = @compressor.compress( payload.to_s )
August 13, 2007
4:06PM EDT
by Defiler
View all 6 lines
module Enumerable def detect_value each { |o| val = yield(o); return val if val } nil end
June 01, 2007
4:17PM EDT
by Defiler
View all 8 lines
class Object def should_equal(other) puts "testing equality of #{self} and #{other}" self end
June 01, 2007
1:50PM EDT
by Defiler
View all 25 lines
class Object def should_equal(other) puts "testing equality of #{self} and #{other}" self end
June 01, 2007
1:45PM EDT
by Defiler
View all 10 lines
check_argcount 1 2 set a:2 pop passed_arg 1 git set_lbl1
June 01, 2007
1:30PM EDT
by Defiler
View all 17 lines
class Object def should_equal(other) puts "testing equality of #{self} and #{other}" self end
