Skip to content

Instantly share code, notes, and snippets.

View beaufour's full-sized avatar

Allan Beaufour beaufour

View GitHub Profile
# hubot
#
description "Hubot chat bot"
start on filesystem or runlevel [2345]
stop on runlevel [!2345]
setuid ubuntu
setgid ubuntu
#!/bin/bash
# Core
export HUBOT_HIPCHAT_JID="XXXXX"
export HUBOT_HIPCHAT_PASSWORD="YYYYY"
export HUBOT_AUTH_ADMIN=ZZZZZ
export HUBOT_DIR=/home/ubuntu/ponce
# Plugins
export HUBOT_DARK_SKY_API_KEY="XXXXXX"
@beaufour
beaufour / pre-commit-runner.bash
Created April 2, 2013 13:40
A git commit hook runner, for running multiple commit scripts
#!/bin/bash
#
# Collection of pre-commit hooks
#
set -e
# Get directory of script file
ME=$0
if [ -h ${ME} ]; then
[user]
name = Allan Beaufour
email = ...
[color]
ui = auto
[pack]
threads = 0