How to download large files from the web with PHP 11 months ago php Generally, downloaded files are loaded into the memory as a byte array. This is not a problem when...
How to configure and use jQuery with webpack 11 months ago jQuery jQuery is a lightweight JavaScript library that makes DOM manipulation a breeze. Even with the rise...
How to show the published date as “time ago” in WordPress? 12 months ago wordpress In this post, you’ll learn how you can change WordPress date to the ‘time ago’...
How to get the root directory of a project in Node.js 12 months ago nodejs There are many ways you can get the root directory of a Node.js application, each with its own pros...
How to listen to a single event with multiple elements in JavaScript 12 months ago javascript Usually, in JavaScript, we listen to a single event from a single element like this: But what if...
How to defer parsing JavaScript in WordPress 12 months ago wordpress It’s a good practice to delay parsing JavaScript until the page content is loaded. This will...
How to restrict the input element to numeric values only in HTML 12 months ago html In this post, I’ll be showing you two easy ways you can use to restrict an HTML input element...
How to use async/await with axios.js in JavaScript 12 months ago javascript Axios.js is a JavaScript library for making HTTP requests based on promises. We usually use the...
How to check whether a path is a file or a directory in Python 1 year ago python In this post, you shall learn if a given path is a file or a directory with the help of the Python...
How to check if a directory or a file exists or not in Python 1 year ago python Checking if a file or a directory exists with the Python language is straightforward; all you need...