I hereby claim:
- I am geoffharcourt on github.
- I am geoffharcourt (https://keybase.io/geoffharcourt) on keybase.
- I have a public key whose fingerprint is 1A93 CF28 14F1 BE09 FA9A F2F2 7BF0 606D 6F5F 8C56
To claim this, I am signing this object:
base_options = { | |
browser_options: { | |
"no-sandbox" => nil, | |
}, | |
js_errors: true, | |
logger: BrowserLogger.new, | |
process_timeout: 10, | |
timeout: 10, | |
url: REMOTE_CHROME_URL, | |
url_whitelist: [ |
base_options = { | |
browser_options: { | |
"no-sandbox" => nil, | |
}, | |
js_errors: true, | |
logger: BrowserLogger.new, | |
process_timeout: 10, | |
timeout: 10, | |
url: REMOTE_CHROME_URL, | |
url_whitelist: [ |
#!/usr/bin/env ruby | |
require 'pg' | |
=begin | |
when creating a postgres db replica in RDS, or restoring from a snapshot, the | |
underlying EBS volume of the new instance must be initialized by reading every | |
block, otherwise the blocks will be lazy-initialized by production queries | |
which will be extremely latent. (i've seen normally 50ms queries take 30s in |
require "rails_helper" | |
feature "User signs up" do | |
scenario "and is added to the roster" do | |
visit root_path | |
fill_in "Name", with: "Mickey Mouse" | |
fill_in "Experience", with: "Junior" | |
click_button "Sign Me Up!" | |
expect(page).to have_text("Mickey Mouse") |
# http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration | |
RSpec.configure do |config| | |
config.expect_with :rspec do |expectations| | |
expectations.syntax = :expect | |
end | |
config.mock_with :rspec do |mocks| | |
mocks.syntax = :expect | |
mocks.verify_partial_doubles = true | |
end |
class CronutNotifier | |
def initialize(job_id) | |
@job_id = job_id | |
end | |
def notify | |
if ENV["CRONUT_SERVER_HOST"].present? | |
HTTParty.post( | |
ping_url, | |
headers: headers_hash, |
I hereby claim:
To claim this, I am signing this object:
iTerm2 version: 2.9.20150417-nightly | |
Date: 2015-05-06 21:55:06 +0000 (1430949306) | |
Key window: <PTYWindow: 0x7fd493ea7420 frame=NSRect: {{-2026, 281}, {1090, 867}}> | |
Windows: | |
Window <NSComboBoxWindow: 0x7fd496fb9160>, frame=NSRect: {{0, 0}, {0, 0}}. isMain=0 isKey=1 isVisible=0 | |
<NSScrollView: 0x7fd496f7df00> frame=NSRect: {{0, 0}, {0, 0}} hidden=no alphaValue=1.00 | |
| <NSClipView: 0x7fd496f7e410> frame=NSRect: {{0, 0}, {0, 0}} hidden=no alphaValue=1.00 | |
| | <NSComboTableView: 0x7fd496326270> frame=NSRect: {{0, 0}, {13, 147}} hidden=no alphaValue=1.00 | |
| <NSScroller: 0x7fd496f7e720> frame=NSRect: {{-16, 0}, {16, 0}} hidden=no alphaValue=1.00 |
*** LOCAL GEMS *** | |
abstract_type (0.0.7) | |
ace-rails-ap (3.0.1) | |
actionmailer (4.2.0.rc1, 4.2.0.beta4, 4.1.8, 4.1.7, 4.1.6, 3.2.21) | |
actionpack (4.2.0.rc1, 4.2.0.beta4, 4.1.8, 4.1.7, 4.1.6, 3.2.21) | |
actionview (4.2.0.rc1, 4.2.0.beta4, 4.1.8, 4.1.7, 4.1.6) | |
active_model_serializers (0.9.1, 0.9.0) | |
activejob (4.2.0.rc1, 4.2.0.beta4) |
source $HOME/.vimrc |