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
| gem install mysql -- --with-mysql-config=/opt/local/lib/mysql5/bin/mysql_config |
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
| sudo port install memcached libmemcached | |
| sudo env ARCHFLAGS="-arch i386" gem install memcached -- --with-rlibmemcached-include=/opt/local/include --with-rlibmemcached-lib=/opt/local/lib |
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
| find directory -iname *PATTERN* -exec ls {} \; |
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
| git push origin :branch_to_delete |
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
| grep /pattern/ file | wc -l |
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
| svn status --no-ignore | grep '^\?' | sed 's/^\? //' | |
| svn status --no-ignore | grep '^\?' | sed 's/^\? //' | xargs rm -rf |
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
| mongrel_rails cluster::start -C config/mongrel_cluster.yml -v |
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
| default: -r features/support/env.rb -r features/support/plain.rb -r features/step_definitions features/plain | |
| selenium: -r features/support/env.rb -r features/support/enhanced.rb -r features/step_definitions features/enhanced |
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
| class String | |
| def blank? | |
| self.nil? || self == '' | |
| end | |
| end | |
| plugin 'rspec', :git => 'git://github.com/dchelimsky/rspec.git' | |
| plugin 'rspec-rails', :git => 'git://github.com/dchelimsky/rspec-rails.git' | |
| plugin 'cucumber', :git => 'git://github.com/aslakhellesoy/cucumber.git' | |
| plugin 'exception_notifier', :git => 'git://github.com/rails/exception_notification.git' |
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 'eventmachine' | |
| require 'socket' | |
| module RPCServer | |
| include EM::P::ObjectProtocol | |
| def post_init | |
| @obj = Hash.new | |
| end | |
| def receive_object method |
OlderNewer