Skip to content

Instantly share code, notes, and snippets.


Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096
ywangd /
Last active Apr 10, 2020
Proof-of-Concept Client for Pythonista-Script-Index
Basic client for Pythonista Script Index (
See also:
import platform
import sys
import os
import urllib2
import json
View Dropbox File
# 1. Go to (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)
import os
import sys
import pickle
import console
import dropboxlogin # this code can be found here
STATE_FILE = '.dropbox_state'
IGNORE_FILE = '.dropbox_ignore'