View Dockerfile
# Example Dockerfile
FROM hello-world
View .bashrc
# Set variables in .bashrc file
# don't forget to change your path correctly!
export GOPATH=$HOME/golang
export GOROOT=/usr/local/opt/go/libexec
export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:$GOROOT/bin
View keybase.md

Keybase proof

I hereby claim:

  • I am rrichards on github.
  • I am rrichardsr3 (https://keybase.io/rrichardsr3) on keybase.
  • I have a public key ASDXE6NrJxC8E5t_9iZ3zYeAT3cczkbfgJHA-80SunABewo

To claim this, I am signing this object:

View dev-machine.sh
#!/bin/bash
# All the configuration settings described below were found on the internet,
# and this script just automates it
# Generating locales
sudo locale-gen en_US en_US.UTF-8 pt_BR pt_BR.UTF-8 es_ES es_ES.UTF-8
# Installing base packages
sudo apt-get update
View gist:fa44988d7ba6656f8a48
#!/bin/ruby
require 'json'
require 'time'
require 'syslog'
class Snapshot
def initialize()
@format = 'json'
View gist:e7148fb8a7e08d825161
### Keybase proof
I hereby claim:
* I am rrichards on github.
* I am rrichardsr3 (https://keybase.io/rrichardsr3) on keybase.
* I have a public key whose fingerprint is 0311 CCEA 3F6E 0F38 1BD4 B5FF C016 CEB5 08A9 983A
To claim this, I am signing this object:
View heroku-database-upsize.md

heroku addons:add heroku-postgresql:standard-6 --follow HEROKU_POSTGRESQL_BLUE_URL --app=twinit-delta heroku pg:wait --app=twinit-delta heroku logs --tail --ps postgres --app twinit-delta heroku maintenance:on --app=twinit-delta heroku pg:unfollow HEROKU_POSTGRESQL_GREEN_URL --app=twinit-delta heroku maintenance:on --app=twinit-delta

replication took approximately 10 minutes on delta

View ssh-multi.sh
#!/bin/bash
# ssh-multi
# D.Kovalov
# Based on http://linuxpixies.blogspot.jp/2011/06/tmux-copy-mode-and-how-to-control.html
# a script to ssh multiple servers over multiple tmux panes
starttmux() {
if [ -z "$HOSTS" ]; then
View gist:36e43581ba2ceb27b964
#!/bin/bash
description="
fence_ec2 is an I/O Fencing agent which can be used with Amazon EC2 instances.
In order to function, the agent needs the private key and cert used by the Amazon EC2 API.
API functions used by this agent:
- ec2-describe-tags
- ec2-describe-instances
- ec2-stop-instances
View elastic-ip
#!/bin/bash
###############################################################################
# CONFIG
# AWS config
export AWS_SECRET_KEY="XXXX"
export AWS_ACCESS_KEY="XXXX"
export PATH=$PATH:/usr/local/aws/ec2/bin
export EC2_HOME=/usr/local/aws/ec2/