Skip to content

Instantly share code, notes, and snippets.

View Themitchell's full-sized avatar

Andy Mitchell Themitchell

View GitHub Profile
@Themitchell
Themitchell / User Key Bindings
Last active October 11, 2015 16:07
My Sublime User Preferences
[
{ "keys": ["super+m"], "command": "toggle_minimap" }
]
@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.
<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 -->
<!-- ----------------------------------------------------------------- -->
<midi>
<!-- LAUNCH CONTROL MAPPINGS FOR SERATO SCRATCH LIVE -->
<!-- ----------------------------------------------- -->
<!-- LAUNCH CONTROL - FACTORY MODE - SAMPLER -->
<!-- --------------------------------------- -->
<!-- LAUNCH CONTROL - FACTORY MODE - SAMPLER - BUTTONS - TRIGGER SAMPLE -->
<!-- ------------------------------------------------------------------ -->
#!/usr/bin/env ruby
#
# Locates and removes Homebrew installation
# http://brew.sh/
#
# Author: Stephen Benner
# https://github.com/SteveBenner
#
# Contributors:
# - @AaronKulick
{
"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": "<",
@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/"
@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 / serato_dj_launchpad_midi_mapping.xml
Created November 8, 2014 10:02
Serato DJ MIDI Mappings for Novation Launchpad
<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 / serato_dj_lanuch_control_midi.xml
Created November 27, 2014 19:12
Serato DJ MIDI Mappings for Novation Launch Control
<midi app=" 1.7.2.4859">
<control channel="1" event_type="Control Change" control="114">
<userio event="click">
<sample_player_bank_select deck_set="Default" deck_id="0" slot_id="0">
<translation action_on="press" behaviour="static" static_value="Bank A"/>
</sample_player_bank_select>
</userio>
</control>
<control channel="1" event_type="Control Change" control="115">