Skip to content

Instantly share code, notes, and snippets.

@KayEss
KayEss / logparser.py
Created January 4, 2014 12:40
Some Python code for parsing the output of the `svn log` command.
#!/usr/bin/env python
import os
import subprocess
import sys
REPO="file:///var/backups/fsl-svn/felspar/"
def capture(args):
@KayEss
KayEss / skype.json
Created October 18, 2013 12:39
mkschroot configuration file for running Skype inside a schroot.
{
"root": "/var/chroot/",
"source": "http://th.archive.ubuntu.com/ubuntu/",
"http-proxy": "http://apt-cacher:3142/",
"defaults": {},
"schroot": {
"skype": {
"release": "lucid",
"packages": [
"libasound2", "libqt4-dbus", "libqt4-network", "libqt4-webkit",
@KayEss
KayEss / console-reporter.js
Last active December 14, 2015 20:09
Components for testing AngularJS controllers and some templates from the command line, using PhantomJS and over the file:// protocol so there's no need to run a web server for build bots etc.
(function() {
if (! jasmine) {
throw new Exception("jasmine library does not exist in global namespace!");
}
var ConsoleReporter = function() {
this.started = false;
this.finished = false;
};