Menu
The best code is no code at all.
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Azure
Backend
Bash
C++
Cloud
All Categories
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
Dry-run Memes
Posts tagged with Dry-run
Broke My Heart
Databases
Debugging
Testing
Backend
Bash
1 month ago
169.0M views
0 shares
Someone just learned the hard way why you always test your cleanup scripts with a dry-run flag first. Their "dry-run" turned out to be about as dry as the Titanic's maiden voyage—it executed real deletes and nuked the admin account (user id 3) because it had email_verified=0 in the database. The beautiful irony? They're now frantically checking for database backups while simultaneously realizing they should've excluded admin accounts AND done a SELECT-only test first. That's like realizing you should've brought a parachute after jumping out of the plane. The PowerShell suggestion at the bottom is basically the digital equivalent of "thoughts and prayers"—good luck recovering from that one, chief. Pro tip: When your cleanup script has the power to delete accounts, maybe don't trust a boolean flag to be the only thing standing between you and unemployment.
Today's picks
Where's The Love
Programming
149.5M views
11 days ago
"Can you give me some links guise"
Programming
92.9K views
5 years ago
A1m0st
Programming
97.9K views
5 years ago