Skip to content

Instantly share code, notes, and snippets.


Jonathan Dance (JD) wuputah

View GitHub Profile
View gist:f03f35d5530d3339239b
~/Dropbox (Personal)/Photos % ls
2002 2005 2011 2014 RAW
2003 2006 2012 2015 RAW ONLY
2004 2007 2013 No metadata
~/Dropbox (Personal)/Photos % du -sh .
58G .
~/Dropbox (Personal)/Photos % find . | grep -i jpg$ | wc -l
~/Dropbox (Personal)/Photos % find . | grep -vi jpg$ | wc -l

For Sale

  • [Sony RX-100 camera: $260][camera] - great camera, good condition, cosmetic scuff marks on edges, 2 batteries, 16 gb sd card, battery charger / usb cable, wrist strap.
  • [32 GB Eyefi Mobi SD Memory Card: $60][eyefi] - 2 weeks old, very little use; no packaging. Did not use 90-day eyefi cloud trial.
  • [Roku 3: $60][roku] - excellent condition, factory reset, all items and original box + bonus free HDMI cable.
  • [Sharp 310W Soundbar: $100][soundbar] - from late 2013, excellent condition, includes remote, no box
  • [Samsung 26" LCD HDTV / Monitor: $100][lcdtv] - used
  • [Sennheiser PXC 450: $200][pxc 450] - new in box
  • [Automatic pet feeder: $40][feeder]
View rack-rack-env-production.diff
diff --git a/lib/rack/server.rb b/lib/rack/server.rb
index 33d5389..27f1244 100644
--- a/lib/rack/server.rb
+++ b/lib/rack/server.rb
@@ -233,6 +233,7 @@ module Rack
+ m["production"] = m["deployment"]
m["development"] = [
View cap
scrot -s -e 'cloudapp $f; rm $f'
View cpu-burn.rb
def burn { loop { rand() * rand() } } { loop { rand(100) * rand(100) } }
pids = (1..4).collect do
fork do
View check-connection.rb
#!/usr/bin/env ruby
# 1. Add your environment variable keys below to check them
# for connectivity.
View gist:11203806
% gst
On branch master
Your branch is up-to-date with 'origin/master'.
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
new file: vendor/gems/faraday_middleware-parse_oj-0.3.0.gem
% grep parse_oj Gemfile
View gist:7283522
if Rails.env.development?
lambda do
forbidden_files = ['active_support/core_ext/object/to_json']
module Kernel
def require_with_dont_load_forbidden_files(name)
if forbidden_files.include?(name)
raise LoadError, "#{name} is forbidden"

Your Vision

What is a vision?

Your vision answers the question "What do I want?" A clear vision help you communicate why you're here and what impact you're going to have.

Your vision should be aligned with the company vision, with your manager's V2MOM, and it should be personal. It should be an honest reflection of your own vision for your own work.

If you manage a team, it should be reflective of the purpose of the team and your collective impact.

wuputah / Gemfile
Last active Dec 19, 2015
Running a command via Rendezvous and capturing the output.
View Gemfile
source ''
gem 'rendezvous'
gem 'heroku-api'
gem 'netrc'