Skip to content

Instantly share code, notes, and snippets.

View jerem's full-sized avatar

Jérémy Bethmont jerem

View GitHub Profile
@jerem
jerem / timeit_decorator.py
Created January 17, 2014 11:01
timeit decorator
from timeit import Timer
def timeit(func):
def st_func(*args, **keyArgs):
result = list()
def my_func():
result.append(func(*args, **keyArgs))
t = Timer(my_func)
print t.timeit(number=10)
return result[0]

Keybase proof

I hereby claim:

  • I am jerem on github.
  • I am jerem (https://keybase.io/jerem) on keybase.
  • I have a public key whose fingerprint is D0EB C74F 9940 21E5 E82B BCCA 42A1 BCF7 6298 4EE4

To claim this, I am signing this object:

@jerem
jerem / tv.xml
Last active December 30, 2019 10:18
<tv source-info-url="http://www.schedulesdirect.org/" source-info-name="Schedules Direct" generator-info-name="XMLTV/$Id: tv_grab_na_dd.in,v 1.70 2008/03/03 15:21:41 rmeden Exp $" generator-info-url="http://www.xmltv.org/">
<channel id="I10436.labs.zap2it.com">
<display-name>TV5 Monde Asie</display-name>
</channel>
<programme start="20191230003000 -0600" stop="2020015010000 -0600" channel="I10436.labs.zap2it.com">
<title lang="en">NOW on PBS</title>
<desc lang="en">Jordan's Queen Rania has made job creation a priority to help curb the staggering unemployment rates among youths in the Middle East.</desc>
<date>20191230</date>
<category lang="en">Newsmagazine</category>
</programme>
Gist to hold Hass images.