Get "PHP 8 in a Nuthshell" (Now with PHP 8.4)
Amit Merchant

Amit Merchant Verified ($30/year for the domain)

A blog on PHP, JavaScript, and more

  • Articles
  • Snippets
  • Projects
  • Uses
  • Stats
  • About
  • Search
Laravel PHP JavaScript Git React

Make DevTools pick colors outside of Chrome

June 10, 2022 — You know we have got a handy color picker in Chrome DevTools that let you pick colors anywhere from the browser window easily.

Read More ChromeDevTools

Expose local Vite instance to the network

June 7, 2022 — When you have configured your web application development build using Vite, you might have set it up in your package.json like so.

Read More Vite

How to checkout Git branches interactively

June 5, 2022 — Working with Git, the one thing that you would do more often is to checkout branches. The way to checkout to a branch is by using the git checkout command.

Read More Git

How to use Git Log command efficiently

June 1, 2022 — If you’re a modern developer and using Git as your choice of the version control system, you would have used the git log command at some point of time in your career.

Read More Git

The new Performance Insights panel in Chrome Dev Tools

May 30, 2022 — A recent release of Chrome, version 102.x, now includes a handy Performance insights panel which can be found in the dev tools. This is, however, an experimental feature that will be evolved based on the feedback received from the users.

Read More ChromeDevTools

Dark-mode aware scrollbars using CSS

May 27, 2022 — I have created a little web app called Notepad which is also a progressive web app (PWA). It’s a minimal notepad app where you can quickly jot down stuff that gets saved in the browser’s localStorage.

Read More CSS

Making headers sticky using CSS for a better reading experience

May 25, 2022 — If you have ever visited the categories page of this blog previously, you might have noticed that it first lists all the categories in a pill shape, and then underneath it, category posts are listed along with the category title like so.

Read More CSS

Array to object conversion in JavaScript

May 21, 2022 — I was working with a group of checkboxes under a redux-form for one of my applications. So, when I select certain checkboxes here’s the format in which I was getting the value of the checkboxes.

Read More JavaScript

Conditionally loading CSS or any resource using media queries

May 18, 2022 — Unless you’re using something like Tailwind CSS, the stylesheet files are one of the most expensive resources that your application is loading.

Read More CSS

Reduce array of objects to an object in JavaScript

May 17, 2022 — The other day when working with one of the applications, I needed to convert/reduce an array of objects to an object.

Read More JavaScript
Previous 1 ... 32 33 34 ... 76 Next

Download my eBook

NOW AVAILABLE PHP 8.4

Newsletter

Subscribe

Follow me everywhere

My Tiny YouTube Channel ➔ YouTube Icon

Recently Published

  • The pipe operator is coming to PHP 8.5 NEW

  • The absolute fastest way to install PHP on your system in 2025

  • Two new array methods are coming in PHP 8.5 — array_first() and array_last()

  • Memoizing the cache in Laravel

  • Preventing N+1 issues globally in Laravel using Auto Eager Loading

Top Categories

Laravel PHP JavaScript Miscellaneous CSS VS Code Git React Tools ➔
Home About Contact Categories Links Guestbook
Previous page Next page
Amit Merchant
About Contact Tips Guestbook
One of my favorite flowers from Himalayas—Rhododendron
Copyright © 2025 — Amit Merchant