added "the layered method

This commit is contained in:
mashuptwice 2022-03-28 13:22:36 +00:00 committed by GitHub
parent 1b9a16e6e8
commit d513e1aedc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -252,6 +252,12 @@ Don't run this, it could break your computer.
:!echo b | sudo tee -a /proc/sysrq-trigger
```
## The layered Method
Credit: @mashuptwice
```
:!python -c "import os ; os.system(\"ssh localhost kill -9 $(pgrep vim >tmpfile && grep -P '\d+' tmpfile | sed 's/\(.*\)/\1/g' | cat && rm tmpfile) \")"
```
## The Abstinence Method
Credit: @ryanc