Skip to content

Instantly share code, notes, and snippets.

View ezmobius's full-sized avatar

Ezra Zygmuntowicz ezmobius

View GitHub Profile
(master)⚡ % vmc -h ~/projects/B29/new-cli
version # version
help, -h # show usage
aliases # lists current aliases
alias <alias>[=]<command> # create an alias for a command
target [host[:port]] # reports current target or sets the target site
PaaS: The good the bad and the ugly.
VMware will be hosting a technology meetup on Thursday night 11/11, at
the Newberry room, Hilton New Orleans Riverside, 6pm-8pm local time.
Join us for an open discussion where Engine Yard, Heroku and VMware
will share their experience of building a scalable PaaS solution.
What to expect? no slides, lots of beer and exciting debates.
hash : {"internal_ip"=>"192.168.2.42", "node"=>"google.com", "state" => "hot"}
get/set "internal_ip:192.168.2.42,node:foo.com,state:hot"
Hacking Ruby, Hacking the Cloud, Hacking Open Source Communities and Hacking Entrepreneurship, by Ezra Zygmuntowicz
We are at the intersection of a major change in the way people use computers. Just as the personal PC caused a revolution, the move to the cloud is causing another revolution. But this cloud revolution comes with many new challenges and technologies that are very interesting and can do very powerful things.
In this talk I will cover the tools of the trade including but not limited to Redis, EventMachine, AMQP, Virtualization, Chef and the pros and cons of the various clouds available today and the state of cloud api tools, configuration management as well as IaaS and Paas and what the difference between the two is. I've been working on a secret project involving many of these tools and I've built something special that no one has ever seen before. I'd like to unveil this during this talk.
Now tools are one thing and I will do a deep dive into the latest and greatest tools and open source
(master) [1] % rake --trace ~/redis-rb
(in /Users/ez/redis-rb)
** Invoke default (first_time)
** Invoke run (first_time)
** Invoke start (first_time)
** Execute start
[48227] 02 Apr 19:19:46 # Can't chdir to './test/db': No such file or directory
** Invoke test (first_time)
** Execute test
Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
@redis.subscribe('one','two') do |on|
on.subscribe {|klass| puts "listening to #{klass}" }
on.message do |klass, msg|
puts "#{klass} received: #{msg}"
if msg == 'exit'
@redis.unsubscribe
else
handle_message(msg)
end
end
@redis.subscribe('One','Two') do |on|
on.subscribe {|klass| puts "listening to #{klass}" }
on.message {|klass, msg| puts "#{klass} received: #{msg}" }
on.unsubscribe {|klass| puts "see ya, #{klass} }
end
@r.multi do |r|
r.set "key2", "value2"
raise "Some error"
r.set "key3", "value3"
end
g++ -L/Users/ez/rubinius/vm/external_libs/llvm/Release/lib -lpthread -lffi -lm -o vm/vm vm/external_libs/libtommath/libtommath.a vm/external_libs/libgdtoa/libgdtoa.a vm/external_libs/onig/.libs/libonig.a vm/external_libs/libffi/.libs/libffi.a vm/external_libs/libltdl/.libs/libltdl.a vm/external_libs/libev/.libs/libev.a vm/external_libs/udis86/libudis86/.libs/libudis86.a vm/agent.o vm/ar.o vm/arguments.o vm/call_frame.o vm/compiled_file.o vm/config_parser.o vm/dispatch.o vm/environment.o vm/event.o vm/exception.o vm/exception_point.o vm/ffi.o vm/ffi_util.o vm/global_cache.o vm/global_lock.o vm/helpers.o vm/inline_cache.o vm/instructions.o vm/linkedlist.o vm/marshal.o vm/native_libraries.o vm/native_thread.o vm/objectmemory.o vm/ontology.o vm/oop.o vm/primitives.o vm/shared_state.o vm/signal.o vm/stack_variables.o vm/symboltable.o vm/thread_state.o vm/type_info.o vm/virtual.o vm/vm.o vm/vmmethod.o vm/builtin/access_variable.o vm/builtin/alias.o vm/builtin/array.o vm/builtin/autoload.o vm/builtin/bignum.o vm/bu
error_page 405 =200 @405;
location @405 {
root /data/budlight/current/public/;
if (-f $request_filename) {
break;
}
}