Hacker’s diary

Disclaimer: this is a summary for my records after a deep dive into current state of Redis. I tried to be as precise as possible (after all, I am writing […]

In Python, Redis.hset function has ‘items’ that, per documentation “accepts a list of key/value pairs that will be added to hash “name“.”. You would think that it’s something like [(“key1”, […]

Chrome: thisisunsafe!

TL;DR Under certain circumstances you won’t be able to access an HTTPS site with invalid certificate from Chrome, unless you type a magic cheat code “thisisunsave“. I was debugging a […]

Summary Unlike many other languages, Python allows abstract static methods (see the reference). A class directly or indirectly deriving from abc.ABC cannot be instantiated, unless all its abstract methods are […]

Online SQL Formatter

https://codebeautify.org/sqlformatter all the way. It is a 3rd of a 4th link on Google, but it provides the best formatting and the best experience. You paste your ugly formatted SQL […]