A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
For Mac users, I highly recommend iTerm 2 + Solarized Dark
#!/bin/bash | |
# * * * * * root /path/to/riak_graphite_stats.sh | |
set -e | |
SOURCE=$(hostname) | |
GRAPHITE_PORT=2003 | |
GRAPHITE_SERVER="server" | |
PREFIX="riak_stats" | |
STATUS=$(/usr/sbin/riak-admin status) |
#!/bin/sh | |
# | |
# Salt minion | |
################################### | |
# LSB header | |
### BEGIN INIT INFO | |
# Provides: salt-minion | |
# Required-Start: network |
From: Chris DeSalvo <[email protected]> | |
Subject: Why we can't process Emoji anymore | |
Date: Thu, 12 Jan 2012 18:49:20 -0800 | |
Message-Id: <[email protected]> | |
--Apple-Mail=_6DEAA046-886A-4A03-8508-6FD077D18F8B | |
Content-Transfer-Encoding: quoted-printable | |
Content-Type: text/plain; | |
charset=utf-8 |
# Twitter stream analyser and network activator (TSANA) | |
# | |
# This script analyses a twitter stream for keywords using the twitter | |
# streaming api - off the back of it, it then hits a user defined url | |
# In my case this is being used to tell an Arduino to pulse a light but | |
# could be used for anything arbitrary. | |
# | |
# Author: Andrew Fisher | |
# Version: 0.3 | |
# Date: 20/10/2011 |
#!/bin/bash | |
# | |
# create a new user called airvideo | |
# $ sudo adduser airvideo | |
# place this file in /etc/init.d/airvideo-server | |
# change the file permission to executable: | |
# $ sudo chmod +w /etc/init.d/airvideo-server | |
# add it to default run level | |
# $ sudo update-rc.d airvideo-server defaults | |
# |
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: supervisord | |
# Required-Start: $remote_fs | |
# Required-Stop: $remote_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Example initscript | |
# Description: This file should be used to construct scripts to be | |
# placed in /etc/init.d. |