Stuff to install when setting up a new computer from an existing computer
Damn! Getting a computer setup is so time consuming! If only there was a list to know everything that I need to setup my dev environment. Now here is the list for my future self. Probably should convert this to a bash script.
Oct 1, 2022
How to stay motivated as a developer and stop procrastinating.
Do you ever find it difficult to work on your project, your side hustle, or even your hobby? In this article, I want to discuss what to do when you feel you have no motivation to do anything, or can not collect yourself to focus on your task at hand.
April 27, 2022
What is GraphQL?
In technical terms, a GraphQL is a query language - a syntax for querying for data from any data source - be it an API or database. GraphQL is an alternative to REST APIs and provides a new way of asking for data. GraphQL lets you specify what data fields you need, and delivers exactly those fields. GraphQL specification defines the set of rules for implementing a GraphQL API.
July 1, 2021
We need form validation anytime we are accepting a user input. We must ensure that the data entered is in correct format, lies within a valid range of data (such as for date fields) and does not contain malicious code that could lead to SQL injections. Malformed or missing data can also causes erroneous results from API.
January 20, 2021
August 26, 2020
You might think that encodeURI and encodeURIComponent do the same thing, at least from their names. And you might be confused which one to use and when. In this article, I will demystify the difference between encodeURI and encodeURIComponent.
August 5, 2020
Access-Control-Allow-Origin header explained- What is it used for and how to use it?
Access-Control-Allow-Origin is a CORS header. CORS is a mechanism for browsers to let a site running at origin A to request resources from origin B. Origin is not just the hostname, but a combination of port, hostname and scheme.
July 20, 2020
Events are actions that happen when a user interacts with the page. The browser notifies the system that something has happened, and it needs to be handled. It gets handled by registering a function, called `event handler`, that listens for a particular type of event.
June 11, 2020
June 1, 2020