This file contains 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
PLUGINS = { | |
'rspec' => 'git://github.com/dchelimsky/rspec.git', | |
'rspec-rails' => 'git://github.com/dchelimsky/rspec-rails.git', | |
'rspec-on-rails-matchers' => 'git://github.com/brandon/rspec-on-rails-matchers.git', | |
'awesomeness' => 'git://github.com/collectiveidea/awesomeness.git', | |
'awesome-backup' => 'git://github.com/collectiveidea/awesome-backup.git', | |
'exception_notification' => 'git://github.com/collectiveidea/exception_notification.git', | |
'action_mailer_optional_tls' => 'git://github.com/collectiveidea/action_mailer_optional_tls.git', | |
'cucumber' => 'git://github.com/aslakhellesoy/cucumber.git', | |
'webrat' => 'git://github.com/brynary/webrat.git', |
This file contains 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
set :scm, :git | |
set :branch, 'master' | |
set :git_enable_submodules, true | |
set :ssh_options, {:forward_agent => true} | |
desc "mod_rails restart" | |
namespace :deploy do | |
task :restart do | |
run "touch #{current_path}/tmp/restart.txt" | |
end |
This file contains 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
# | |
# bash completion support for core Git. | |
# | |
# Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org> | |
# Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/). | |
# Distributed under the GNU General Public License, version 2.0. | |
# | |
# The contained completion routines provide support for completing: | |
# | |
# *) local and remote branch names |
This file contains 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
complete -C ~/.rake_completion -o default rake |
This file contains 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
# Mac | |
1. Install MacPorts | |
2. $ port install git-core | |
3. $ gem install gitjour | |
# Windows: | |
1. Install git: http://code.google.com/p/msysgit/ | |
2. $ gem sources --add http://gems.github.com |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>eHarbor</title> | |
<%= stylesheet_link_tag 'boilerplate', 'main' %> | |
</head> | |
<body> | |
<div id="main"> | |
<header> | |
<h1> |
This file contains 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 'redgreen/autotest' | |
require 'autotest/growl' | |
require 'autotest/fsevent' | |
Autotest.add_hook :initialize do |autotest| | |
%w{.git .svn .hg .DS_Store ._* vendor}.each {|exception| autotest.add_exception(exception) } | |
false | |
end |
This file contains 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
# Bash snippet to open new shells in most recently visited dir. | |
# Useful if you want to open a new terminal tab at the present | |
# tab's location. | |
# | |
# Put this in your .bashrc or whatever. | |
pathed_cd () { | |
if [ "$1" == "" ]; then | |
cd | |
else |
This file contains 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
# My ~/.profile file was getting too messy and unmaintainable, so I | |
# split everything out into separate files and sourced them | |
for file in ~/.profile.d/* | |
do | |
source $file | |
done |
This file contains 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 | |
home = File.expand_path('~') | |
Dir["#{home}/Library/Application Support/TextMate{,/Pristine Copy}/Bundles/*/.git"].each do |bundle| | |
dir = bundle.gsub(/\.git/, '') | |
puts "Updating #{File.basename(dir)}" | |
Dir.chdir(dir) { `git pull` } | |
end |