Skip to content

Instantly share code, notes, and snippets.

@mericson
mericson / loadUrl.jsx
Created September 10, 2013 14:13
Loads data from a URL in Adobe Illustrator! (Uses Bridge behind the scenes)
var doc = app.activeDocument;
var docPath = doc.path;
function loadUrl(url, callback) {
var bt = new BridgeTalk();
bt.target = 'bridge' ;
@mericson
mericson / git-go
Created August 1, 2013 00:04
git-go (stolen, with minor tweaks, from @jashkenas)
#!/usr/bin/env ruby
cmds = []
cmds << "git add ."
cmds << "git add -u"
cmds << "git commit -m \"#{ARGV.join(' ')}\""
cmds << "git pull"
cmds << "git push"
system cmds.join("&&")