See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
#!/bin/bash | |
fdisk -lu | |
pvscan | |
vgscan | |
vgchange -a y | |
lvscan | |
mount /dev/ubuntu-vg/root /mnt | |
mount --bind /dev /mnt/dev | |
mount --bind /proc /mnt/proc |
real_ip_header True-Client-IP; | |
set_real_ip_from 0.0.0.0/0; |
real_ip_header X-Forwarded-For; | |
real_ip_recursive on; | |
set_real_ip_from 10.0.0.0/16; | |
set_real_ip_from 54.192.0.0/16; | |
set_real_ip_from 54.230.0.0/16; | |
set_real_ip_from 54.239.128.0/18; | |
set_real_ip_from 54.239.192.0/19; | |
set_real_ip_from 54.240.128.0/18; | |
set_real_ip_from 204.246.164.0/22; | |
set_real_ip_from 204.246.168.0/22; |
real_ip_header X-Forwarded-For; | |
real_ip_recursive on; | |
set_real_ip_from 10.0.0.0/16; | |
set_real_ip_from 54.192.0.0/16; | |
set_real_ip_from 54.230.0.0/16; | |
set_real_ip_from 54.239.128.0/18; | |
set_real_ip_from 54.239.192.0/19; | |
set_real_ip_from 54.240.128.0/18; | |
set_real_ip_from 204.246.164.0/22; | |
set_real_ip_from 204.246.168.0/22; |
<?php | |
/** | |
* @file | |
* Amazon Elastic Load Balancer Settings. | |
* | |
* Force server to use https:// path if SSL is handled at load balancer. | |
* | |
* @see http://drupal.org/node/185161#comment-5452038 | |
*/ |
pre.console-output { | |
color: #e6e6e6; | |
background-color: #000; | |
padding: 10px; | |
} |
# This is just a scratchpad after I hacked what I needed in an irb session | |
require 'octokit' | |
Octokit.configure do |c| | |
c.login = 'searls' | |
c.password = 'c0d3b4ssssss!' | |
end | |
client = Octokit::Client.new | |
repos = client.repos #Note, for an org's repos, see `client.orgs.first.rels[:repos].get.data` |
#!/bin/bash | |
# User data to configure a vanilla Ubuntu EC2 instance. | |
# Installs chef-client (with minimal dependencies), | |
# configures chef, and adds roles | |
test $UID == 0 || (echo "Error: must run as root"; exit 1) | |
######### STEP 1: OPERATING SYSTEM CONFIGURATION | |
BOOTLOG="/var/log/bootstrap.log" |