Skip to content

Instantly share code, notes, and snippets.

View simonexmachina's full-sized avatar

Simon Wade simonexmachina

  • Melbourne, Australia
View GitHub Profile
@simonexmachina
simonexmachina / output.log
Created September 17, 2013 21:06
Trying to get ember-app-kit to compile incrementally. My comments are prefixed with '###'
$ grunt server
Running "clean:build" (clean) task
Cleaning "tmp"...OK
Running "lock" task
Running "concurrent:debug" (concurrent) task
Running "emberTemplates:debug" (emberTemplates) task
File "tmp/public/assets/templates.js" created.
@simonexmachina
simonexmachina / gist:3635850
Created September 5, 2012 12:24
Hello world
Hello. World!
@simonexmachina
simonexmachina / shorewall.sh
Created July 2, 2012 07:40
Install Shorewall
#!/bin/bash
sshPort="40000"
shellUser=`whoami`
export homeDir="/home/$shellUser"
export baseDir="$homeDir/server-setup"
addToRepo() {
file=$1
@simonexmachina
simonexmachina / building-install-check.sh
Created June 4, 2012 11:38
Test that rsync and php4-domxml are working on old Debian
#!/bin/bash
# Test that domxml is installed
php -r "domxml_version();" > /dev/null 2>&1
[ $? -eq 0 ] || echo -e "\a#### Error: php4-domxml not loaded ####"
# Test that rsync is installed
rsync -h > /dev/null 2>&1
[ $? -eq 0 ] || echo -e "\a#### Error: rsync not installed ####"
@simonexmachina
simonexmachina / building-install.sh
Created June 4, 2012 10:34 — forked from alexhayes/building-install
Install rsync and php4-domxml on old Debian
#!/bin/bash
V30=`grep "3.0" /etc/issue`
V31=`grep "3.1" /etc/issue`
V4=`grep "4." /etc/issue`
V5=`grep "5." /etc/issue`
V6=`grep "6." /etc/issue`
UPDATE_SOURCES=1
if [ "$V30" != "" ]; then