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
Photo by Daily Web Dev 🐘 (@daily_web_dev)Photo by Daily Web Dev 🐘 (@daily_web_dev)Photo by Daily Web Dev 🐘 (@daily_web_dev)Photo by Daily Web Dev 🐘 (@daily_web_dev)Photo by Daily Web Dev 🐘 (@daily_web_dev)Photo by Daily Web Dev 🐘 (@daily_web_dev)Photo by Daily Web Dev 🐘 (@daily_web_dev)Photo by Daily Web Dev 🐘 (@daily_web_dev)Photo by Daily Web Dev 🐘 (@daily_web_dev)Photo by Daily Web Dev 🐘 (@daily_web_dev)
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
Daily Web Dev 🐘 retweeted
How to see what Composer would update without touching your project
1
110
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
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
Daily Web Dev 🐘 retweeted
In Laravel, the literal() function creates a new stdClass instance using the given named arguments as its properties.
2
89
Daily Web Dev 🐘 retweeted
Watch #Laravel log updates in real time from command line: tail -f storage/logs/laravel.log > The -f option causes tail to wait for additional data to be appended to the input. #Linux #bash
Daily Web Dev 🐘 retweeted
Display amount of free and used memory in the system #Ubuntu #Linux free -h '-h' stands for human
Daily Web Dev 🐘 retweeted
GitHub acting weird? Before debugging your code, check GitHub Status: githubstatus.com
1
105
Daily Web Dev 🐘 retweeted
Sequence expansion in command line: echo {a..z} a b c d e f g h i j k l m n o p q r s t u v w x y z echo {1..10} 1 2 3 4 5 6 7 8 9 10 #Ubuntu #Linux #bash #macOS