I hereby claim:
- I am rianrainey on github.
- I am rianrainey (https://keybase.io/rianrainey) on keybase.
- I have a public key whose fingerprint is FFE1 CB9B 7E14 89A2 B0BD 87B9 43C0 0C1B 61E1 7CCA
To claim this, I am signing this object:
#! /usr/bin/env ruby | |
require 'mechanize' | |
agent = Mechanize.new | |
agent.pluggable_parser.default = Mechanize::Download | |
agent.get 'https://www.destroyallsoftware.com/screencasts/catalog' | |
episodes = agent.page.search('.episode > a').map { |a| a['href'] } |
require: rubocop-rspec | |
#inherit_from: .rubocop_todo.yml | |
AllCops: | |
Exclude: | |
- bin/**/* | |
- db/**/* | |
- script/**/* | |
- vendor/**/* |
I hereby claim:
To claim this, I am signing this object:
people = DB.find_customers
orders = Orders.for_customers(people)
tax = sales_tax(orders, 2013)
filing = prepare_filing(tax)
filing = prepare_filing(sales_tax(Orders.for_customers(DB.find_customers), 2013))
UPDATE wp_options SET option_value = replace(option_value, 'http://dev-families-connect.pantheon.io', 'http://lvh.me:8000') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
UPDATE wp_posts SET guid = replace(guid, 'http://dev-families-connect.pantheon.io','http://lvh.me:8000'); | |
UPDATE wp_posts SET post_content = replace(post_content, 'http://dev-families-connect.pantheon.io', 'http://lvh.me:8000'); | |
UPDATE wp_postmeta SET meta_value = replace(meta_value,'http://dev-families-connect.pantheon.io','http://lvh.me:8000'); |
# Amazon S3 settings for Paperclip uploads
config.paperclip_defaults = {
:storage => :s3,
:s3_protocol => 'https',
:s3_credentials => {
:bucket => ENV['AWS_BUCKET'],
:access_key_id => ENV['AWS_ACCESS_KEY_ID'],
:secret_access_key => ENV['AWS_SECRET_ACCESS_KEY']
}
if application "Spotify" is running then | |
tell application "Spotify" to playpause | |
else if application "iTunes" is running then | |
tell application "iTunes" to playpause | |
end if | |
if application "Spotify" is running then | |
tell application "Spotify" to next track | |
else if application "iTunes" is running then | |
tell application "iTunes" to next track |
Host Name: goliath.example.com | |
AWS Key: 0123 | |
AWS Secret Key: 3210 | |
Bucket Name: goliath.example.com | |
Optional AWS S3 endpoint: I left it as the default of ‘s3’ | |
Optional syslog UDP end-point: I left it as the default of ‘syslog.s3auth.com:514`. |
{ "Statement": [ | |
{ "Effect": "Allow", | |
"Action": ["s3:GetObject", "s3:GetBucketWebsite"], | |
"Resource": [ "arn:aws:s3:::goliath.example.com/*" ] | |
} | |
]} |