Skip to content

Instantly share code, notes, and snippets.

View taylor's full-sized avatar
🐢
🌊

Taylor Carpenter taylor

🐢
🌊
View GitHub Profile
@taylor
taylor / Dockerfile
Created January 29, 2014 05:21 — forked from henrik-muehe/Dockerfile
Fake Fuse build for Docker to get around /dev/fuse not being available
...
# Fake a fuse install
RUN apt-get install libfuse2
RUN cd /tmp ; apt-get download fuse
RUN cd /tmp ; dpkg-deb -x fuse_* .
RUN cd /tmp ; dpkg-deb -e fuse_*
RUN cd /tmp ; rm fuse_*.deb
RUN cd /tmp ; echo -en '#!/bin/bash\nexit 0\n' > DEBIAN/postinst
RUN cd /tmp ; dpkg-deb -b . /fuse.deb

Notes On Strange Loop 2013

The second Strange Loop I've attended was truly an amazing conference like no other. Last year's was fantastic, but this year was just, well, you really had to be there. Even so, I'll try to give a summary of stuff that happened.

Negatives

To get it out of the way now, these are the things I didn't like:

@taylor
taylor / Dockerfile
Created September 16, 2013 16:31 — forked from sntran/elixir
Erlang Dockerfile
# Erlang R16B HiPE with Rebar
#
# VERSION 0.0.1
FROM base
MAINTAINER Son Tran-Nguyen "[email protected]"
RUN apt-get update
RUN apt-get install -y git build-essential libncurses5-dev openssl libssl-dev curl
# For HiPE, requires M4
@taylor
taylor / Dockerfile
Created September 15, 2013 20:19 — forked from sntran/elixir
# Erlang R16B HiPE with Rebar
#
# VERSION 0.0.1
FROM base
MAINTAINER Son Tran-Nguyen "[email protected]"
RUN apt-get update
RUN apt-get install -y git build-essential libncurses5-dev openssl libssl-dev curl
# For HiPE, requires M4
#!/usr/bin/python
"""
This is a prepare-commit-msg hook for use with git-flow and Pivotal Tracker.
Copy this file to $GITREPOSITORY/.git/hooks/prepare-commit-msg
It will prepend [#<story id>] to your commit message.
See https://www.pivotaltracker.com/help/api?version=v3#scm_post_commit
11:14 <reiddraper> drev1: at a higher level, my goal is to launch a
Riak cluster on ec2 and have them join a cluster together without having to manually call "join"
11:15 <reiddraper> drev1: should I just launch one node first,
call it the master, and then write a script which calls join with
that node -- for the other machines?
11:16 <drev1> yes
11:16 <reiddraper> drev1: if I am launching a large cluster,
@taylor
taylor / riak-docker-braindump.rst
Created August 24, 2013 00:04 — forked from sa2ajj/braindump.rst
Thoughts on using Riak with Docker originally from https://gist.github.com/sa2ajj/5323326
# Copyright 2012 Erlware, LLC. All Rights Reserved.
#
# This file is provided to you under the Apache License,
# Version 2.0 (the "License"); you may not use this file
# except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
#!/usr/bin/env ruby
recipe_path = ARGV[0]
if recipe_path.nil?
STDERR.puts "usage: chef-apply RECIPE_FILE"
exit 1
end
recipe_path = File.expand_path(recipe_path)