I hereby claim:
- I am ryane on github.
- I am ryane (https://keybase.io/ryane) on keybase.
- I have a public key whose fingerprint is E4F4 1EAB BF0F C785 06D8 62EF EF68 CF41 D42A 593D
To claim this, I am signing this object:
[ | |
{ | |
"external_id":"12345qwert67890zxcvb", | |
"id":664, | |
"confirmation_number":"1234567890", | |
"state":"unauthorized", | |
"first_name":"Jane", | |
"last_name":"Doe", | |
"email":"support@checkmate.io", | |
"room_code": "STDK", |
development: | |
adapter: postgresql | |
encoding: unicode | |
pool: 5 | |
database: sample_app_rails_4_development | |
host: <%= ENV['SAMPLE_APP_RAILS_4_DB_HOST'] %> | |
port: <%= ENV['SAMPLE_APP_RAILS_4_DB_PORT'] %> | |
username: <%= ENV['SAMPLE_APP_RAILS_4_DB_USER'] %> | |
password: <%= ENV['SAMPLE_APP_RAILS_4_DB_PASSWORD'] %> |
#!/usr/bin/env ruby | |
## you will probably need to run this via sudo | |
## sudo ruby focus.rb [on|off] | |
# inspired by http://al3x.net/2009/09/14/my-get-back-to-work-hack.html | |
require 'fileutils' | |
require 'tempfile' |
# quick and dirty postgres database restoration from heroku | |
# This works in my local dev environment | |
# It might not work in yours without some changes | |
# Now just uses Heroku::Auth to get an authenticated client. No | |
# need to read a credentials file. You probably need a recent | |
# version of the heroku gem for this to work | |
desc "Restore from heroku" | |
task :restore do | |
require 'pgbackups/client' |
variable aws_access_key {} | |
variable aws_secret_key {} | |
variable ssh_key { default = "~/.ssh/id_rsa.pub" } | |
variable ssl_cert_file { default = "./cert.pem" } | |
variable ssl_key_file { default = "./key.pem" } | |
provider "aws" { | |
access_key = "${var.aws_access_key}" | |
secret_key = "${var.aws_secret_key}" | |
region = "us-west-1" |
set nocompatible " Must come first because it changes other options. | |
filetype off " required! (for vundle) | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
" let vundle manage vundle | |
" required! | |
Bundle 'gmarik/vundle' |
# fix copy/paste | |
set-option -g default-shell /usr/local/bin/zsh | |
set-option -g default-command "reattach-to-user-namespace -l \"/usr/local/bin/zsh\"" | |
bind-key 'P' run-shell "tmux set-buffer \"$(/usr/local/bin/pbpaste)\"; tmux paste-buffer" | |
bind-key 'Y' run-shell "tmux show-buffer | /usr/local/bin/pbcopy" | |
bind C-c run "tmux save-buffer - | reattach-to-user-namespace pbcopy" | |
bind C-v run "tmux set-buffer $(reattach-to-user-namespace pbpaste); tmux paste-buffer" | |
# look good | |
set -g default-terminal "screen-256color" |
set nocompatible " Must come first because it changes other options. | |
filetype off " required! (for vundle) | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
" let vundle manage vundle | |
" required! | |
Bundle 'gmarik/vundle' |
#!/bin/sh | |
if [ "$(git rev-parse --abbrev-ref HEAD)" == "master" ] | |
then | |
if [ -f FORCE_COMMIT ] | |
then | |
rm FORCE_COMMIT | |
exit 0 | |
else | |
echo "Running specs since you are committing to master..." |
I hereby claim:
To claim this, I am signing this object: