This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!python3 | |
#original code https://gist.github.com/omz/fb180c58c94526e2c40b | |
#bosco added changes dropbox 2 functionality | |
#minor edits done to run in python3 | |
#see forum post https://forum.omz-software.com/topic/4425/dropbox-file-picker-needs-update | |
# 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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
''' | |
Basic theme editor for Pythonista 1.6 (beta) | |
WARNING: Use at your own risk! User themes aren't "officially" supported, and | |
this may break in future versions. If you enter invalid JSON or anything else | |
that the app can't deal with, it *will* crash -- your input is not validated | |
in any way. | |
''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Place this file inside your ~/.idlerc/ folder | |
# or paste its contents inside | |
# /path/to/python/idlelib/config-highlight.def | |
# Adapted from SublimeText's Monokai | |
[monokai] | |
normal-foreground= #F8F8F2 | |
normal-background= #272822 | |
keyword-foreground= #F92672 | |
keyword-background= #272822 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/network/interfaces | |
# Configured for bridging wifi<->ethernet | |
# Tested with: | |
# - RPi Model B Rev. 1 | |
# - 2013-02-09-wheezy-raspbian | |
# - Edimax 8192-series USB wireless adapter | |
# - /etc/modprobe.d/8192cu.conf contents: | |
# - options 8192cu rtw_power_mgnt=0 rtw_enusbss=0 | |
# - firmware: c2d133fb4efe9c9995da7fd7e1c45d74254f5c4b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# turtle.py | |
# Basic Turtle graphics module for Pythonista | |
# | |
# When run as a script, the classic Koch snowflake is drawn as a demo. | |
# The module can also be used interactively or from other scripts: | |
# >>> from turtle import * | |
# >>> right(30) | |
# >>> forward(100) | |
# ... |