Skip to content

Instantly share code, notes, and snippets.

@moyashi
moyashi / gistcheck.py
Last active December 7, 2016 09:32 — forked from spencerogden/gistcheck.py
Script for use with Pythonista to allow Github Gists for script storage and retrieval. Copy script in full into a new script in Pythonista called "gitcheck". Run the script and it will create 4 scripts starting with "Gist". These can be added to the action menu. See comments for more details.
# Source: https://gist.github.com/4702275
#
# All-purpose gist tool for Pythonista.
#
# When run directly, this script sets up four other scripts that call various
# functions within this file. Each of these sub-scripts are meant for use as
# action menu items. They are:
#
# Set Gist ID.py - Set the gist id that the current file should be
# associated with.
@moyashi
moyashi / DropboxFilePicker.py
Last active March 16, 2019 00:40 — forked from omz/Dropbox File Picker.py
Dropbox File Picker.py
#!python2
# 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"
@moyashi
moyashi / dropboxloginv2.py
Last active February 28, 2018 05:22 — forked from KainokiKaede/dropboxloginv2.py
dropboxlogin
#!python3
# YOU NEED TO INSERT YOUR APP KEY AND SECRET BELOW!
# Go to dropbox.com/developers/apps to create an app.
from __future__ import absolute_import
from __future__ import print_function
app_key = 'YOUR_APP_KEY'
app_secret = 'YOUR_APP_SECRET'
import webbrowser
@moyashi
moyashi / DropboxSyncv2.py
Last active September 24, 2017 15:01 — forked from KainokiKaede/DropboxSyncv2.py
DropboxSync
#!python3
from __future__ import absolute_import
from __future__ import print_function
import os
import sys
import pickle
import console
import editor
import dropbox