How to Convert File Size to MB in JavaScript
Let’s have a look at how to convert file size to MB in JavaScript. Convert file size to MB in JS To convert file size to MB in JS, we can divide...
Let’s have a look at how to convert file size to MB in JavaScript. Convert file size to MB in JS To convert file size to MB in JS, we can divide...
Let’s have a look at several ways you can check and get the Laravel version your app is using. Check Laravel version via CLI Check Laravel version via PHP Using Application::VERSION is faster because...
With the release of Laravel 9.32, dd() and dump() functions’ output has been improved. They are now showing the source file and the line where they’re called. This is super helpful if...
With the release of Laravel 9.32, the Benchmark helper was introduced. The measure() static method takes in a Closure and outputs the execution time in milliseconds. We can also pass an array of...
Today I’d like to share with you the Indent-Rainbow extension. This extension colorizes the indentation in front of your text, making it more readable. ๐ It’s especially helpful if you’re working with Python...
Let’s look at how we can add custom headers to HTTP responses in a Laravel application. Create a Middleware One good solution, in this case, is to create a Middleware. Run the following...
Today I’d like to introduce you to sticky scrolling, a new helpful feature in VS Code. This feature lets you know in which scope you’re currently scrolling. It currently supports Classes, constructors, methods, Interfaces,...
Rainbow CSV extension will make your life easier if you’re working with CSV and TSV files. Highlight in different colors By default, if you open a CSV file it looks like plain text which...
In this post, you’ll learn how to create and use a custom domain name (i.e. example.com) instead of localhost in XAMPP. Let’s get started! Map the custom domain to localhost Runย Notepad as administrator and...
If you don’t want to be disturbed by notifications pop-ups that are not errors, Visual Studio Code now has the Do Not Disturb option. To turn off notifications, go to the bottom right...