A collection of code explained in my personal blog