I hereby claim:
- I am brettweavnet on github.
- I am brettweavnet (https://keybase.io/brettweavnet) on keybase.
- I have a public key whose fingerprint is 5976 B551 05D2 E8D2 C86E B49E 35CD F4E7 EB00 0645
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| import Data.Char | |
| data Request = Request { message :: String } | |
| main = getIt | |
| getIt :: IO() | |
| getIt = do | |
| msg <- getLine | |
| let r = Request { message = msg } | 
| find . -type f -name '*.txt' -exec sed -i '' s/123/321/ {} + | 
| ## Equipment | |
| ### Hygiene | |
| * Razor(s) | |
| * Earplugs | |
| * Eye Mask | |
| * Baby Powder | |
| * Chap Stick | |
| * Antacid | 
| module EnvVar | |
| def set_env_var(name, value) | |
| ENV.stub(:[]) | |
| ENV.stub(:[]).with(name).and_return(value) | |
| end | |
| end | 
| #!/usr/bin/env ruby | |
| require 'aws-sdk' | |
| # create a table (10 read and 5 write capacity units) | |
| dynamo_db = AWS::DynamoDB.new :region => 'us-west-2' | |
| # get a table by name and specify its schema | |
| table = dynamo_db.tables['dynamo-test'] | |
| table.hash_key = ['Customer ID', :number] | 
| #!/bin/bash | |
| # | |
| # This script will signal the provided Cloud Formation URL with success or failue. | |
| # Result is expected to be the return code of a configuration management script. | |
| # Success will only be signaled if the script returns 0 | |
| export result=$1 | |
| export url=$2 | |
| function help { | 
| #!/bin/bash | |
| # | |
| # This script will signal the provided Cloud Formation URL with success or failue. | |
| # Result is expected to be the return code of a configuration management script. | |
| # Success will only be signaled if the script returns 0 | |
| export result=$1 | |
| export url=$2 | |
| function help { | 
Example of using Vendor MIME Types to determine how to route a request coming into a Rails application.
| # Generate the csr / key | |
| openssl genrsa -des3 -out server.key 1024 | |
| # Generate the CSR | |
| openssl req -new -key server.key -out server.csr | |
| # Remove the password from the key | |
| cp server.key server.key.org | |
| openssl rsa -in server.key.org -out server.key |