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
def run_all_tests | |
# see Rakefile for the definition of the test:all task | |
system( "rake -s test" ) | |
end | |
def run(cmd) | |
puts(cmd) | |
system(cmd) | |
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
!/bin/bash | |
cd /tmp | |
wget http://production.cf.rubygems.org/rubygems/rubygems-1.3.7.tgz | |
tar xzf rubygems-1.3.7.tgz | |
cd rubygems-1.3.7 | |
sudo ruby ./setup.rb |
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
#!/bin/sh | |
COMMAND="magick" | |
for FILE in *.png | |
do | |
echo "Processing $FILE" | |
echo $COMMAND $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
# Add the following lines to .git/hooks/prepare-commit-msg and | |
# ensure it is executable. | |
# Prefix the message with the branch's name e.g. "#STORY-23: " | |
# The reason the branch line is commented is to prevent accidental | |
# commits. | |
BRANCH=`git branch | grep '^*' | sed -e 's/^\* //'` | |
MESSAGE=`cat "$1"` | |
echo "#$BRANCH: $MESSAGE" > "$1" |
NewerOlder