Shortcuts...

Making a wheel

python3 setup.py sdist bdist_wheel

Activate a venv:

source venv/bin/activate

Change ownership of a file

sudo chown a file_name

pytest class level fixtrues

@pytest.fixture(autouse=True)
def setup_method(self, monkeypatch):
    pass

An awesome python repr

https://bpython-interpreter.org/

Run chrome without CORs

google-chrome --disable-web-security --user-data-dir=/tmp

docker compose

docker-compose down && docker-compose up -d

Bluetooth

bluetoothctl
connect 38:18:4C:17:DA:4E WH-CH700N
connect 34:88:5D:CC:B8:AF Keyboard K380
connect C9:09:A1:92:5D:B1 MX Anywhere 2
Posted @ 2020-09-22 10:50