Skip to content

Instantly share code, notes, and snippets.

Avatar

Toby Harris tobyspark

View GitHub Profile
@tobyspark
tobyspark / slms-discourse-media-downloader.py
Last active Sep 12, 2016
South London Makerspace - Discourse media downloader
View slms-discourse-media-downloader.py
#! /usr/bin/env python3
import sys
from urllib.request import Request, urlopen
from urllib.parse import urlencode
import json
import os.path
if len(sys.argv) != 2:
sys.exit('API key missing')
@tobyspark
tobyspark / PayPal CSV Exporter.py
Created Nov 26, 2015
PayPal exports transactions with Gross, Fee, Net in the same line item. Accounting software often needs to treat Fee as a separate line item. This script parses the PayPal export and separates out these, keeping the running balance true.
View PayPal CSV Exporter.py
#!/usr/bin/env python
import sys
import csv
import locale
if __name__ == '__main__':
"""
PayPal exports transactions with Gross, Fee, Net in the same line item.
Accounting software often needs to treat Fee as a separate line item.
@tobyspark
tobyspark / tbz.osx.config
Last active Oct 23, 2020
Script to configure a Max OS X machine to my taste
View tbz.osx.config
### Confiure a Mac OS X machine for my taste
### Toby Harris - http://tobyz.net / http://sparklive.net
### App Store
# Calca
# Coderunner
# Dash
# Xcode
@tobyspark
tobyspark / spark-livemachine-config
Last active Aug 29, 2015
Script to configure a Mac OS X machine for live performance use
View spark-livemachine-config
### Confiure a Mac OS X machine for live performance use
### Toby Harris - http://tobyz.net / http://sparklive.net
## Live
# stop all those damn noises
defaults write NSGlobalDomain com.apple.sound.beep.feedback -bool false
# Disable crash reporter dialog
defaults write com.apple.CrashReporter DialogType none
You can’t perform that action at this time.