Skip to content

Instantly share code, notes, and snippets.

Florian Klien flowolf

View GitHub Profile
@flowolf
flowolf / phone_booth_austria
Last active Jan 25, 2016
query all phone booths in Austria
View phone_booth_austria
/*
This is an Overpass query.
It queries all phone booths in Austria.
*/
area
[admin_level=2]
["boundary"="administrative"]
["name"="Österreich"]->.a;
node
(area.a)
@flowolf
flowolf / gist:7247585
Last active Dec 27, 2015
simple python solution to puddle problem found here: http://qandwhat.apps.runkite.com/i-failed-a-twitter-interview/
View gist:7247585
# Python solution to the puddle problem
# from: http://qandwhat.apps.runkite.com/i-failed-a-twitter-interview/
#
# single pass, streaming capable. O(n), memory as much as wall size.
#
def calc_vol(a):
vol = 0
count = [0]
maxi = 0
last = 0
View gist:de4374e697a2cb94f15b
### Keybase proof
I hereby claim:
* I am flowolf on github.
* I am flowolf (https://keybase.io/flowolf) on keybase.
* I have a public key whose fingerprint is 82CB C28E 4125 ABF9 DB0C 0E07 0167 D15E 878D 8361
To claim this, I am signing this object:
You can’t perform that action at this time.