Skip to content

Instantly share code, notes, and snippets.

###############################################################################
## Set PATH type things
###############################################################################
# Platform specific path settings
case $OSTYPE in
darwin*)
# export JAVA_HOME=/Library/Java/Home
;;
esac
/usr/local/Cellar/npm/0.1.19/libexec/npm.js:65
, config = Object.create(ini.config)
^
TypeError: Object prototype may only be an Object or null
at Function.create (native)
at Object.<anonymous> (/usr/local/Cellar/npm/0.1.19/libexec/npm.js:65:21)
at Module._compile (module:427:23)
at Module._loadScriptSync (module:437:8)
at Module.loadSync (module:310:10)
at loadModule (module:255:16)
pkgs = `pkgutil --pkgs | grep Java`.split("\n")
pkgs.each do |pkg|
puts `pkgutil --pkg-info #{pkg}`
puts ""
end
require 'rubygems'
require 'mq'
names = STDIN.readlines.collect { |name| name.strip }
names.shift # Lising queues ...\n
names.pop # ...done.
#AMQP.logging = true
class Foo
def bar(arg)
end
def baz(arg=nil)
end
def frobnicate(*arg)
end
def blocky(&block)
end
def hairy(first,second=2,*middle,last)
def foo
puts "holy shit"
"no way"
end
def bar baz=foo
puts baz
end
bar
Building native extensions. This could take a while...
ERROR: Error installing perftools.rb:
ERROR: Failed to build gem native extension.
/Users/djensen/.rvm/rubies/ruby-1.9.2-preview1/bin/ruby extconf.rb
(I'm about to compile google-perftools.. this will definitely take a while)
-- tar zxvf google-perftools-1.4.tar.gz
-- patch -p1 < ../../../patches/perftools.patch
-- patch -p1 < ../../../patches/perftools-notests.patch
-- patch -p1 < ../../../patches/perftools-pprof.patch
module OptimisticLocking
class StaleObjectError < Exception
end
def update
dirty_attributes = self.dirty_attributes
return true if dirty_attributes.empty?
count = repository.update(dirty_attributes, to_query)
if count == 1
return true
pool = ::NB::FiberPool.new(10)
-----------------------------
describe_instances | 2010-03-01 09:10:05 -0800 | 2010-03-01 09:10:08 -0800 | 2.784880
describe_key_pairs | 2010-03-01 09:10:05 -0800 | 2010-03-01 09:10:08 -0800 | 2.932863
describe_addresses | 2010-03-01 09:10:05 -0800 | 2010-03-01 09:10:08 -0800 | 2.936838
describe_regions | 2010-03-01 09:10:05 -0800 | 2010-03-01 09:10:08 -0800 | 2.946348
describe_volumes | 2010-03-01 09:10:05 -0800 | 2010-03-01 09:10:08 -0800 | 3.042942
describe_snapshots | 2010-03-01 09:10:05 -0800 | 2010-03-01 09:10:09 -0800 | 3.597881
describe_security_groups | 2010-03-01 09:10:05 -0800 | 2010-03-01 09:10:09 -0800 | 4.109160
describe_images | 2010-03-01 09:10:05 -0800 | 2010-03-01 09:10:21 -0800 | 16.524366
I, [2010-02-25T20:12:46.175541 #25341] INFO -- : listening on addr=0.0.0.0:8080 fd=3
I, [2010-02-25T20:12:46.177609 #25341] INFO -- : Refreshing Gem list
I, [2010-02-25T20:12:46.314437 #25341] INFO -- : Zbatery EventMachine worker_connections=100
I, [2010-02-25T20:12:46.314572 #25341] INFO -- : EventMachine: epoll=false kqueue=true
sleepy.ru:9: [BUG] Segmentation fault
ruby 1.9.2dev (2009-07-18 trunk 24186) [i386-darwin10.2.0]
-- control frame ----------
c:0021 p:0007 s:0081 b:0081 l:001878 d:000080 LAMBDA sleepy.ru:9
c:0020 p:---- s:0078 b:0078 l:000077 d:000077 FINISH