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
due://x-callback-url/add?title=[[line|2]]%20at%20[[line|3]]%0A{{clearapp://task/create?listName=[[line|1]]&taskName=[[line|2]]}}&x-source=Drafts&x-success={{drafts://}} |
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
due://x-callback-url/add?title=[[line|2]]%20at%20[[line|3]]%0A{{ita://addItem?list=[[line|1]]&items=[[line|2]]}}&x-source=Drafts&x-success={{drafts://}} |
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
//Create the following rule at Launch Center Pro: | |
drafts://x-callback-url/create?text={{[[clipboard]]}}&action=Markdown%20Short | |
//Add the following rule to Drafts, named Markdown Short: | |
drafts://x-callback-url/create?text=[[line|3]]&action=Markdown%3A%20Copy%20to%20Clipboard&x-source=Drafts&x-success={{drafts://x-callback-url/create?text=[[line|1]]%0A[[line|2]]&action=Short%20Clipboard%20Mail&afterSuccess=Delete}}&afterSuccess=Delete | |
//Add this other rule to Drafts, named Short Clipboard Mail: |
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
//Create the following rule at Launch Center Pro: | |
drafts://x-callback-url/create?text={{[[clipboard]]}}&action=Markdown%20Long | |
//Add the following rule to Drafts, named Markdown Long: | |
drafts://x-callback-url/create?text=[[body]]&action=Markdown%3A%20Copy%20to%20Clipboard&x-source=Drafts&x-success={{drafts://x-callback-url/create?text=[[title]]&action=Long%20Clipboard%20Mail&afterSuccess=Delete}}&afterSuccess=Delete | |
//Add this other rule to Drafts, named Long Clipboard Mail: |
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
# Adapted from Brett Terpstra script: http://brettterpstra.com/2013/04/28/instantly-grab-a-high-res-icon-for-any-ios-app/ | |
# Gets the 1024px version of an app icon and applies a rounded mask. The result is displayed in Pythonista's console, you can tap and hold to save or copy it. | |
# You may find odd result: try searching for both device categories. | |
# If you find any bug, you can find me @silouane20 on Twitter. | |
# iOS 7 masks by @pgruneich on Twitter. | |
from PIL import Image | |
from StringIO import StringIO | |
import re | |
import requests |
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
from webbrowser import open | |
from urllib import quote | |
query = sys.argv[1] | |
#Web Services | |
stackoverflow = '!s ' | |
wikipedia = '!w ' | |
macupdate = '!mac ' | |
appshopper = '!app ' |
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
<?php | |
class kirbytextExtended extends kirbytext { | |
function __construct($text, $markdown=true) { | |
parent::__construct($text, $markdown); | |
$this->addTags('video'); | |
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 -*- | |
from json import loads | |
from requests import get | |
import location | |
from datetime import date | |
import time | |
from console import alert | |
# Customization here | |
APItoken = 'Insert your API token here' |
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
import re | |
table = '''First Header,Second Header,Third Header | |
1st Item,2nd\,Item,3rd Item | |
,One cell,Two cells | |
Two cells,One cell, | |
Awesome''' | |
ttable = [[re.sub('\\\,',',',cell) for cell in re.split('(?<!\\\),', row)] for row in table.split('\n')] |