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 -w | |
# Ruby beautifier, version 2.1, 09/11/2006 | |
# Copyright (c) 2006, P. Lutus | |
# Released under the GPL | |
# To use in TextMate: | |
# Make a command that calls "~/bin/beautify" with | |
# Input: Selected Text or Document | |
# Output: Replace Selected Text |
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 -w | |
# Rename all files in the directory. The new names will be generated from a basename. | |
# | |
# AUTHOR: Daniel Lopes | |
# October 20, 2009 | |
# | |
# USAGE: | |
# rename-files . base_name.jpg #=> base_name1.jpg, base_name2.jpg, etc | |
require "pathname" |
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
[alias] | |
st = status | |
ci = commit | |
co = checkout | |
svnup = svn fetch | |
sup = svn fetch | |
svnci = svn dcommit | |
sci = svn dcommit | |
up = pull --rebase | |
sreb = svn rebase |
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
# SUPER DARING APP TEMPLATE 1.0 | |
# By Peter Cooper | |
# Link to local copy of edge rails | |
inside('vendor') { run 'ln -s ~/dev/rails/rails rails' } | |
# Delete unnecessary files | |
run "rm README" | |
run "rm public/index.html" | |
run "rm public/favicon.ico" |
NewerOlder