Daily Web Dev 🐘 (@daily_web_dev) header
Daily Web Dev 🐘 (@daily_web_dev) profile picture

18+ yrs full-time in web-dev. Mostly write about PHP, JavaScript, CSS, Sass, SQL, Unix shell, Laravel, Vue, Tailwind, PhpStorm, Vim. Maker of BEAUBUS Patterns.

Joined August 2015
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.
1
100
Daily Web Dev 🐘 retweeted
How to use arguments from last command line command #Linux #macOS #bash #zsh
Daily Web Dev 🐘 retweeted
Howe to create folder and cd into it? mkdir new_folder && cd $_ #Ubuntu #Linux #bash #macOS
1
2
Daily Web Dev 🐘 retweeted
How to move all files to the parent folder: mv * .* .. #Linux #macOS #Unix
Daily Web Dev 🐘 retweeted
Check execution time in seconds: SECONDS=0; sleep 2; echo "$SECONDS seconds" 2 seconds #Ubuntu #Linux #macOS #bash
Daily Web Dev 🐘 retweeted
How to check your #Ubuntu #Linux version? lsb_release -d (-d Display a description of the currently installed distribution) Output example: Description:Ubuntu 20.04.1 LTS
⚠️ Quick reminder for Claude Code users: AI agents can make destructive changes to your local environment, including wiping your development database. Review commands before execution and keep backups, or better yet, treat all your local dev data as disposable and use isolated environments so you don't have to review every command.
1
40
Daily Web Dev 🐘 retweeted
How to see what Composer would update without touching your project
1
110
⏰ Quick reminder for Laravel developers: Laravel 10 and 11 are no longer receiving security fixes. Security support for Laravel 12 ends in February 2027. If you're still on Laravel 10, 11, or 12, it's time to start thinking about your next upgrade.
46
β€œWhen you're producing more than you can stand behind, you're no longer reviewing. You're hoping.”
52
Quick Chrome DevTools tip πŸ’‘ Want to see which parts of your page are being repainted? Open DevTools Press βŒ˜β‡§P (Mac) or Ctrl+Shift+P (Windows) Search for "Show Rendering" Enable "Paint flashing" Every repainted region will flash green Great for spotting unnecessary repaints and debugging rendering performance.
1
56
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
1
102
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.
1
87
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.
1
1
88
Daily Web Dev 🐘 retweeted
In Chrome DevTools, press ⌘ + Option + F (macOS) to search across the contents of all loaded files.
1
1
245
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.
1
95
JavaScript gotcha: String.replace() treats $&, $1, $', etc. as special replacement patterns. If your replacement comes from user input, this can silently corrupt the result. Passing a function ensures the value is inserted literally.
1
68
Daily Web Dev 🐘 retweeted
Need to make a quick commit without running pre-commit hooks?
1
95
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.
1
114
Daily Web Dev 🐘 retweeted
PhpStorm tip: You don't have to type the full filename when jumping to a line.
1
119