Skip to content

Instantly share code, notes, and snippets.

View j7's full-sized avatar

Javier Carballo j7

View GitHub Profile
@j7
j7 / gist:9367435
Last active August 29, 2015 13:57 — forked from ctavan/gist:4482825
Redis Cluster
#! /bin/bash
### BEGIN INIT INFO
# Provides: redis-server
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# 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
@j7
j7 / hack.sh
Last active December 15, 2015 03:59 — forked from erikh/hack.sh
#!/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://gist.github.com/j7/5198553/hack.sh | sh
#