this post was submitted on 08 Apr 2024
543 points (97.4% liked)
Programmer Humor
32473 readers
620 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I don't like having to unplug my computer to exit the IDE. Takes a while and I often lose my changes.
Pro tip: Press Esc, then type
:w
which means "write" to save the changes, and then unplug the computer and reboot.Perfect! You're a data saver.
That's the oldest joke in the book. Everybody knows you don't need to unplug your computer, you can run "sudo reboot" from within vim just fine!
!sudo shutdown -r now
. Or just:x
orZZ
, but I guess those don’t fit the motif of this very tired silly joke.I find it quicker to turn off the power through the breaker box. It's faster so you can get back to working sooner.