This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| (ssh adelcambre@screen_host -o PermitLocalCommand=no \ | |
| ": > .irssi/fnotify ; tail -f .irssi/fnotify " | \ | |
| while read heading message; do \ | |
| growlnotify -t "${heading}" -m "${message}"; \ | |
| done)& |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Host screen_host | |
| Hostname screen_host.domain.com | |
| User adelcambre | |
| LocalCommand ~/bin/growl_irc.sh | |
| PermitLocalCommand yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /load perl | |
| /script load fnotify |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| andy@hiro:...merb/merb-core➤ irb | |
| require>> require 'open-uri' | |
| => true | |
| >> ^D% andy@hiro:...merb/merb-core➤ irb | |
| >> gem 'open-uri' | |
| Gem::LoadError: Could not find RubyGem open-uri (>= 0) | |
| from /Library/Ruby/Site/1.8/rubygems.rb:642:in `report_activate_error' | |
| from /Library/Ruby/Site/1.8/rubygems.rb:144:in `activate' | |
| from /Library/Ruby/Site/1.8/rubygems.rb:49:in `gem' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| andy@hiro:...oss/dm-salesforce[master*]➤ bin/rake | |
| (in /Users/andy/projects/oss/dm-salesforce) | |
| /Users/andy/projects/oss/dm-salesforce/gems/gems/rake-0.8.3/lib/rake/gempackagetask.rb:13:Warning: Gem::manage_gems is deprecated and will be removed on or after March 2009. | |
| rm -r coverage | |
| Running auto_migrate! | |
| - should not raise errors | |
| Running auto_upgrade! | |
| - should not raise errors |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| commit 57bcc45907480d3b1341f4d254e95bd961e479bc | |
| Author: Andy Delcambre <[email protected]> | |
| Date: Fri Dec 19 11:21:04 2008 -0800 | |
| moved #signup to Contact from Account as you are signing up a contact not an account. Refactored to handle newer dm-salesforce | |
| diff --git a/config/dependencies.rb b/config/dependencies.rb | |
| index 0ba7974..a4a158d 100644 | |
| --- a/config/dependencies.rb | |
| +++ b/config/dependencies.rb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require "rubygems" | |
| require "rbench" | |
| RBench.run(500) do | |
| report("memoed") do | |
| Foo.memoed("hello") | |
| end | |
| report("unmemoed") do | |
| Foo.unmemoed("hello") | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby -KU | |
| require "rubygems" | |
| require "dm-core" | |
| DataMapper.setup(:default, 'sqlite3::memory:') | |
| DataMapper.setup(:second, "sqlite3:///#{File.dirname(__FILE__)}/test.db") | |
| class Customer | |
| include DataMapper::Resource | |
| def self.default_repository_name ; :default ; end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| commit 31753b203b5a6807a3b33640ae9d056b330c757c | |
| Author: Andy Delcambre <[email protected]> | |
| Date: Wed Feb 18 16:04:56 2009 -0800 | |
| fix for bound select helper | |
| diff --git a/merb-helpers/lib/merb-helpers/form/builder.rb b/merb-helpers/lib/merb-helpers/form/builder.rb | |
| index 7485b1f..5db93d4 100644 | |
| --- a/merb-helpers/lib/merb-helpers/form/builder.rb | |
| +++ b/merb-helpers/lib/merb-helpers/form/builder.rb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/merb-core/lib/merb-core/bootloader.rb b/merb-core/lib/merb-core/bootloader.rb | |
| index 40037e7..7eb0e0f 100644 | |
| --- a/merb-core/lib/merb-core/bootloader.rb | |
| +++ b/merb-core/lib/merb-core/bootloader.rb | |
| @@ -628,10 +628,12 @@ class Merb::BootLoader::LoadClasses < Merb::BootLoader | |
| if Merb::Config[:fork_for_class_load] && !Merb.testing? | |
| start_transaction | |
| else | |
| - Merb.trap('INT') do | |
| + terminate_action = Proc.new do |