Hi, I'm Melvin George. I help the world by building quality software.

         

Recent blogs

How to check if a file exists asynchronously in Node.js?

Learn how to use the access() method from the filesystem module to check if a file exists asynchronously in Node.js

Read
Node.js
How to check if a file exists synchronously in Node.js?

Learn how to use the existsSync() method from the filesystem module to check if a file exists synchronously in Node.js

Read
Node.js
How to change the permissions of a file synchronously using Node.js?

Learn how to use the chmodSync() method from the filesystem module to change the permissions of a file synchronously using Node.js

Read
Node.js
How to change the permissions of a file asynchronously using Node.js?

Learn how to use the chmod() method from the filesystem module to change the permissions of a file asynchronously using Node.js

Read
Node.js
How to watch a file for changes using Node.js?

Learn how use the watchFile() method from fs module to watch a file for changes using Node.js

Read
Node.js
How to show a prompt and get input from the command line in Node.js?

Learn how to use the readline module to show a prompt and get input from the command line in Node.js

Read
Node.js
How to get the uptime of the system using Node.js?

Learn how to use the uptime() method from the os module to get the uptime of system using Node.js

Read
Node.js
How to get the total memory of a system using Node.js?

Learn how to use the totalmem() method from the os module to get the total memory of a system using Node.js

Read
Node.js
How to get the path to the temporary files directory in Node.js?

Learn how to use the tmpdir() method from the os module to get the path to the temporary files directory in Node.js

Read
Node.js
How to get the version number of the OS in Node.js?

Learn how to use the release() method from the os module to get the version number of the OS in Node.js

Read
Node.js
How to get the name of the operating system platform in Node.js?

Learn how to use the platform() method from the os module to get the name of the operating system platform in Node.js

Read
Node.js
How to get the hostname of the OS in Node.js?

Learn how to use the hostname() method from the os module to get the hostname of the OS in Node.js

Read
Node.js
How to get the current home directory of the user in Node.js?

Learn how to use the homedir() method from the os module to get the current home directory of the user in Node.js

Read
Node.js
How to get the amount of free or available space using Node.js?

Learn how to use the freemem() method from the os module to get the amount of free or available space using Node.js

Read
Node.js
How to check if two objects are equal in JavaScript?

Learn how to use the JSON.stringify() method to check if two objects are equal in JavaScript

Read
JavaScript
How to push the commits to the branch if the commits are rejected after the git rebase process?

Learn how to push the commits to the branch if the commits are rejected after the git rebase process

How to convert a number to hexadecimal format and vice-versa in JavaScript?

Learn how to use the toString() and parseInt() number methods to convert a number to hexadecimal format and vice-versa in JavaScript

Read
JavaScript
How to check if a variable is of type object in JavaScript?

Learn how to use the typeof operator to check if a variable is of type object in JavaScript

Read
JavaScript
How to check if a variable is a string in JavaScript?

Learn how to use the typeof operator to check if a variable is a String in JavaScript

Read
JavaScript
How to disable an input tag using HTML?

Learn how to use the disabled attribute to disable an input tag using HTML

Read
HTML5
How to make an input tag read-only using HTML?

Learn how to use the readonly attribute to make an input tag read-only using HTML

Read
HTML5
How to change the URL of a webpage without reloading using Javascript?

Learn how to use the replaceState() method in the history object to change the URL of a webpage without reloading using Javascript

Read
JavaScript
How to put text inside pseudo elements in CSS?

Learn how to use the content property to put text inside pseudo elements in CSS

How to put an image inside pseudo elements in CSS?

Learn how to use the url() function to put an image inside pseudo elements in CSS

How to check for spelling mistakes or errors in input tag natively in HTML?

Learn how to use the spellcheck global attribute to check for spelling mistakes or errors in input tag natively in HTML

Read
HTML5
How to print the full webpage using JavaScript?

Learn how to print the full webpage using JavaScript

Read
JavaScript
How to print JSON output beautifully in JavaScript?

Learn how to print JSON output beautifully or pretty-print in JavaScript

Read
JavaScript
How to check if an opened browser window is closed or not in JavaScript?

Learn how to use the closed property to check if an opened browser window is closed or not in JavaScript

Read
JavaScript
How to put SVG inside pseudo elements in CSS?

Learn how to use the url() funtion to put SVG inside pseudo elements in CSS

How to turn off the relative positioning of an element in CSS?

Learn how to turn off the relative positioning of an element in CSS?

Read more articles →