Skip to content

Instantly share code, notes, and snippets.

View nessamurmur's full-sized avatar

Nessa Jane Marin nessamurmur

View GitHub Profile
@nessamurmur
nessamurmur / babel-results.json
Last active August 29, 2015 14:24 — forked from anonymous/munger.rb
Benchmarking Node
{
"name": "ec2",
"succeeded": {
"fortune": [],
"plaintext": [
"hapi"
],
"db": [],
"update": [],
"json": [
description "This is an upstart job file for Immutant"
pre-start script
bash << "EOF"
mkdir -p /var/log/immutant
chown -R immutant /var/log/immutant
EOF
end script
# Ubuntu doesn't yet emit the network-services event:
#!/usr/bin/env bash
#
# JBoss standalone control script
#
# chkconfig: - 80 20
# description: JBoss AS Standalone
# processname: standalone
# pidfile: /var/run/jboss-as/jboss-as-standalone.pid
# config: /etc/jboss-as/jboss-as.conf
#!/usr/bin/env escript
% -*- mode: erlang -*-
main([BeamFile]) ->
{ok,{_,[{abstract_code,{_,AC}}]}} = beam_lib:chunks(BeamFile,[abstract_code]),
io:fwrite("~s~n", [erl_prettypr:format(erl_syntax:form_list(AC))]).
@nessamurmur
nessamurmur / pre-commit.sh
Last active December 23, 2015 19:59 — forked from alexbevi/pre-commit.sh
Try to prevent binding.prys being commited
# Git pre-commit hook to check all staged Ruby (*.rb/erb/coffee) files
# for Pry binding references
#
# Installation
#
# ln -s /path/to/pre-commit.sh /path/to/project/.git/hooks/pre-commit
#
# Based on
#
# http://codeinthehole.com/writing/tips-for-using-a-git-pre-commit-hook/