Without husky / lint-staged If you want to do it without husky and lint-staged you just need this file in .githooks/pre-commit if you want you can install prettier as a dev dependency locally or have it globally you can have a .prettierrc like: also you need this command to make it executable set the hooks
ARCHIVE

Is PHP-FPM better than mod_php ? Short answer… Yes—PHP-FPM is the better choice for your stack (Homebrew Apache on macOS), mainly because it lets you run the event MPM (needed for HTTP/2 and better concurrency) while keeping PHP out of Apache’s memory space. mod_php ties you to prefork, which disables HTTP/2 and scales worse. Below

Posted on August 21 2025 / in WordPress
command description Ctrl+Shift+N new window Ctrl+R run project Cmd+Shift+P run command Cmd+P find file Cmd+D duplicate selection ( assign it ) Manage Projects Go to Settings > Keymap and assign a key to Manage Projects – I have used CMD + CONTROL + P

Posted on August 15 2025 / in WordPress
The anatomy of a GPT-5 prompt Role Act as a personal productivity coach focused on recommending lesser-known, effective learning methods for mastering a new skill within three months. Task Begin with a concise checklist (3–7 bullets) describing the steps you will follow, focusing on conceptual planning rather than lesson details. Identify and present the top

Posted on August 14 2025 / in WordPress
1/ Planning via Workshop + ChatGPT/GeminiBefore writing a single line of code, we gain total clarity.By the end of this stage, it must be crystal clear: the problem, ICP, JTBD, V1 scope, and success metrics. Documents generated (with AI in the same conversation): The time spent here saves you weeks of chaos later. 2/ Design

Posted on August 13 2025 / in WordPress
1️⃣ Choosing the right IDE for AI coding O’ve tested multiple options, but I use an AI-first IDE where I can run commands, explanations, and code changes without leaving the context. I use it for:• Rapid generation of pages and layouts• Implementing backend functionality (APIs, databases)• Building complex systems (CRMs, SaaS platforms)The advantage is that

It prompts for: Then it renames all files in that folder by replacing the first occurrence of the given string in each filename.