I hereby claim:
- I am garthk on github.
- I am garthk (https://keybase.io/garthk) on keybase.
- I have a public key whose fingerprint is ACA0 364F 77B9 53D7 3D39 5F3B 3DE9 A3FD 46DE AB61
To claim this, I am signing this object:
#!/bin/bash | |
set -e # exit on errors | |
if [ $(uname) = Darwin ]; then | |
cat <<EOF0 | |
This script cannot work on OS X because your OS X paths don't exist in the | |
'boot2docker' virtual machine. | |
EOF0 | |
exit 1 | |
fi |
FROM stackbrew/ubuntu:precise | |
MAINTAINER Garth Kidd <garth@garthk.com> | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN locale-gen en_US.UTF-8 | |
ENV LANG en_US.UTF-8 | |
RUN dpkg-divert --local --rename /usr/bin/ischroot && ln -sf /bin/true /usr/bin/ischroot | |
RUN apt-get update | |
RUN apt-get install -y openjdk-6-jdk curl | |
RUN cd /opt && curl -OL https://download.elasticsearch.org/logstash/logstash/logstash-1.3.3-flatjar.jar | |
ADD logstash-noconfig /usr/local/bin/ |
I hereby claim:
To claim this, I am signing this object:
node_modules | |
*.zip |
# logstash-forwarder debian build container | |
# | |
# usage: | |
# | |
# * copy this file into your logstash-forwarder checkout directory, then: | |
# * docker build -rm -t=lsfbuild . | |
# * docker run -rm -in lsfbuild ./tarout | tar xvf - | |
# | |
# result: logstash-forwarder_*.deb et al in your checkout directory without | |
# needing to have Ruby, GCC, or Go installed. |
'use strict'; | |
var autoprefixer = require('autoprefixer'); | |
module.exports = function autoprefix(BasePlugin) { | |
return BasePlugin.extend({ | |
name: 'autoprefix', | |
config: { | |
// fed straight to autoprefixer |
#!/usr/bin/env node | |
// usage: | |
// blat.js & | |
// logstash agent -f inhale-all-seen.conf & | |
'use strict'; | |
var fs = require('fs'), | |
redis = require('redis'), |
First:
docker pull ubuntu:trusty # for fresh copy
docker run -t -i ubuntu:trusty
Then, in, the container:
export ARCHIVE=archive.ubuntu.com
export ARCHIVE=mirror.internode.on.net/pub/ubuntu
cat > /etc/apt/sources.list <
A CentOS image straight off the marketplace shelf
boots with the instance key loaded into authorized_keys
for root
. We prefer ec2-user
. This new
/etc/rc.d/rc.local
helps, along with the pre-image procedure in ready.sh
.
[ec2-user@hostname tmp]$ sudo rm -rf node_modules/ | |
[ec2-user@hostname tmp]$ npm install sleep | |
/ | |
> sleep@3.0.0 install /tmp/node_modules/sleep | |
> node-gyp rebuild | |
gyp WARN install got an error, rolling back install | |
gyp ERR! configure error | |
gyp ERR! stack Error: incorrect header check | |
gyp ERR! stack at Zlib._binding.onerror (zlib.js:295:17) |