Skip to content

Instantly share code, notes, and snippets.

// Put me in: ~/Library/Application Support/Sublime Text 2/Packages/User/Main.sublime-menu
[{
"id": "view",
"children": [{
"id": "layout",
"children": [{
"command": "set_layout",
"caption": "Custom: 3 Pane",
"mnemonic": "C",
@mdpauley
mdpauley / gist:f6701eb899e5a4f4ac31
Created March 5, 2015 19:19
MapView pixel degree
MapView degree offset per pixel with a region delta of 0.01 is 0.00415162675109682. Only tested on iOS so far.
@mdpauley
mdpauley / alloy.jmk
Created August 2, 2015 15:43
alloy.jmk to bump version on build
var fs = require('fs');
var path = require('path');
task("pre:compile", function(event, logger) {
var tiappxml = path.join(event.dir.project, 'tiapp.xml');
var tiapp = fs.readFileSync(tiappxml, {
encoding : 'utf-8'
});

Keybase proof

I hereby claim:

  • I am mdpauley on github.
  • I am mdpauley (https://keybase.io/mdpauley) on keybase.
  • I have a public key whose fingerprint is 3FB2 2676 1CA8 B0B5 E348 CAED 24B9 A07F F188 1677

To claim this, I am signing this object: