Daily Web Dev 🐘 retweeted
Laravel’s retry() helper makes retrying failed operations simple. Give it the number of attempts, a callback, and the delay between attempts. If the callback throws an exception, Laravel automatically tries again.
Daily Web Dev 🐘 retweeted
If macOS “System Data” is eating your disk space, a few places worth checking as a web developer:
~/Library/Caches — JetBrains, Yarn, Cypress, Playwright
~/Library/Containers — Docker
~/Library/Developer — Xcode simulators
/Library/Developer — CoreSimulator caches
Daily Web Dev 🐘 retweeted
Reviewing changes on a branch that's based on another branch?
GitHub's Compare view lets you diff one branch against another. Set the parent branch as base and the child branch as compare to see only the incremental changes.
Daily Web Dev 🐘 retweeted
Laravel’s Arr::set() lets you set deeply nested array values using dot notation.
No need to manually check or create every nested level — just provide the path and value.
Daily Web Dev 🐘 retweeted
In Chrome DevTools, press ⌘ + Option + F (macOS) to search across the contents of all loaded files.
Daily Web Dev 🐘 retweeted
Quick reminder: Yarn Classic (v1) has been in maintenance mode since 2020.
If you're starting a new project today, consider using modern Yarn instead.
Daily Web Dev 🐘 retweeted
You can run your Vitest tests straight inside your Docker container from PhpStorm — no local Node needed. Point the run config at an SSH interpreter, map project root, and click the green ▶ in the gutter of the test file.
Daily Web Dev 🐘 retweeted
PhpStorm tip: You don't have to type the full filename when jumping to a line.
Daily Web Dev 🐘 retweeted
In Laravel, the literal() function creates a new stdClass instance using the given named arguments as its properties.
Daily Web Dev 🐘 retweeted
GitHub acting weird?
Before debugging your code, check GitHub Status:
githubstatus.com








