Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/ruby
require 'rubygems'
require 'right_aws'
access_key = 'abc'
secret = 'xyz'
src = 'src'
dest = 'dest'
#!/bin/sh
#
# Will append the current Lighthouse ticket number to the commit message automatically
# when you use the 1234-foo-bar branch naming convention.
#
# Drop into .git/hooks/commit-msg
# chmod +x .git/hooks/commit-msg
exec < /dev/tty
@loe
loe / gist:172526
Created August 22, 2009 00:08 — forked from retr0h/gist:132506
#!/bin/sh
trap "exit 2" 1 2 3 13 15
OPTS="--no-rdoc --no-ri"
if [ -f "/etc/lsb-release" ]; then
### bootstrap with git.
apt-get update -y && apt-get upgrade -y --force-yes && apt-get install -y git-core
# Package Maintainer: Increment phusion_release to match latest release available
%define phusion_release 2009.10
Summary: Ruby Enterprise Edition (Release %{phusion_release})
Name: ruby-enterprise
Vendor: Phusion.nl
Packager: Adam Vollrath <[email protected]>
Version: 1.8.7
Release: 2%{dist}
License: GPL
date {
# May 08 10:18:18 or May 8 10:18:18
match => ["timestamp", "MMM dd HH:mm:ss", "MMM d HH:mm:ss"]
target => "timestamp"
}