Checkered background using two lines of code in CSS
March 30, 2023 — I have a long list of personal blogs that I have been maintaining in my RSS reader. And one of the blogs in this list is Rach Smith’s digital garden.
A blog on PHP, JavaScript, and more
March 30, 2023 — I have a long list of personal blogs that I have been maintaining in my RSS reader. And one of the blogs in this list is Rach Smith’s digital garden.
March 28, 2023 — Here’s the biggest myth I had about MySQL’s int
data type that just got busted while watching one of the videos from the course MySQL for Developers. Essentially, I have been doing it wrong all this time.
March 26, 2023 — Macros in Laravel are gifts that keep on giving. They let you extend the functionality of Laravel in a way that you can use them anywhere in your application.
March 22, 2023 — If you’re a guy who enthusiastically creates YouTube videos but hates it when you have to manually enter the chapter timestamps in the YouTube editor, then this free tool by my friend Chris will definitely going to save your day.
March 22, 2023 — We now have a nice addition to the File
facade in Laravel 10.x that lets you read JSON files easily. Essentially, it’s a wrapper around the json_decode()
function. So, you can use it to read JSON files like so.
March 20, 2023 — Anonymous classes in PHP let you create a class on the fly without having to define a new class. They are especially useful when you want to create a class that is only used once.
March 18, 2023 — In React, when you want don’t want a component to render based on some condition, you might reach for short-circuiting to achieve the same.
March 17, 2023 — So, Caleb Porzio recently shared a little memoize function in PHP. What the function does is pretty straightforward.
March 13, 2023 — The install prompt is a great way to get your users to install your PWA (Progressive Web App). But it can elevate the user experience if you can add some nice screenshots of your app to the install prompt.
March 12, 2023 — There are a couple of projects of mine where I needed to create and download text/JSON files using JavaScript. For instance, in LinkSnatch, I needed a way to export the bookmarks as a JSON file or in my Notepad app, I needed a way to export the notes as a text file.