Skip to content

Instantly share code, notes, and snippets.

View NorthIsUp's full-sized avatar
🥯

Adam Hitchcock NorthIsUp

🥯
View GitHub Profile
@NorthIsUp
NorthIsUp / RealtimeConf2012.md
Created October 29, 2012 17:58 — forked from rauchg/RealtimeConf2012.md
Realtime Conf 2012 Talks
#!/bin/bash
#
# A git hook for automatically running commands
# based on the name of files modified in the
# previous changeset
#
# To install as a post-merge hook (on `git pull`):
# $ cp hook.sh .git/hooks/post-merge && chmod 755 $_
#
# To install as a post-checkout hook (changing branches):
@NorthIsUp
NorthIsUp / hack.sh
Created March 31, 2012 19:12 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2267631/hack.sh | sh
#
@NorthIsUp
NorthIsUp / redis-server
Created June 15, 2011 22:52 — forked from tessro/redis-server
A CentOS initscript for Redis
#! /bin/sh
### BEGIN INIT INFO
# Provides: redis-server
# Required-Start: $syslog $remote_fs
# Required-Stop: $syslog $remote_fs
# Should-Start: $local_fs
# Should-Stop: $local_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: redis-server - Persistent key-value db