Public Gists by deepak

Gravatar
Thu Aug 13 20:27:20 -0700 2009
1
2
3
In response to all the responses to:
 
http://twitter.com/rtomayko/status/1155906157
gist: 155736 copy of the gist - nothing ...
Gravatar
Sun Jul 26 05:49:37 -0700 2009
1
2
3
# Monkey-patch for Passenger to use the EventMachine reactor.
# This allows the use of EM timers, EM.system/popen, and other async libraries (amqp, em-http-request, etc) inside a Rails process.
 
gist: 150500 rake task to install ruby
Gravatar
Mon Jul 20 11:43:31 -0700 2009
1
2
3
APTGET = "apt-get install -qqy"
RUBY19 = "ruby-1.9.1-p129"
SRC = "/usr/local/src"
gist: 149878 unextend a module | ruby-ta...
Gravatar
Sun Jul 19 03:25:31 -0700 2009
1
2
3
# http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/183650
# Have you tried #dup?
 
Gravatar
Sun Jul 19 03:19:47 -0700 2009
1
2
3
# Playing with it in irb:
 
>> (class << Widget; self; end).ancestors
Gravatar
Thu Jul 02 20:41:02 -0700 2009
1
2
3
#!/usr/bin/env ruby
 
require "benchmark"
Gravatar
Sat May 23 10:13:21 -0700 2009
1
2
3
require 'rubygems'
require 'eventmachine'
require 'socket'
Gravatar
Wed May 13 09:08:32 -0700 2009
1
2
3
Xzibit = Object clone do(
  dawg = method(what,
    "yo dawg" print.