Skip to content

Instantly share code, notes, and snippets.

View kjwierenga's full-sized avatar

Klaas Jan Wierenga kjwierenga

View GitHub Profile
Getting up and running with OS X, Textmate & Scheme
===================================================
SCHEME
======
I ran across two implementations of Scheme which appear to work well with OS X.
mit-scheme & PLT Scheme.
I was able to install mit-scheme from darwin ports ( sudo port install mit-scheme)
@kjwierenga
kjwierenga / ask_for_branch.rb
Created April 28, 2010 08:38 — forked from LeipeLeon/ask_for_branch.rb
Capistrano task to push a deploy tag after deploying a new version.
set(:branch) do
if :production == stage
branch = Capistrano::CLI.ui.ask("#{`git branch`}\n\nWhich branch do you want to deploy?: ")
raise "Error: The master branch cannot be deployed to production." if 'master' == branch
else
`git branch | grep ^* | sed s/\\*\\ //`.chomp # use current active branch for staging
end
end