I hereby claim:
- I am stephen-mw on github.
- I am stephenmw (https://keybase.io/stephenmw) on keybase.
- I have a public key whose fingerprint is 02A1 A27C E45C 503C 84A9 E9AA 924B A05C D817 8DC7
To claim this, I am signing this object:
apt-get update -y | |
aptitude install -y build-essential | |
wget "http://downloads.sourceforge.net/project/e1000/ixgbevf%20stable/2.16.1/ixgbevf-2.16.1.tar.gz" | |
tar -zxf ./ixgbevf-* | |
cd ixgbevf*/src | |
make install | |
modprobe ixgbevf | |
sudo update-initramfs -c -k all | |
echo "options ixgbevf InterruptThrottleRate=1,1,1,1,1,1,1,1" > /etc/modprobe.d/ixgbevf.conf |
#!/bin/bash | |
set -e | |
# Installs Hbase and OpenTSDB to /opt | |
# Will start OpenTSDB listening on 0.0.0.0:4242 | |
apt-get install -y vim git-core autoconf openjdk-7-jdk gnuplot-nox make | |
export JAVA_HOME=$(readlink -f /usr/bin/java | sed "s:bin/java::") |
Setting up the wireless on your raspbian pi is tricky over the commandline. Here's some example settings that should get you online with a typical wpa wireless G network. | |
```/etc/network/interfaces``` | |
``` | |
auto lo | |
iface lo inet loopback | |
iface eth0 inet dhcp |
#!/bin/bash | |
set -e | |
# | |
# Collectd automatic compile and installation script | |
# for debian systems | |
# | |
# Stephen Wood | |
# www.heystephenwood.com | |
# |
color() { | |
echo -e "\033[0;$1m$2\033[0m" | |
} | |
echo_red() { | |
color 31 "$1" | |
} | |
echo_green() { | |
color 32 "$1" | |
} | |
echo_yellow() { |
# If you don't care too much about the granularity, just multiply by 1000 :-) | |
echo $((`date +%s` * 1000)) | |
1466013952000 |
package main | |
import ( | |
"fmt" | |
"github.com/awslabs/aws-sdk-go/aws" | |
"github.com/awslabs/aws-sdk-go/service/ec2" | |
"github.com/vaughan0/go-ini" | |
"net/url" | |
"os" | |
"runtime" |
I hereby claim:
To claim this, I am signing this object:
The 10 Tenets of Deployments | |
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL | |
NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and | |
"OPTIONAL" in this document are to be interpreted as described in | |
[RFC 2119](https://www.ietf.org/rfc/rfc2119.txt). | |
1. Configuration management MUST NOT be coupled to an external service, such as EC2, Openstack, Foreman, or anything else. | |
2. Devops SHOULD provide a self-service framework for the automatic creation and destruction of hosts from the ground up. |
# Logrotate script for varnishnca | |
# /etc/logrotate.d/varnishncsa | |
# | |
/var/log/varnish/varnishncsa.log { | |
daily | |
rotate 7 | |
missingok | |
compress | |
delaycompress |