mark.dog

mark.dog


Currently working at FIFA Index and Klippa. Find me on Twitter, GitHub or LinkedIn – Mark Doggen

December 2019
M T W T F S S
« Jan    
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Categories


Programming

Fixing HTTPS on Disqus

A while ago I upgraded FIFA Index to https. It worked fine on the most pages, but it bugged me that some pages would still show the “Mixed Content” warning. This means that, even though most requests are coming over https, a few of them still are still using http and thus making your page insecure.

markmark

Redis cache decorator

Some time ago I had to perform some time intensive operations in Python. A certain method would always return the same (given the same arguments), but get queried numerous times while running the script. Caching would make this script a lot faster, so I made this easy Redis decorator that can be slapped onto any Python method and make it’s output cacheable right away.

markmark