Skip to content

Instantly share code, notes, and snippets.

View Themitchell's full-sized avatar

Andy Mitchell Themitchell

  • London, UK
View GitHub Profile
@Themitchell
Themitchell / serato_dj_midi_map.xml
Created November 3, 2014 13:25
Serato DJ Midi Map XML (double midi light out trigger bug?)
<midi app="1.7.2.4139">
<control channel="1" event_type="Note On" control="0">
<userio event="click">
<auto_loop_specific_length deck_set="Default" deck_id="0" slot_id="5">
<translation action_on="any" behaviour="explicit"/>
</auto_loop_specific_length>
</userio>
<userio event="output">
@Themitchell
Themitchell / backup_itunes_asd.sh
Last active August 29, 2015 14:08
Ableton Live .asd backup script for iTunes
#!/bin/bash
# This script will backup all Ableton Live .asd files from one iTunes folder to another.
# It is particularly useful when using iTunes Match in order to manage music on multiple machines
# and allows consistent .asd files on all devices.
# Always provide trailing slashes to the directories provided for both source and target
SOURCE_ITUNES_LOCATION="andy@aliceriondsimac.home:/Volumes/Media/iTunes/"
TARGET_ITUNES_LOCATION="/Users/andy/Music/iTunes/"
{
"auto_complete": true,
"auto_complete_commit_on_tab": false,
"auto_complete_delay": 50,
"auto_complete_selector": "source - comment",
"auto_complete_size_limit": 4194304,
"auto_complete_triggers":
[
{
"characters": "<",
#!/usr/bin/env ruby
#
# Locates and removes Homebrew installation
# http://brew.sh/
#
# Author: Stephen Benner
# https://github.com/SteveBenner
#
# Contributors:
# - @AaronKulick
<midi>
<!-- LAUNCH CONTROL MAPPINGS FOR SERATO SCRATCH LIVE -->
<!-- ----------------------------------------------- -->
<!-- LAUNCH CONTROL - FACTORY MODE - SAMPLER -->
<!-- --------------------------------------- -->
<!-- LAUNCH CONTROL - FACTORY MODE - SAMPLER - BUTTONS - TRIGGER SAMPLE -->
<!-- ------------------------------------------------------------------ -->
<midi>
<!-- LAUNCH PAD MAPPINGS FOR SERATO SCRATCH LIVE -->
<!-- ------------------------------------------- -->
<!-- LAUNCH PAD - USER MODE 1 - LOOPER & CUE -->
<!-- --------------------------------------- -->
<!-- LAUNCH PAD - USER MODE 1 - LOOPER & CUE - BUTTON COL 1 - RELOOP A -->
<!-- ----------------------------------------------------------------- -->
@Themitchell
Themitchell / github-issue-importer
Last active December 21, 2015 20:49
Python Github Issue Importer - Imports issues from one repo to another repo
#!/usr/bin/python
"""
Import Github issues from one repo to another.
The orignal work: https://github.com/mkorenkov/tools/blob/master/gh-issues-import/gh-issues-import.py
(assuming public domain license).
Used to migrate Github's Plone Conference 2012 temporary repository
to collective.developermanual issues.
@Themitchell
Themitchell / User Key Bindings
Last active October 11, 2015 16:07
My Sublime User Preferences
[
{ "keys": ["super+m"], "command": "toggle_minimap" }
]