⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
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
{ | |
"meta": { | |
"code": 200 | |
}, | |
"data": { | |
"created_at": "2013-06-07T14:05:17Z", | |
"num_stars": 1, | |
"num_replies": 6, | |
"source": { | |
"link": "http:\/\/im-fluss.appspot.com", |
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
{ | |
"meta": { | |
"code": 200 | |
}, | |
"data": { | |
"created_at": "2013-06-07T14:14:04Z", | |
"num_stars": 0, | |
"num_replies": 0, | |
"source": { | |
"link": "http:\/\/riposteapp.net", |
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
{ | |
"meta": { | |
"code": 200 | |
}, | |
"data": { | |
"created_at": "2013-06-07T14:15:00Z", | |
"num_stars": 0, | |
"num_replies": 0, | |
"source": { | |
"link": "http:\/\/tigerbears.com\/felix", |
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
#!/usr/bin/env python | |
# encoding: utf-8 | |
""" | |
mt940toOFX.py - Dieses Progrtamm liesst MT940 SWIFT Kontostände und konvertiert sie in OFX. | |
OFX wurde mit xero.com getestet. | |
Created by Maximillian Dornseif on 2010-06-05. | |
Copyright (c) 2010, 2013, 2014 HUDORA. All rights reserved. | |
""" |
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
# osm_shortlink.py - MAximillian Dornseif 2013 - Public Domain | |
# see http://wiki.openstreetmap.org/wiki/Shortlink | |
# https://github.com/openstreetmap/openstreetmap-website/blob/master/lib/short_link.rb | |
# and makeShortCode in | |
# https://github.com/openstreetmap/openstreetmap-website/blob/master/app/assets/javascripts/application.js | |
# array of 64 chars to encode 6 bits. this is almost like base64 encoding, but | |
# the symbolic chars are different, as base64's + and / aren't very | |
# URL-friendly. | |
ARRAY = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_~' |
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
{ | |
"annotations": [ | |
{ | |
"type": "net.app.core.oembed", | |
"value": { | |
"title": "In der Wand!", | |
"url": "http:\/\/distilleryimage11.s3.amazonaws.com\/b0672d1ec53411e2a9ea22000ae81462_7.jpg", | |
"height": 612, | |
"width": 612, | |
"version": "1.0", |
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
# transfer entries from a Wordpress blog to the DayOne app | |
# deletes the postings in Wordpress | |
from wordpress_xmlrpc import Client, WordPressPost | |
from wordpress_xmlrpc.methods.posts import GetPosts, NewPost, DeletePost | |
from wordpress_xmlrpc.methods.users import GetUserInfo | |
import os | |
import subprocess | |
import time |
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
# Reconstruct your Travel Route based on GPS Information | |
# in a folder of Pictures | |
# Files to watch for | |
pattern = '*.JPG' | |
# Dirs to search | |
roots = ['/Users/md/Pictures/iPhoto Library/Originals', '/Users/md/Pictures/Aperture Library.aplibrary/Masters/2012/'] | |
# output is in `reise.kml` |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Hackish Script to leech Karst/Cave Data from | |
# http://environnement.wallonie.be/cartosig/index.asp | |
# See http://cavehackers.de/77347676 for some background | |
import codecs | |
import urllib2 | |
import re |