Skip to content

Instantly share code, notes, and snippets.

Joshua Mervine jmervine

Block or report user

Report or block jmervine

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:11306494
type JSONContainer struct {
data []interface{}
}
func (j *JSONContainer) All() (objects []JSONObject) {
for _, v := range j.data {
objects = append(objects, JSONObject{data: v})
}
return
}
View Readme.md

Make this file executable and add it to your path

Usage

grco [some-text]
@jmervine
jmervine / gist:3943059
Created Oct 24, 2012 — forked from futuremill/gist:2318876
Building Ruby 1.9.3 package for Debian Squeeze
View gist:3943059
# From a fresh install of squeeze
test "$DEBUG" && set -x
set -ue
if test "$1"; then
SOURCE_VERSION="$1"
else
SOURCE_VERSION="1.9.3-p286"
fi
You can’t perform that action at this time.