mark.dog

mark.dog


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

October 2019
M T W T F S S
« Jan    
 123456
78910111213
14151617181920
21222324252627
28293031  

Categories


mark
Author

mark

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
"It’s OK to have your eggs in one basket as long as you control what happens to that basket."
— Elon Musk