Skip to content

Instantly share code, notes, and snippets.

JD wuputah

Block or report user

Report or block wuputah

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 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'
View gist:5647202
tell application "Google Chrome"
set aWin to make new window with properties {mode:"incognito"}
tell aWin
make new tab with properties {URL:""}
close tab 1
end tell
end tell
View gist:5572380
>> def fact(n, r)
> if n < 2
> r
> else
> fact(n-1, n*r)
> end
> end
=> nil
>> fact(8720, 1)
=> 42190895430181916664979031806056928246303353451535636903773271316751702454531800280700498288825191072312390610447587954346720269259692495920127490654583176499074215852936506326556512651275020902681028408186164876934018066277852504002354904436539580624158841854584430580553205445678489279798415237578251015457819238211230996395174721526160166715453429700539475407302042107727975081050340508488865545782567001627527256801478522173103429539485321166200911428966344400772272969303858818597878181807615411366351182083258934467160969229226144067176912092520864697527038515938049590698544346189637434543160878992587889412988150063728225782549842240447124939040852245676989331855076443880183502308022073971744344239015274826387293786227930235969158940115582665264215146994173722360461092488599138170809222943662940806837299667841141685770580124593359987397203021073274581159074540783199754953227439324551958425260235
You can’t perform that action at this time.