Kumar Chetan SharmaStop treating URLs as strings!Do not manipulate URLs like strings. Treat them as objects. They have attributes and methods. Examples in Java & JavaScript for…2 min read·4 days ago----
Kumar Chetan SharmaHow to add module or file names for log lines in winston?How to add logging in nodejs applications? Winston for nodejs application logging1 min read·Apr 23, 2024----
Kumar Chetan SharmaAutomate volume snapshots on Digital Ocean & save moneyThis is not going to be a super long story. Digital Ocean doesn’t have a feature which allows one to automatically take snapshots of…2 min read·Apr 17, 2024----
Kumar Chetan SharmaSet up A/B testing using NginxA/B testing, also known as split testing, is a powerful method used by businesses to compare two versions of a webpage or app to determine…2 min read·Apr 8, 2024----
Kumar Chetan SharmaSet up A/B testing using Cloudflare workersLearn how to quickly & easily set up a/b testing using Cloudflare workers3 min read·Mar 22, 2024----
Kumar Chetan SharmaEvent Delegation: Save thou webpageTo make a web page interactive web developers rely on Events on the page. Event handling could be as easy as reloading the page on click of…1 min read·Dec 24, 2023----
Kumar Chetan SharmaHow to remove blank lines from text files or js filesBy running this command…1 min read·Dec 11, 2023----
Kumar Chetan SharmaReintroduction to Objects in JavaScript — Yet Another Primer (YAP!)Read about fundamentals of objects in JavaScript. Find how to create, add & access, modify and delete properties in objects15 min read·May 30, 2021----
Kumar Chetan SharmaArrow functions — Yet Another Primer (YAP!)Even after 6 years, arrow functions are not clear to lot of developers. Not any more, here is a primer on arrow functions5 min read·May 9, 2021----