Skip to content

Instantly share code, notes, and snippets.

View Austinate's full-sized avatar

Ostap Austinate

View GitHub Profile
@Austinate
Austinate / Dropbox File Picker.py
Created January 14, 2016 16:10 — forked from omz/Dropbox File Picker.py
Dropbox File Picker.py
# IMPORTANT SETUP INSTRUCTIONS:
#
# 1. Go to http://www.dropbox.com/developers/apps (log in if necessary)
# 2. Select "Create App"
# 3. Select the following settings:
# * "Dropbox API app"
# * "Files and datastores"
# * "(No) My app needs access to files already on Dropbox"
# * "All file types"
# * (Choose any app name)
@Austinate
Austinate / Add Web Tab.py
Created January 14, 2016 16:08 — forked from omz/Add Web Tab.py
Insert a custom browser tab into Pythonista
# coding: utf-8
from objc_util import *
import console
import urllib
import dialogs
WKWebView = ObjCClass('WKWebView')
UIViewController = ObjCClass('UIViewController')
UIBarButtonItem = ObjCClass('UIBarButtonItem')
NSURLRequest = ObjCClass('NSURLRequest')