Skip to content

Instantly share code, notes, and snippets.

View karnowski's full-sized avatar

Larry Karnowski karnowski

  • Durham, NC
View GitHub Profile
@rsanheim
rsanheim / ci.sh
Created March 28, 2012 05:03
Simple continuous deployment via Jenkins and Capistrano for all branches. Wire this up with Github post receive hooks from Jenkins for best results.
#!/bin/bash -x
# This should be your "script/ci" checked into version control, and then wired as your sole build step in Jenkins.
#
# Simplifying Assumptions:
#
# * You build all branches
# * You want to deploy all branches.
# * You wired up an SSH key to your CI server appropriately so it can talk to your deployment target(s) via Cap
@itsthatguy
itsthatguy / .bash_rc
Created March 8, 2012 02:58
Bootslap
BSTITLE="\033[0;33m"
BSCODE="\033[1;33m"
BSCLEAN="\033[0m"
BOOTSLAP=''
function decorate {
local base=$1
local feature=$2
local undecorated="${base}_without_${feature}"
@mrrooijen
mrrooijen / .gitignore
Created February 1, 2012 18:04
MiddleMan on Heroku configuration.
.DS_Store
*.swp
*.swo
Gemfile.lock