by S M Zahed Kamal | Dec 31, 2024 | How To, Javascript
To open the side panel by default in google Chrome extension, you can use the Side Panel API introduced in Chrome extensions. You’ll need to configure your extension to register the sidebar (side panel) and ensure it’s enabled automatically when the...
by S M Zahed Kamal | Dec 4, 2021 | How To, Laravel
Imagine you want to define some variables that can be accessed from anywhere in your laravel project. To achieve that, the best way will be to take advantage of laravel’s configuration file. Creating a Configuration File First, you need to create a file inside...
by S M Zahed Kamal | Jul 22, 2021 | How To, Laravel
Laravel has its own command-line interface named Artisan. It has a list of useful commands. You’ll need to use artisan commands when building an application. You may get into situations when you’ll have no access to SSH. In such situations, you might want...
by S M Zahed Kamal | Jul 22, 2021 | How To, Javascript
Today I’m going to share another snippet for Chart.js, that you can use to put a watermark image or logo in charts. To do that, I’ll create a small plugin. I’ll register the plugin globally to apply it on all charts. Though, you can apply it on chart...
by S M Zahed Kamal | Jul 22, 2021 | How To, Javascript
I was working on a tool where I needed to show Chart.js chart as image. I’m going to share a snippet to show I achieved it. Chart.js have an afterRender() callback function which is called after a chart has been completely rendered, including the animation....
by S M Zahed Kamal | May 28, 2021 | How To, Javascript
List.js is a tiny vanilla JavaScript library that adds search, sort, filters, and flexibility to plain HTML lists, tables, or anything. I’m going to share a snippet below to show how to use List.js to create an interactive HTML table similar to what jQuery...