Skip to content

Instantly share code, notes, and snippets.

View prokizzle's full-sized avatar
🌮
IT'S TACO TIME!

Nick Prokesch prokizzle

🌮
IT'S TACO TIME!
View GitHub Profile
@prokizzle
prokizzle / duration.py
Created May 26, 2014 16:34
Pythonista - Driving Duration Calculator
import urllib2
import urllib
import json
import webbrowser
import sys
origin = "78704"
destination = urllib.quote(sys.argv[1],'')
@prokizzle
prokizzle / itunes-toggle-up-next.scpt
Created November 30, 2012 19:36
Toggle iTunes Up Next - LaunchBar Action
tell application "iTunes" to activate
try
menu_click({"iTunes", "View", "Show Up Next"})
on error
menu_click({"iTunes", "View", "Hide Up Next"})
end try
-- `menu_click`, by Jacob Rus, September 2006
--
-- Accepts a list of form: `{"Finder", "View", "Arrange By", "Date"}`
-- Execute the specified menu item. In this case, assuming the Finder