303 followers
Developer learning to build good products π». Love playing Tennis πΎ and Indie Hacking π . Reach out to me on my twitter dm π¬ if you want to chat.
Let me set the context with this quote There are only two hard things in Computer Science: cache invalidation and naming things. ~ Phil Karlton Before we start talking about Cache Invalidation, let's see what cache actually is. Wikipedia says cache...
I am tired of logging JSON and seeing [Object] or [Array] on my terminal. So I set out on a mission to do something about it. Enter jq, a lightweight and flexible command-line JSON processor. You can follow the installation guide in the docs for you...
I recently came across an interesting pattern to render SVGs in an open-sourced project, so thought of sharing it. Instead of creating one file each for SVG, you construct an object with all your SVGs and export it like below const ICONS = { TWITTE...
We all use some VS Code extensions for our day to day development and are always on a hunt for more useful extensions. Here is a list of mine and how I use them: Peacock We have all been there when we have two editors open and coded in the wrong on...
Sometimes you just want to execute a particular function in an existing node.js backend, instead of making whole network requests to run that function you can run it using your CLI. Let's say you have a file hello.controller.js const byeController = ...
A lot of times you want to look at request objects and response objects of an API a bit more extensively and with a lot more freedom than what your browser allows. For this, I use this neat shortcut to copy the JSON to my editor. Go to the Network t...