I hereby claim:
- I am jarek on github.
- I am jarek (https://keybase.io/jarek) on keybase.
- I have a public key whose fingerprint is BAB1 6106 B642 371F 0AB8 A5BA D8B0 0764 962E 826B
To claim this, I am signing this object:
#!/usr/bin/env python3 | |
# coding=utf-8 | |
# An experiment from October 2015 in getting data out of DBpedia. It's proving to be a pain so not integrated anywhere yet. | |
import requests | |
URL = 'http://dbpedia.org/data/{}.jsod' | |
first_url = URL.format('Toronto') |
I hereby claim:
To claim this, I am signing this object:
$ md5sum gpg_public.key | |
9f23531032a11f7b68df48f720579444 gpg_public.key | |
$ sha256sum gpg_public.key | |
c7dd1e0c729072f364c7186d69ecfc22339aaa11d6b31446d7105c97ee6e1bb0 gpg_public.key | |
$ sha512sum gpg_public.key | |
b94f713e56c4c63008ce8045f1131cd8c8e2b43495c89c2594517cb2fe9d7385689dfa68009982bc491594106f879ae366f841fced5bbef996d093aa8b62ac5c gpg_public.key |
#!/usr/bin/env python2 | |
# this is an answer for http://stackoverflow.com/questions/28633986/ | |
# showing correct way of rounding microseconds and printing the result, | |
# which isn't straightforward using normal strftime() | |
import datetime | |
def round_microseconds(date, digits_to_show): | |
fraction = date.microsecond / 1000000.0 |