Merge pull request #89 from IDisposable/patch-1

Add the astronomer's method
This commit is contained in:
Luke Stephens (hakluke) 2020-01-09 23:34:13 +10:00 committed by GitHub
commit af586e0f3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -419,7 +419,9 @@ Credit: @k-takata
### Windows ### Windows
```vim ```vim
:call libcallnr('kernel32.dll', 'ExitProcess', 0) :call libcallnr('kernel32.dll', 'ExitProcess', 0)
``` ```
### Linux ### Linux
```vim ```vim
:call libcallnr('libc.so.6', 'exit', 0) :call libcallnr('libc.so.6', 'exit', 0)
@ -452,3 +454,21 @@ Credit @u2mejc
3. Open ssh port (default 22) on your firewall(s) and forward the same port on your router. 3. Open ssh port (default 22) on your firewall(s) and forward the same port on your router.
4. Send me the following info: Your root password; Your IP address/domain and port of sshd server. I recommend you test that it works before sending. 4. Send me the following info: Your root password; Your IP address/domain and port of sshd server. I recommend you test that it works before sending.
5. I will kill vim for you! 5. I will kill vim for you!
## The astronomer's way
Credit: @idisposable
```python
from secrets import randbits
def heat_death():
return False
def increase_entropy():
return randbits(64)
while heat_death()==False:
increase_entropy();
print('The universe is dead, VIM no longer exists');
```