Creating a design system with Google Stitch MCP
I have been setting up Google Stitch MCP to see if I can keep a single source of truth for design documentation inside my project, and then use Stitch to generate ideas and UI prototypes from that dir
Search for a command to run...
I have been setting up Google Stitch MCP to see if I can keep a single source of truth for design documentation inside my project, and then use Stitch to generate ideas and UI prototypes from that dir
The following is my attempt to decipher what Leonard Susskind communicates in Lecture 3: Dynamics of Theoretical Minimum: What You Need to Know to Start Doing Physics, when he formulates “Aristotle’s Law of Motion”, and shows that this law doesn’t ho...
When I have a really good prompt in ChatGPT that did what I wanted it to do. In particular, when it was something data-wrangling related. For example, when I supplied the prompt with JSON or HTML, or some leading spaces, and new lines. By default, af...
Here are 4 quick commands you need to run to kick-start a Laravel project in Laravel Sail, even without PHP running on your local machine. The only thing you need to do before is to make sure you have docker installed on your machine, and added sail ...
I recently realized that in one of my blueprints, inside a custom “captioned image” Bard set I was unintentionally storing images in a local asset container, instead of my Digital Ocean-backed container. On top of that, these images were in some case...
I recently ran into a situation, where I had to connect to MySQL database from within a Laravel app in Laravel Sail via SSH tunnel. Specifically, in the app I'm working on (legaldocsforge.com), I am caching prompts to Chat GPT API in the database sha...

When developing web apps and websites locally, I sometimes want to test how they behave on my iPhone or iPad without having to deploy them to a server. For years, it wasn't obvious to me that there was a trivial way to do it. I'll describe how I do i...
I've been recently experimenting with migrating my local Laragon dev environment to Docker with Laravel Sail. One of the problems I ran into, was pushing to my remote repo via SSH. I like to make a push directly from VS Code by selecting "push" optio...
TL; DR; As of version 10, Laravel does not have a built-in way to validate that a field is equal to a specific value. However, you can easily create a custom rule to accomplish this. Create scaffolding for the rule with artisan: php artisan make:rule...