Recently Published

Chrome devtools: Using logpoints for logging messages directly

When it comes to debugging JavaScript in Chrome devtools, there are two different camps: the console.log fans and the debugger/breakpoint maximalist. I...

How to prevent npm install for unsupported Node.js versions

npm configurations allow us to do quite a lot of nifty things. One of them is to allow the project to set...

How to terminate a process on a port using the command line

Zombie processes are usually a pain to figure out. More often than not, I end up googling about how to terminate a...

Editor's Pick

How to remove yourself from someone’s twitter list

Lists are often ignored by most people on Twitter. Twitter lists can be a great way to organize your contacts. More often than not,...

Moving to BCC: an email etiquette you must know

We use email every day and most of the times the BCC is a crafty little feature that we rarely use. Usually, it is...

Using Prettier to format your JavaScript code

If you have been programming for a while, you would be familiar with the hassles of writing clean code and maintaining consistency across a...

Using Retrofit 2 and GSON for parsing JSON in Android

We have previously written about parsing JSON in Android without using any libraries in this post. In this one, we will use a library...

How to setup GatsbyJS starter with TypeScript and ESLint

Gatsby has become fairly popular in the last couple of years and it has starting becoming the go to static site generator...

Featured Articles

Using Retrofit 2 and GSON for parsing JSON in Android

We have previously written about parsing JSON in Android without using any libraries in this post. In this one, we will use a library...

Understanding the useRef React hook

Continuing our React hooks series, we will learn about the useRef React hook in this blog post.The useRef...

Mutant: An open-source, cross-platform, encrypted programming language

Mutant is an open-source, cross-platform, compiled, garbage collected, encrypted programming language that wants to make secure programming and security research more accessible....

The Beginner Syndrome

Someone recently reached out to me and asked how am I able to write consistently. Her exact words were: "how do you...

The Pomodoro Technique: Productivity hacks

The irony of time management productivity tips is that the people who need them the most do not realize that they do....

Skipping small talk to connect with people

We are living in a width world and not a depth world, mostly having shallow conversations with everyone around us. Most of the non-family relationships...

Latest Articles

How to terminate a process on a port using the command line

Zombie processes are usually a pain to figure out. More often than not, I end up googling about how to terminate a...

Detecting dark mode preference using JavaScript

As dark themes have become popular across the web and across operating systems, we might want to check the user's operating system...

JavaScript: Split string and keep the separators

String.prototype.split() is a valuable method to split strings based on a delimiter. There often comes a scenario when we want to split...

Printing JavaScript stack traces using console.trace

The console object in JavaScript has a lot more useful functions than the most frequently used console.log method. Debugging errors and finding...

Overriding nested dependencies in NPM

Whenever we install a particular package, it is common to come across a problem with a dependency's dependency. With the release of...

Automatic batching in React 18 helps avoid re-rendering

Remember the earlier versions of React that used to batch multiple state updates inside event handlers such as click or change to...

Flatten Arrays in Vanilla JavaScript with flat() and flatMap()

ES2019 introduced two methods on the array prototype that would make life so much simpler for developers. These are flat() and flatmap()...

Using GroupBy on an array of objects in JavaScript

Array grouping is a fairly common operation in any project. Until recently, we had to resort to either writing our own implementation...

Node.js introduces node: protocol imports

Node.js recently introduced a node: protocol for built-in modules. Built-in node modules can now be imported by prefixing the node: protocol prefix.

4 Tips To Maximize Your Productivity At Work

If you find yourself procrastinating because of the slightest distraction or don’t have an organized system to manage your productivity, this article...

JSON Modules in JavaScript

ES Modules were introduced in ES2015. The import and export keywords by default are only applicable to JavaScript code. But there is...

How to check if a string contains emojis in JavaScript?

If you have user-generated content in your web application, chances are you have to deal with strings containing emojis. Since emojis are...

Hi there! Want some more knowledge?

Think that the knowledge shared is helpful? You might want to give our mailing list a try. We'll send you 2-4 emails a month, right when new posts come out.