Skip to content

Instantly share code, notes, and snippets.

View gist:3c795c15da16b39a1dbf
# Init file for AWS Authorized Keyfile
# chkconfig: 2345 11 25
# description: AWS Authorized Keyfile
case $1 in
touch /var/lock/subsys/awssshkey
View -
debian71-tmpl: &debian71-tmpl
template: true
arch: linux_amd64
provider: ec2
ami: ami-28008940
securitygroups: mci
keyname: mci
user: admin
key: mci
set -o verbose
set -o errexit
if [ "$OS" = "Windows_NT" ]; then
# Windows-only
echo "Checking for IPV6 support"
ipconfig | grep -i ipv6
ehershey / bigredbuttonosx
Last active May 24, 2018
How to use the Dream Cheeky Big Red Button on a Mac in OS X
View bigredbuttonosx
# Alternative to homebrew - install Mono directly via
# Install homebrew -
ruby -e "$(curl -fsSL"
# Install mono
brew install mono
# Download windows executable
# Unzip
# Create script
View gist:db429426fdbf85252761
# Simple ld wrapper that ignores --build-id parameters
options=() # the buffer array for the parameters
eoo=0 # end of options reached
while [[ $1 ]]
ehershey / gist:ac1e9d9d246a5cb7de0c
Last active Sep 14, 2015
Amazon Linux and Ubuntu and Red Hat Enterprise Linux
View gist:ac1e9d9d246a5cb7de0c
I've been launching and launching to test
varied instances, sizes, OS
to rule out dud instances
and regional differences
I'll try it outside us-west.
mike o used an old vpc
but new ones broke also for me
this all was this morning
with AMI's boring
I guess I'll go home now, thanks.
ehershey / terminal-transcript.txt
Last active Mar 19, 2016
Trying to download podcast episode on the command line after getting errors in itunes
View terminal-transcript.txt
[ernie@eahimac2 ~]$ curl --head
HTTP/1.0 403 Forbidden
Date: Sat, 19 Mar 2016 18:20:04 GMT
Server: Apache/2.4.7 (Ubuntu)
X-Powered-By: PHP/5.5.9-1ubuntu4.14
Connection: close
Content-Type: text/html
[ernie@eahimac2 ~]$ curl --head
HTTP/1.1 200 OK
View todo
  • Morning
    • email i
    • Shell tarball CR
    • Sam CR
    • Check schedule for week
    • Push chef change
    • Standup
    • Writing ticket
    • Excel to Dan
  • Afternoon
View todo
  • tonight
    • Shell tarball CR (20)
    • Sam CR (20)
    • Check schedule for week (2)
    • Build Team Status (20)
    • Check week running schedule (2)
  • tomorrow
    • Buy aftershave
    • Call eye place
    • Call Hair Place