View squirt
#!/usr/bin/env ruby
require 'json'
require 'shellwords'
if ARGV.length < 3 then
puts "Usage: squirt <filename> <channel> <comment>"
View bundler.txt
Bundler could not find compatible versions for gem "rest-client":
In snapshot (Gemfile.lock):
rest-client (= 1.8.0)
In Gemfile:
stripe (~> 1.17) ruby depends on
rest-client (~> 1.4) ruby
cloudinary (= 1.0.60) ruby depends on
rest-client (>= 0) ruby
View req.txt
PrettyQuick - Mobile Developer (iOS)
## What We're Doing
PrettyQuick is the easiest way to book beauty services. We allow our users to book beauty appointments directly from their browser or smartphone. We pride ourselves on providing trusted recommendations and an excellent customer experience. Headquartered in Chicago, we're currently live in six cities and adding new partner salons every day.
We're solving a challenging problem: seamlessly matching supply and demand in a highly fragmented $60 billion industry. We're laser-focused on a technology-centric strategy and we need your help to make it happen.
## Why We're Hiring
View gist:23fa36321152f835eb22
### Keybase proof
I hereby claim:
* I am arches on github.
* I am arches ( on keybase.
* I have a public key whose fingerprint is 1A0B 41C3 670F 854E 13BA FF5F 95AC 08C2 A2B9 C6CD
To claim this, I am signing this object:
View abstract.markdown

Working on a Rails app without using the console is like flying a 747 without instruments. You can see where you're going if it's nice out but hit some bad weather and you're lost in the dark. In this talk I'll teach you the battle-tested console commands and techniques I use on a daily basis. We'll be spiking features, databasing, patching production apps, automating grunt work - the sky's the limit. You will leave with a firm command of the console and its role in your workflow.

View gist:9256285
require 'rubygems'
require 'aws/s3'
local_file = ARGV[0]
guid = ARGV[1]
bucket = ARGV[2]
mime_type = ARGV[3]
:access_key_id => 'AKJAFLWEAJFLAKJ',
View instance_block.rb
# before - each object in the enumerable is passed to the block { |post| post.comments.any? }
class Array
def select(&blk)
if blk.arity == 0
super { |obj| obj.instance_exec &blk }
View bob.rb
require 'forwardable'
class Bob
def hey(message)
message =
when message.shouting?
"Woah, chill out!"
when message.question?
View cart.rb
require 'active_support/hash_with_indifferent_access'
class Cart
include Enumerable
attr_writer :storage
def each(&blk)
View example.rb
> my_array = [{server: "localhost", ip: ""}, {server: "google dns", ip: ""}]
> tp my_array
localhost |
google dns |
# or with objects
> class ServerInfo