Lotechnica

Technical writings by Nathan Shafer

Prefix normalize.css or sanitize.css before gulp-sass

A pretty common setup for front-end design work is to use Sass to compile .scss files into a single .css file. It's also pretty common to use a CSS Reset, such as normalize.css or sanitize.css, to reset your CSS to a common base. For that CSS Reset to … Read more

Fix Django's runserver when run under Docker or PyCharm

When running Django's runserver management command in a Docker container or under a PyCharm run configuration (in Linux at least), I very often had issues with the process not getting killed in a timely manner. The symptom is that the process doesn't die immediately after it receives a SIGTERM or … Read more