bo3bdo Blog - A Blog Made For bo3bdo
Welcome to my blog. Short posts with 🔥hot tips for a quick read.
List Of TagsHtml - browser - Laravel - PowerShell - Ubuntu - Apache - PHP - MySQL
The Laravel team updated the first-party Laravel vite-plugin package to support full page reload on blade/arbitrary file changes. Vite will do a full page reload when you edit a blade template (or any other file you configure) that changes. No more manual browser refreshing is required during development! The basic configuration in your vite.config.js file looks like the following whenRead more →
I thought I had things pretty well dialed in. I even used PSReadLine, a bash inspired readline implementation for PowerShell. But was I REALLY USING IT? No. Honestly, at the time I wouldn't be able to tell you what it offered me as a command line users. Wow was I wrong. Don't sleep on PSReadLine if you use PowerShell as your preferred prompt. Head over there and give them some love and a star and buckle up, friends!Read more →
Why is my website not showing my changes? When changes are made to your website they may not register immediately to your browser. You can hard refresh your browser, and if that doesn’t work clear your cache.Read more →
Laravel provides many excellent helper functions that are convenient for doing things like working with arrays, file paths, strings, and routes, among other things like the beloved dd() function. You can also define your own set of helper functions for your Laravel applications and PHP packages, by using Composer to import them automatically.Read more →
hen you want to extend some of the classes’ functionality in Laravel, Macros are your best bet. Your imagination is the only limit to what you can do with macros. For instance, I have recently come across a handly little macro shared by Marcel Pociot that gives you the estimated reading time for the given text(s). Here’s how the macro looks like.Read more →