Skip to content

Instantly share code, notes, and snippets.

View acutesoftware's full-sized avatar
💭
working on LifePIM Desktop

Duncan Murray acutesoftware

💭
working on LifePIM Desktop
View GitHub Profile
@acutesoftware
acutesoftware / progressive-ace.htm
Created November 29, 2017 05:18 — forked from duncansmart/progressive-ace.htm
Integrating ACE Editor in a progressive way
<textarea name="my-xml-editor" data-editor="xml" rows="15"></textarea>
...
<textarea name="my-markdown-editor" data-editor="markdown" rows="15"></textarea>
...
<script src="//d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js"></script>
<script>
// Hook up ACE editor to all textareas with data-editor attribute
$(function () {
@acutesoftware
acutesoftware / tax.py
Created July 14, 2015 05:48
Combine bank statements and map to tax categories to simplify Australian Tax returns
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# tax.py written by Duncan Murray 14/7/2015
#
# Step 1 - download all your bank statements in CSV format
# then update the raw_files dictionary below
#
# Step 2 - create a mappings.csv file which maps the start of a
# a details column to a mapping, e.g.
# Details_string Maps_to Deductible