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 | |
# Configures the git author to a list of developers when pair programming | |
# | |
# Usage: pair lm bh (Sets the author to 'Luke Melia and Bryan Helmkamp') | |
# pair (Unsets the author so the git global config takes effect) | |
# | |
# Author: Bryan Helmkamp (http://brynary.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
#!/bin/bash | |
FULLPATH=`cd $(dirname $0); pwd` | |
echo $FULLPATH >&2 | |
PROJECT=`echo $FULLPATH | awk -F/ '{print $(NF-3)}'` | |
STATUS=`echo $0 | awk -F- '{print $NF == "worked" ? "pass" : ($NF == "reset" ? "building" : "fail")}'` | |
PW=`cat $FULLPATH/../../../../credentials` | |
curl -u $PW -d"author=$AUTHOR" -- http://ci.domain.com/dashboard/build/$PROJECT/$STATUS | |
echo "Project: "$PROJECT", Status: "$STATUS", Fullpath: "$FULLPATH >&2 |
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
### Integrity on Virtual Ubuntu running on Mac OS X | |
## On server | |
sudo apt-get install build-essential | |
sudo apt-get install linux-headers-`uname -r` | |
# Mount VMWare Tools | |
cp /cdrom/*.gz /tmp/ |
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
# Patched WillPaginate 2.3.12 to work with Rails 2.3.7. | |
WillPaginate::ViewHelpers.pagination_options.each_pair do |key, value| | |
if value.class == String | |
WillPaginate::ViewHelpers.pagination_options[key] = value.html_safe | |
end | |
end | |
class WillPaginate::LinkRenderer | |
def to_html |
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
File.open("#{Rails.root}/spec/fixtures/seller_lookup_response.yml", "w") { |f| Marshal.dump(response, f) } |
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
... | |
{% include people.html %} | |
... |
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
story_points = { | |
8 => "Near epic. Somehow we've failed to break it down into smaller chunks. | |
Three developers work on it for two full days to complete.", | |
5 => "Requiring lots of brains. Three work on it for around a full day | |
or two pair for one to one and a half days.", | |
3 => "Difficult story. Two pair on it for around a full day.", | |
2 => "A regular story. Two pair for half a day or so, or one finds himself | |
working for half to a full day.", | |
1 => "A simple story. One works on it for less than half a day, or a pair | |
completes it in a few pomodoros." } |