Skip to content

Instantly share code, notes, and snippets.

View wuputah's full-sized avatar
🐘

Jonathan Dance (JD) wuputah

🐘
View GitHub Profile
~/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
7946
~/Dropbox (Personal)/Photos % find . | grep -vi jpg$ | wc -l
2813

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]
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
logging_middleware,
[Rack::TempfileReaper]
]
+ m["production"] = m["deployment"]
m["development"] = [
@wuputah
wuputah / cap
Created January 15, 2015 23:37
#!/bin/sh
scrot -s -e 'cloudapp $f; rm $f'
#!/usr/bin/ruby
def burn
Thread.new { loop { rand() * rand() } }
Thread.new { loop { rand(100) * rand(100) } }
end
pids = (1..4).collect do
fork do
burn
#!/usr/bin/env ruby
# 1. Add your environment variable keys below to check them
# for connectivity.
CHECK = [
'DATABASE_URL',
'MEMCACHIER_SERVERS',
'REDISCLOUD_URL',
]
% 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
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"
end
require_without_dont_load_forbidden_files(name)

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
wuputah / Gemfile
Last active December 19, 2015 01:59
Running a command via Rendezvous and capturing the output.
source 'https://rubygems.org/'
gem 'rendezvous'
gem 'heroku-api'
gem 'netrc'