This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'] %> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: all | |
vars: | |
UBUNTU_COMMON_ROOT_PASSWORD: 'xxxxx' | |
UBUNTU_COMMON_DEPLOY_PASSWORD: 'xxxxx' | |
UBUNTU_COMMON_LOGWATCH_EMAIL: [email protected] | |
ubuntu_common_deploy_user_name: deploy | |
ubuntu_common_deploy_public_keys: | |
- ~/.ssh/id_rsa.pub |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"external_id":"12345qwert67890zxcvb", | |
"id":664, | |
"confirmation_number":"1234567890", | |
"state":"unauthorized", | |
"first_name":"Jane", | |
"last_name":"Doe", | |
"email":"[email protected]", | |
"room_code": "STDK", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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..." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defaults write com.google.Chrome DisablePrintPreview -boolean true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo aptitude -y install build-essential libssl-dev libreadline5 libreadline5-dev zlib1g zlib1g-dev | |
sudo apt-get -y install libxslt-dev libxml2-dev | |
sudo apt-get -y install libmysqlclient-dev ruby-dev | |
sudo apt-get -y install libcurl4-openssl-dev | |
sudo apt-get -y install imagemagick libmagickcore-dev libmagickwand-dev | |
sudo apt-get -y install libsqlite3-dev | |
sudo apt-get -y install libreadline-dev | |
sudo apt-get -y install git | |
sudo apt-get -y install libicu48 | |
sudo apt-get -y install nodejs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |