Posts

Showing posts from March, 2022

Poetry and Docker

poetry install --no-dev poetry shell pip list --format=freeze > requirements.txt Delete project from requirements.txt. Update Dockerfile. Delete any existing containers. docker build -t command_name .

Vim tips

Pad lines with spaces:  : %s/.*/\=printf('%-63s', submatch(0))