Skip to content

Featured Articles

A collection of articles I have written on various topics and platforms.

New `@bool` Blade directive in Laravel!

Laravel's Blade templating engine is getting a handy new feature: the @bool directive. This allows you to directly print boolean values into strings or use them in object construction, making your JavaScript integrations cleaner and more efficient. Here's how you can use it: When compiled,...

Quick Tip: Git Undo Commands

To undo changes in Git, you can use the following commands, depending on what you want to undo: Method 1: Undo uncommitted changes in the working directory: Method 2: Unstage a staged file: Method 3: Undo the last commit but keep changes: Method 4: Undo the last commit an...

HydePHP According to Google Gemeni

My new benchmark for testing new LLM AI models is to check if it knows what HydePHP is. And they are getting better! Here's what Google Gemeni hsa to say about Hyde, and it's even fact checked! (And proofread by me, who can confirm it's all correct!) HydePHP is an open-source static site gener...