#MindNode URL Schemes
###Launch MindNode mindnode://
####Examples mindnode://
###Open Document
| import re, fileinput | |
| import pyPEG | |
| from pyPEG import parse, parseLine | |
| from pyPEG import keyword, _and, _not, ignore | |
| import datetime | |
| ## Taken from https://gist.github.com/bertspaan/3059017 and translated to English. It is Working well BUT if you find any errors, please comment! | |
| numbers = [ | |
| "zero", |
| # | |
| # Hydrogen is a lightweight GUI framework for Pythonista | |
| # | |
| # Hydrogen - https://gist.github.com/BashedCrab/5924965 | |
| # | |
| # HydrogenLayouts - https://gist.github.com/BashedCrab/6103019 | |
| # | |
| # HydrogenDemo - https://gist.github.com/BashedCrab/5953776 | |
| # |
| # | |
| # Hydrogen is a lightweight GUI framework for Pythonista | |
| # | |
| # Hydrogen - https://gist.github.com/BashedCrab/5924965 | |
| # | |
| # HydrogenLayouts - https://gist.github.com/BashedCrab/6103019 | |
| # | |
| # HydrogenDemo - https://gist.github.com/BashedCrab/5953776 | |
| # |
| # Copyright 2014 Dan Krause | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| var pushRight = slate.operation("push", { | |
| "direction": "right", | |
| "style": "bar-resize:screenSizeX/2" | |
| }); | |
| var pushLeft = slate.operation("push", { | |
| "direction": "left", | |
| "style": "bar-resize:screenSizeX/2" | |
| }); |
| #!/usr/bin/env python | |
| # saved to ~/bin/batcharge.py and from | |
| # http://stevelosh.com/blog/2010/02/my-extravagant-zsh-prompt/#my-right-prompt-battery-capacity | |
| #!/usr/bin/env python | |
| # coding=UTF-8 | |
| import math, subprocess | |
| p = subprocess.Popen(["ioreg", "-rc", "AppleSmartBattery"], stdout=subprocess.PIPE) | |
| output = p.communicate()[0] |
| import sys | |
| import console | |
| import requests | |
| from bs4 import BeautifulSoup | |
| from datetime import datetime | |
| # | |
| # Check the status of the Apple Dev Center systems. | |
| # Offline systems appear in orange | |
| # Online systems appear in black | |
| # |
| # | |
| # Hydrogen is a lightweight GUI framework for Pythonista | |
| # | |
| # Hydrogen - https://gist.github.com/BashedCrab/5924965 | |
| # | |
| # HydrogenLayouts - https://gist.github.com/BashedCrab/6103019 | |
| # | |
| # HydrogenDemo - https://gist.github.com/BashedCrab/5953776 | |
| # |
| # Launcher | |
| # | |
| # A Simple Launcher in Notification Center | |
| from scene import * | |
| import webbrowser | |
| import notification | |
| class Key (object): | |
| def __init__(self, frame): |