This commit is contained in:
Thomas Debesse 2023-10-20 16:43:42 -06:00 committed by GitHub
commit 593bcf8b84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,6 @@ Credit: @tomnomnom
:!kill -9 $(find /proc -name "cmdline" 2>/dev/null | while read procfile; do if grep -Pa '^vim\x00' "$procfile" &>/dev/null; then echo $procfile; fi; done | awk -F'/' '{print $3}' | sort -u)
```
## The ps-less way using status files
Credit: @hakluke
@ -142,10 +141,10 @@ $ timeout $RANDOM vim
## The Shoot First, Ask Questions Later way
Credit: @aliva
```
$ ps axuw | awk '{print $2}' | grep -v PID | shuf -n 1 | sudo kill -9
```bash
$ ps axuw | awk '{print $2}' | grep -v PID | shuf -n 1 | sudo kill -9
```
## The "all against the odds" Russian Roulette way
Credit: @cfrost
@ -160,7 +159,6 @@ Credit: @eyemyth
Accumulate a sufficient amount of entropy.
## The reboot way
Credit: @tctovsli
In `vi`:
@ -200,7 +198,6 @@ Touch `quit vim` text in your touch bar
Press <kbd></kbd>+<kbd>q</kbd> > Click `Terminate`
## The Passive Way
_**Walk away.**_
@ -355,7 +352,6 @@ Credit: @penelopezone
:!sudo dd if=/dev/urandom of=/dev/kmem
```
## The Android way
Credit: @deletescape