Skip to content

Instantly share code, notes, and snippets.

Jake Good whoisjake

Block or report user

Report or block whoisjake

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 gort.rb
class Gort < Formula
desc "GORT is a Command Line Toolkit for RobotOps"
homepage ""
version "0.5.2"
if MacOS.prefer_64_bit?
url ""
sha256 "dbcc1f35017ec452986798468631b47350b5bc6dc33e25e812c94c74438f190a"
url ""

Keybase proof

I hereby claim:

  • I am whoisjake on github.
  • I am whoisjake ( on keybase.
  • I have a public key whose fingerprint is D060 8CA9 794C 30B8 3239 56BA AB0F E856 7996 733F

To claim this, I am signing this object:

whoisjake / Vagrantfile.spark
Created Mar 26, 2014
Vagrant file that will load an entire Spark development hacking environment. Download this raw and rename it to Vagrantfile
View Vagrantfile.spark
$script = <<SCRIPT
apt-get update --fix-missing
apt-get install -y python-software-properties
add-apt-repository ppa:terry.guo/gcc-arm-embedded
apt-get update
apt-get install -y build-essential
apt-get install -y gcc-arm-none-eabi
apt-get install -y dfu-util
apt-get install -y git-core
View lithp.rb
class Lisp
def initialize
@env = {
:label => lambda { |(name,val), _| @env[name] = val },
:quote => lambda { |sexpr, _| sexpr[0] },
:car => lambda { |(list), _| list[0] },
:cdr => lambda { |(list), _| list.drop 1 },
:cons => lambda { |(e,cell), _| [e] + cell },
:eq => lambda { |(l,r), _| l == r },
:if => lambda { |(cond, thn, els), ctx| eval(cond, ctx) ? eval(thn, ctx) : eval(els, ctx) },
whoisjake / clever_ext.rb
Created Jun 12, 2013
Extend the clever-ruby gem to fetch all the pages
View clever_ext.rb
require 'clever-ruby'
module CleverExt
def all_pages(filters={})
page_count = 1000
page_n = 1
filters[:limit] = page_count
filters[:page] = page_n
objects = []
page = all(filters)
whoisjake / mindstorm.rb
Created Jul 4, 2011 — forked from michaelbernstein/mindstorm.rb
Lego Mindstorm Installer Gist
View mindstorm.rb
require 'find'
p "This script will copy the contents of your LEGO MINDSTORMS NXT disc to your desktop, make necessary adjustments to the installer for Mac OS X 10.6 and later, and then initiate the MINDSTORMS installer. Please insert the MINDSTORMS NXT disc before you continue. Would you like to continue? (Y/N)"
$name = gets.chomp
if $name[0,1].casecmp("Y") == 0
$NXT_CD_Mounted = false
Dir.entries("/Volumes").each do |path|
View gist:566115
(ns life (:use clojure.test clojure.set))
(def under-populated 1)
(def over-populated 4)
(def fertile 3)
(defn north [[x y]] [x (inc y)])
(defn south [[x y]] [x (dec y)])
(defn east [[x y]] [(inc x) y])
(defn west [[x y]] [(dec x) y])
View DigestLarge.rb
incr_digest =
the_tarball.each_line do |line|
incr_digest << line
md5 = incr_digest.hexdigest
whoisjake / gist:210408
Created Oct 14, 2009
My first entry for
View gist:210408
module Rack
# A rack middleware for wrapping sites in
class Kanye
def initialize(app)
@app = app
def call(env)
request_uri = env['REQUEST_URI']
# Check if kanye=true exists, remove param, and stop
whoisjake / gist:178266
Created Aug 31, 2009
Simple module that allows you to easily search for images in tweets relative to a keyword
View gist:178266
require 'rubygems'
require 'httparty'
require 'uri'
module PictureSearch
class TwitterSearch
include HTTParty
base_uri ''
default_params :output => 'json'
You can’t perform that action at this time.