My static website generator using poole https://www.xythobuz.de
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

index.md 2.1KB

title: Home parent: main position: 10 flattr: true

compat: home

I’m a <!--% from datetime import datetime from datetime import timedelta from calendar import isleap

size_of_day = 1. / 366. size_of_second = size_of_day / (24. * 60. * 60.)

def date_as_float(dt):

days_from_jan1 = dt - datetime(dt.year, 1, 1)
if not isleap(dt.year) and days_from_jan1.days >= 31+28:
    days_from_jan1 += timedelta(1)
return dt.year + days_from_jan1.days * size_of_day + days_from_jan1.seconds * size_of_second

start_date = datetime(1994,1,22,0,0) end_date = datetime.now() difference_in_years = date_as_float(end_date) - date_as_float(start_date)

print int(difference_in_years)

%--> year old Information Engineering student from Germany, mostly building stuff with AVR microcontrollers. All of my projects are released as Free Software on my GitHub profile, with more informations here. Have fun!

Recent Blog Posts

Tweets