Blog
Setting up auto-formatting in VSCode in 5 minutes
Set up auto formatting in VSCode in just 5 minutes.
Dec 14, 2020
BLOG. EVERY. SINGLE. WEEK!!
Just some random rant to make myself blog every week
Dec 09, 2020
Cleaning up stowaway git commits in Pull Requests
It's easy to submit dirty PRs with unnecessary number of stowaway commits. Learn how to clean this up.
Dec 07, 2020
Async Await usage and pitfalls in Array.prototype.map() and chaining
Using async await in array methods is quite tricky. But it gets even trickier when you chain multiple array methods. Find out how.
Sep 29, 2020
Simplify code by promisifying `setTimeout`
Simplify and clean your codebase by making setTimeout more idiomatic using Promises
Sep 28, 2020
Split Array into `n` number of chunks
Split an array into `n` number of multiple arrays with JavaScript
Sep 27, 2020
GIF to MP4 conversion for web using NodeJS
GIF to MP4 conversion for performance is all the rage nowadays. But doing so in practice is really difficult, especially for cross-browser compatibility. Learn how to do it right
Sep 25, 2020
SERIES How I created my personal sitePart 3 - Image Optimization Automation with Incremental builds
In this post, I delve deep into how I automated image optimization on my blog.
Jun 29, 2020
SERIES How I created my personal sitePart 2 - Blogging with Markdown
In this post, I delve into the details of how I built the blogging with markdown system
Jun 28, 2020
SERIES How I created my personal sitePart 1 - Tech Stack & Design
In this post, I delve into the details of the design part of how I built my personal site with StencilJS and what did I use to do so.
Jun 27, 2020
Safeguarding target=_blank links
Do you know adding a link with target=_blank has the potential of crashing your page and is very insecure? Find out how and its prevention.
Jun 09, 2020
Performantly loading Google Fonts based on Data Saver
Efficiently and Asynchronously load Google Fonts based on Data Saver mode
Jun 05, 2020
Web Workers: Intro and Basic Usage
Have you ever heard this term "Web Workers" mentioned somewhere and wondered what the hell is this new thing? let me introduce you to this great tech.
Jun 05, 2020
StencilJS Route Change events - Without any dependencies
How to detect route changes in StencilJS Router using the core StencilJS APIs. No dependencies.
Jun 03, 2020
Pitfalls when using Stencil Helmet during Prerendering
Stencil Helmet can break the whole app really bad on some occasions, some so random that you might never find out why
Jun 02, 2020
My First Blog post
My very first blog post on my very first functional site
May 31, 2020