Skip to content

Instantly share code, notes, and snippets.

View DanielThomas's full-sized avatar

Danny Thomas DanielThomas

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@DanielThomas
DanielThomas / autostart-vpnc.sh
Created December 5, 2012 19:00
init script to automatically start vpnc on TomatoUSB 1.28 Shibby K26RT-N build 101
#!/opt/bin/bash
#
# requires: ipkg install bash procps
SERVICE_NAME=autostart-vpnc.sh
LOGFILE=/opt/var/log/$SERVICE_NAME.log
PACKET_LOGFILE=/var/log/messages
EXTERNAL_IF=vlan2
POLLING_INTERVAL=30
@DanielThomas
DanielThomas / colorize-maven.sh
Created December 3, 2012 19:25 — forked from mike-ensor/colorize-maven.sh
Colorize Maven output
#!/bin/sh
# Written by Mike Ensor (mike@ensor.cc)
# Copywrite 2012
# Use as needed, modify, have fun!
# This is intended to be used for Maven3 + Mac OSX
#
# To use:
# in your ".bashrc" or ".bash_profile" add the following line:
# source ~/<path to script>/colorize-maven.sh