Skip to content

Instantly share code, notes, and snippets.

What do all of these have in common?
Units per USD
TIC-PC
########
TIC-PI
USD per Unit
###BACKUP###
ZERO GRAVITY TOILET
PASSENGERS ARE ADVISED TO
READ INSTRUCTIONS BEFORE USE
1
The toilet is of the standard zero-gravity type. Depending on
requirements, system A and/or system B can be used, details of which
are clearly marked in the toilet compartment. When operating system A,
set :application, "deezmag"
default_run_options[:pty] = true
set :scm, "git"
set :repository, "git@github.com:obie/#{application}.git"
set :repository_cache, "git_cache"
set :deploy_via, :copy
set :ssh_options, {
:keys => ["#{ENV['HOME']}/.ec2/id_rsa-hashrocket-utility-keypair"]
}
Host builder
HostName ec2-174-129-130-182.compute-1.amazonaws.com
Port 4777
User root
IdentityFile ~/.ec2/id_rsa-hashrocket-utility-keypair
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAuirJan8xTTn77RlOtDY5xAI7YSzEnD+1KWSLWYfiGfqDD32fwIJqeF6Icts6FENhsvwSEPOy6OoNq2mDALs7bHfgZFFIRohWQSRxVYe2MmOVKpe15WmxFHEdDPAovJc/cs9ve8MqiSbfP3YbSBrFFSoaGpzlKbYgLhleCNHXVAQ/AFzOgoQS8QpZgWr32ebSJ0M58zx5GVEFlqVXb7J2vk/b16B/cFKmAVsfEcEgxbOV9bjswTD/GTnZPyLB3X7s6UBeI7XLVnjDV4cpQLegZqIaJAfeCQLN2OkrQGxQgHymDXSUsiUzNqDGSsYRH9di+sc8xkLT9RS7bQrkgLV54w== root@domU-12-31-39-02-F5-77

Pair Programming: The Hashrocket Way

Description

See a real-life implementation of pair programming. Hashrocket, a consultancy of less than twenty developers has effectively paired all of our developers up on projects since day one and created better software and a better team in the process.

Abstract

script/plugin install git://github.com/freelancing-god/thinking-sphinx.git
Project T
sqlite3
real 2m30.829s
user 1m58.699s
sys 0m25.293s
1 failure due to database specific sql
mysql
bigt:~/git_hashrocket/namecheap$ !spec
spec -c spec/*_spec.rb
..........*.
Pending:
NamecheapAPI Wrapper#is_domain_available? should return true if connections succeeds and domain is available (Need API Access To Namecheap.com)
Called from ./spec/namecheap_spec.rb:28
Finished in 6.14485 seconds
# Reparse a URL to get a hash of route params.
>> url ="/New-Homes/Search/Georgia/Atlanta/townhome-5000000-maximum-price-100000-minimum-price-5d6qe+5d6tw+5d6sv"
=> "/New-Homes/Search/Georgia/Atlanta/townhome-5000000-maximum-price-100000-minimum-price-5d6qe+5d6tw+5d6sv"
>> ActionController::Routing::Routes.recognize_path(url)
=> {:state=>"Georgia", :action=>"index", :refinement=>"townhome-5000000-maximum-price-100000-minimum-price-5d6qe+5d6tw+5d6sv", :city=>"Atlanta", :controller=>"communities", :channel=>"Search"}
# Note: The New-Homes segment is a prefix in our routes and not returned in the params.