Skip to content

Instantly share code, notes, and snippets.

aaronlerch / Gemfile
Last active August 29, 2015 14:16
blink1 + guard = simple test status indicator
# ...
group :development, :test do
# ...
gem "guard", require: false
gem "guard-shell", require: false
# ...
# ...
### Keybase proof
I hereby claim:
* I am aaronlerch on github.
* I am aaronlerch ( on keybase.
* I have a public key whose fingerprint is 4D45 4934 A0A0 1E9D 61FA EC85 9AD4 01C7 C20F 3B87
To claim this, I am signing this object:
aaronlerch / overviewer.conf
Last active August 29, 2015 14:12
Example configuration and update script for running The Minecraft Overviewer and uploading it to S3
worlds["myserver"] = "/opt/msm/servers/myserver/world"
def playerIcons(poi):
if poi['id'] == 'Player':
poi['icon'] = "" % poi['EntityId']
return "Last known location for %s" % poi['EntityId']
def signFilter(poi):
if poi['id'] == 'Sign':
return "\n".join([poi['Text1'], poi['Text2'], poi['Text3'], poi['Text4']])
aaronlerch / 0_reuse_code.js
Created August 15, 2014 17:56
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
App.PushClient = Em.Object.extend
members: prop ->
connect: (key, userId) ->
return unless Pusher?
@pusher = new Pusher key,
/// <summary>
/// ALL of this was copied directly out of Nancy.Owin.dll's source:
/// For the SOLE PURPOSE of customizving:
/// var nancyRequestStream = new RequestStream(owinRequestBody, ExpectedLength(owinRequestHeaders), 1048576, false);
/// </summary>
namespace FunkyTown
using System;
aaronlerch /
Created January 17, 2014 14:05
Enable SSH access for all members of a GitHub organization
# Find an expected user to add authorized_keys for

Title: Maloba

Oyo ezali lokasa na web.

Awa ezali mingi te.

Maloba kaka.

Na ozali kotanga bango.

aaronlerch /
Last active December 29, 2015 01:39
Nancy + Mono + nginx request stream bug

Reproduction scenario:

  • nginx installed via homebrew
  • running Mono 3.2.5 (also reproduced under mono 3.2.4)
  • latest stable release nuget package binaries in the same directory as app.cs -- bin list below
$ ls *.dll
aaronlerch /
Created August 7, 2013 16:46
Upstart scripts for MongoDB Monitoring Service agent (MMS) MongoDB Backup Service agent (MBS?)


Download and install the agent(s). These examples are on a standard 64-bit Amazon EC2 Linux AMI.


wget [path to mms agent download, specified by 10gen]
sudo tar xvzf 10gen-mms-agent-[CUSTOM_NAME].tar.gz -C /opt