Public Gists by caffo

Gravatar
Fri Mar 20 14:55:17 -0700 2009
1
2
3
module ActionControllerExtensions
  def self.included(base)
    base::Dispatcher.send :include, DispatcherExtensions
Gravatar
Fri Mar 20 14:54:45 -0700 2009
1
2
3
module ActionControllerExtensions
  def self.included(base)
    base::Dispatcher.send :include, DispatcherExtensions
Gravatar
Fri Mar 20 14:54:17 -0700 2009
1
2
3
require 'activesupport'
require 'dispatcher'
module ActionController
Gravatar
Fri Mar 20 14:53:30 -0700 2009
1
2
3
require 'dispatcher'
module ActionController
  class Dispatcher
Gravatar
Tue Mar 03 17:41:57 -0800 2009
1
2
3
#!/usr/bin/env ruby
 
# The script that give you focus!
Gravatar
Mon Feb 16 20:24:30 -0800 2009
1
2
# sudo
for x in {0..9} {a..z}; do hanna --gems `gem list | cut -f 1 -d "(" | grep ^$x | tr "\n" " "`; done
Gravatar
Sun Aug 24 14:36:32 -0700 2008
1
2
3
Windows could not start because the following file is missing or corrupt:
<windows root>\system32\hal.dll
Please re-install a copy of the above file
Gravatar
Mon Aug 18 11:18:35 -0700 2008
1
2
$ cd vendor/plugins
$ git clone git://github.com/thoughtbot/hoptoad_notifier.git
Gravatar
Mon Aug 18 11:17:26 -0700 2008
1
2
$ script/plugin install git://github.com/thoughtbot/hoptoad_notifier.git
Plugin not found: ["git://github.com/thoughtbot/hoptoad_notifier.git"]
gist: 2959 sake task for syntax checki...
Gravatar
Mon Jul 28 14:47:49 -0700 2008
1
2
3
# sake rails:check_syntax
# based on this rake task: http://moourl.com/s2dnw
# non-copyright (c) 2008 rodrigo franco <caffo@imap.cc>
gist: 1821 simple fortune / twitter bot
Gravatar
Wed Jul 23 10:27:27 -0700 2008
1
2
3
#!/usr/bin/ruby
# fortunebot.rb - simple fortune / twitter bot
# non-copyright (c) 2008 rodrigo franco <caffo@imap.cc>
gist: 456 virtua.com.br bandwidth usa...
Gravatar
Mon Jul 21 16:45:21 -0700 2008
1
2
3
#!/usr/bin/ruby
# consumobot.rb - virtua.com.br bandwidth usage reporter (twitter bot)
# non-copyright (c) 2008 rodrigo franco <caffo@imap.cc>