this post was submitted on 19 Jul 2023
11 points (92.3% liked)

Programmer Humor

23119 readers
706 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
top 11 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 2 years ago

ZZ will save file though, the others won't. You meant ZQ.

[–] [email protected] 2 points 2 years ago
  • Unplug the computer
  • Shut the house electric safety switch down
  • Cut the electricity pole nearest to the house
  • Bomb the nearest electricity distribution post
[–] [email protected] 1 points 2 years ago

Open vim.

Accept vim is the OS now.

[–] [email protected] 1 points 2 years ago (1 children)

Does colon-capital-Q-exclamation mark even work? I'm pretty sure it's only lower case q.

[–] [email protected] 2 points 2 years ago

its supposed to be lowercase,
but imgflip put the entire text in uppercase.

[–] [email protected] 1 points 2 years ago (1 children)

Does unplugging the machine not work?

[–] [email protected] 1 points 2 years ago

I call my local energy provider and simply cancel my contract with immediate effect.

[–] [email protected] 0 points 2 years ago (1 children)
[–] [email protected] 1 points 2 years ago

holy crap,
that's exactly what i wanted the last command to do.

i just didn't know you can target jobs,
and settled with quitting the shell instead

[–] [email protected] 0 points 2 years ago (1 children)

cat /dev/zero > "/proc/$(pidof vim)/mem" is my favorite dumb way. Clear its memory, wait for the segfault.

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago)

dumb way.

Get fancy, add progress bar: pv < /dev/zero > "/proc/$(pidof vim)/mem"