Skip to content

Instantly share code, notes, and snippets.

View abams's full-sized avatar

Adam Ryan abams

  • Inspire
  • Philadelphia
View GitHub Profile
[user]
name = Adam Ryan
email = [email protected]
[credential]
helper = osxkeychain
[alias]
st = status
l = log --pretty=oneline --abbrev-commit --decorate
up = pull --rebase
co = checkout
[[ -s ~/.bashrc ]] && source ~/.bashrc
eval "$(rbenv init -)"
eval "$(hub alias -s)"
export PATH=".bin:$HOME/bin:/usr/local/foreman/bin:/usr/local/bin:/Applications/Postgres.app/Contents/MacOS/bin:$PATH"
# RBENV
export PATH="$HOME/.rbenv/bin:$HOME/.rbenv/shims:$PATH"
# SSL CERTS
export SSL_CERT_FILE=/usr/local/etc/cacert.pem
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
@abams
abams / gist:9bf118cb40f5169045e4
Created August 18, 2014 18:13
Sublime Text 3 preferences
{
"bold_folder_labels": true,
"caret_style": "phase",
"color_scheme": "Packages/Color Scheme - Default/Sunburst.tmTheme",
"draw_minimap_border": true,
"ensure_newline_at_eof_on_save": true,
"fade_fold_buttons": false,
"find_selected_text": true,
"folder_exclude_patterns":
[
nuke() {
if [ "$1" = 'development' ] || [ "$1" = 'test' ]; then
RAILS_ENV=$1 be rake db:drop; RAILS_ENV=$1 be rake db:create; RAILS_ENV=$1 be rake db:migrate
RAILS_ENV=$1 be rake db:seed
fi
if [ "$1" = 'test' ]; then
RAILS_ENV=$1 be rake db:$1:prepare
fi
}
class ActiveSupport::TestCase
def apple_receipt
'MIIbggYJKoZIhvcNAQcCoIIbczCCG28CAQExCzAJBgUrDgMCGgUAMIILMwYJKoZIhvcNAQcBoIILJASCCyAxggscMAoCAQgCAQEEAhYAMAoCARICAQEEAhYAMAoCARMCAQEEAgwAMAoCARQCAQEEAgwAMAsCAQECAQEEAwIBADALAgEDAgEBBAMMATEwCwIBCwIBAQQDAgEAMAsCAQ4CAQEEAwIBUTALAgEPAgEBBAMCAQAwCwIBEAIBAQQDAgEAMAsCARkCAQEEAwIBAzAMAgEKAgEBBAQWAjQrMA0CAQ0CAQEEBQIDARF0MA4CAQkCAQEEBgIEUDIyODAYAgEEAgECBBDuabE5Lbauzrsk8WLovHihMBsCAQACAQEEEwwRUHJvZHVjdGlvblNhbmRib3gwHAIBAgIBAQQUDBJjb20uYnlsaW5lci53ZWVrbHkwHAIBBQIBAQQUJFMs7reH3yBJ+xyOKQJSMPtTPDYwHgIBDAIBAQQWFhQyMDEzLTEyLTE3VDIxOjAxOjA4WjA6AgEHAgEBBDKL7sS/v5o6iHSWioLnE0PRcGF9r4SZ0OXjm+zXGm6EBPwesGEbEV9m/JfBEA6GXrPHYDBXAgEGAgEBBE+6ua/rbzgdYRU9Um5aaDQdu0s0rjmUuDVFz5Mp48wU48PbIUQUEzfkeqArZsEJpVZuvcVk2kj/W65UZfxZyWzNoOqynqdAaTQ/pY5lId7XMIIBhgIBEQIBAQSCAXwxggF4MAsCAgatAgEBBAIMADALAgIGsAIBAQQCFgAwCwICBrICAQEEAgwAMAsCAgazAgEBBAIMADALAgIGtAIBAQQCDAAwCwICBrUCAQEEAgwAMAsCAga2AgEBBAIMADAMAgIGpQIBAQQDAgEBMAwCAgarAgEBBAMCAQMwDAICBq4CAQEEAwIBADAMAgIGsQIBAQQDAgEAMBICAgavAgEBBAkCBwON