Skip to content

Instantly share code, notes, and snippets.

View jameswbaxter's full-sized avatar

James Baxter jameswbaxter

View GitHub Profile
@jameswbaxter
jameswbaxter / capture_mileage.py
Created June 10, 2014 20:38
Short python script to pickle petrol receipts for interesting analytics
from datetime import datetime
import os
import pickle
__author__ = 'manicmonkey'
MILEAGE_DATA_DIR = '/home/manicmonkey/Documents/Mileage/'
class DataParseException(Exception):
def __init__(self, msg, ex = None):
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* @author jbaxter - 2013-10-29
*/
public aspect Trace {
private static final Logger log = LoggerFactory.getLogger("com.manicmonkey.profiling");