A little DevTools snippet to check broken links on a webpage
May 26, 2024 — Broken links, also known as dead links, are hyperlinks on a webpage that no longer lead to the intended destination. When a user clicks on a broken link, they typically encounter a 404 error message, indicating that the webpage cannot be found.
A browser to take cleaner screenshots of websites
May 24, 2024 — Many times when sharing screenshots of websites, I would like to show the website loaded in the browser but at the same time, I don’t want to show all the clutter that comes with the browser like the toolbar, tabs, extensions, etc.
A few new array functions are making their way into PHP 8.4
May 20, 2024 — PHP 8.4 is still under development and has a bunch of new features and improvements under its belt so far. New features keep on appearing and one of them recently surfaced is the addition of new array methods.
Cloning queries in Laravel
May 17, 2024 — Reusing database queries is a common practice to maintain clean, DRY (Don’t Repeat Yourself) code and ensure consistency across your application.
Ignore and acknowledge class attribute on elements in CSS
May 16, 2024 — Sometimes, when working with some common elements, for instance, <ul>
, <a>
, or <div>
, you might add the class
attribute to some of them and then use that class to style them.
The new Quick Search Text in VS Code is Gooood!
May 15, 2024 — When you want to search for something across your project in VS Code, the usual way is to open the Search panel and type in the search term, and VS Code will show all the instances of the term in your project.
Scraping Google Web Search using ScraperAPI in PHP
May 10, 2024 — Scraping data on the web is a tiresome process when you do things manually. For instance, if you happen to do it using PHP, you need to do the following steps.
Return HTTP response as a collection (Effectively) in Laravel
May 8, 2024 — If you are using Laravel’s HTTP client to call a third-party API, you might want to use the response as a collection to manipulate the data.
Property hooks are coming in PHP 8.4
April 17, 2024 — Accessing or setting the value of a class property is comman task in object oriented programming. There are a few ways to do this in PHP. Let’s discuss them first.