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:
node_modules | |
*.zip |
I hereby claim:
To claim this, I am signing this object:
var stream = require('stream'); | |
function streamify(text) { | |
var s = new stream.Readable(); | |
s.push(text); | |
s.push(null); | |
return s; | |
} | |
streamify('foo\n').pipe(process.stdout); |
FROM stackbrew/ubuntu:precise | |
MAINTAINER Garth Kidd <[email protected]> | |
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/ |
#!/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 |
# Matryoshka Docker | |
FROM stackbrew/ubuntu:12.04 | |
MAINTAINER Garth Kidd <[email protected]> | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN locale-gen en_US.UTF-8 | |
ENV LANG en_US.UTF-8 | |
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A88D21E9 | |
RUN echo 'deb http://archive.ubuntu.com/ubuntu precise main universe' > /etc/apt/sources.list | |
RUN echo 'deb http://security.ubuntu.com/ubuntu precise-security main restricted' >> /etc/apt/sources.list | |
RUN apt-get update && apt-get upgrade -y && apt-get install -y apt-transport-https curl |
# Politely listens on the nominated TCP ports. | |
FROM stackbrew/ubuntu | |
ADD multi-listen /usr/local/bin/multi-listen | |
RUN chmod a+x /usr/local/bin/multi-listen | |
ENTRYPOINT ["/usr/local/bin/multi-listen"] | |
CMD ["80"] |
# OpenTSDB build container | |
# Usage: | |
# docker build -t=opentsdb-build . | |
# docker run -name=opentsdb-building opentsdb-build ./build.sh debian | |
# docker commit opentsdb-building opentsdb-rebuild | |
# docker run -rm -v=$(pwd):/tmp/results opentsdb-rebuild cp /opt/opentsdb/build/opentsdb-2.0.0/opentsdb-2.0.0_all.deb /tmp/results | |
FROM stackbrew/ubuntu:precise | |
MAINTAINER Garth Kidd <[email protected]> | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN locale-gen en_US.UTF-8 |
'use strict'; | |
exports.register = function (plugin, options, next) { | |
function addRoutes(server) { | |
var serverPluginSettings = server.settings.plugins || {}, | |
serverSpecificSettings = serverPluginSettings.routify || {}, | |
routes = serverSpecificSettings.routes || options.routes; | |
if (routes) { | |
server.route(routes); |
FROM stackbrew/ubuntu:precise | |
RUN locale-gen en_US.UTF-8 | |
ENV LANG en_US.UTF-8 |