Skip to content

Instantly share code, notes, and snippets.

@zeimusu
zeimusu / Time
Last active December 21, 2015 06:18
This gist provides a web page (time.php) that contains an image that is updated hourly. It is intended to be used with a directory of images with hashed filenames, generated by renameseq.py and shafile.py, and the event server timesse.php to make a "slow movie", rather like xkcd.com/time.
This gist provides a web page (time.php) that contains an image that is updated hourly.
It is intended to be used with a directory of images with hashed filenames, generated by renameseq.py and shafile.py, and the event server timesse.php to make a "slow movie", rather like xkcd.com/time.
The php file are put on the web server, and the python files can be put somewhere that python will find them. They should work ok in python2.