I hereby claim:
- I am faun on github.
- I am faun (https://keybase.io/faun) on keybase.
- I have a public key whose fingerprint is D4C9 FFB9 F1DC EF35 9E0A 3D0D 92D9 A892 2212 44C4
To claim this, I am signing this object:
#!/usr/bin/env bash | |
# Fetch the password from the keychain if it exists | |
PASSWORD_ENTERED=false | |
ACCOUNT_NAME='login' | |
SERVICE_NAME='mount_volume' | |
PASSWORD=$( | |
security 2> /dev/null \ | |
find-generic-password -w \ | |
-a $ACCOUNT_NAME \ |
class String | |
def pallindrome? | |
string = self.downcase.gsub(/[^0-9a-z]/i,'') | |
return false if string.length <= 1 | |
string.reverse == string | |
end | |
def collect_possible_starts_and_end | |
#{ a: [0, 1], b: [3], c: [1,4,6]} |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>AdjustWindowForFontSizeChange</key> | |
<true/> | |
<key>AllowClipboardAccess</key> | |
<true/> | |
<key>AnimateDimming</key> | |
<false/> |
#!/bin/bash | |
## START PRECOMMIT HOOK | |
# Install with: | |
# ln -s ../../bin/pre-commit .git/hooks/pre-commit | |
files_modified=`git status --porcelain | egrep "^(A |M |R ).*" | awk ' { if ($3 == "->") print $4; else print $2 } '` | |
for f in $files_modified; do | |
if [[ $f == vendor/* ]]; then | |
echo "skipping $f" |
export DEVISE_SECRET_KEY='A REALLY LONG KEY' | |
export SECRET_TOKEN='A REALLY LONG KEY' | |
export SECRET_KEY_BASE='A REALLY LONG KEY' | |
export CARRIERWAVE_PROVIDER='AWS' | |
export CARRIERWAVE_AWS_ACCESS_KEY_ID='A REALLY LONG KEY' | |
export CARRIERWAVE_AWS_SECRET_ACCESS_KEY='A REALLY LONG KEY' | |
export CARRIERWAVE_REGION='us-west-1' | |
export CARRIERWAVE_ENDPOINT='https://s3-us-west-1.amazonaws.com/' | |
export CARRIERWAVE_HOST='https://s3.amazonaws.com' | |
export CARRIERWAVE_ASSET_HOST='http://assets.zinedistro.org' |
I hereby claim:
To claim this, I am signing this object:
#! /bin/sh | |
set -e | |
BREW_PREFIX="$(brew --prefix)" | |
BREW_CELLAR="${BREW_PREFIX}/Cellar" | |
function libxslt_version() | |
{ | |
brew list --versions libxslt | awk '{ print $2 }' | |
} |
source 'https://rubygems.org' | |
# gem 'activerecord', '4.0.5' | |
gem 'activerecord', '4.1.1' | |
gem 'pg' |
#! /bin/sh | |
password=$(security 2> /dev/null find-generic-password -a login -s decrypt_pdfs -D "application password" -w) | |
set -e | |
decrypt_file () { | |
source_file="$1" | |
filename="$(basename "$source_file")" | |
directory="$(dirname "$source_file")/decrypted" |
#! /bin/sh | |
# Check if qpdf is installed | |
installed=$(which qpdf &> /dev/null) | |
if [ $? -eq 1 ]; then | |
echo >&2 "Please install qpdf first (brew install qpdf)" | |
exit 1 | |
fi | |
# Fetch the password from the keychain |