Hashing passwords the Right Way
Don’t store passwords in plain text. Don’t use a fast algorithm. And don’t forget the salt.
Don’t store passwords in plain text. Don’t use a fast algorithm. And don’t forget the salt.
Have a script (eg. your test suite) run automatically every time a file changes.
To wait for various events and without polling, a blocking threads for each event is the obvious solution. However, multi-threading comes with its pitfalls and problems. Here we are going to see how to build and event loop the handle multiple event in the same thread.
To run several tasks in parallel and keep their output separated, run each one in its own shell. Doing so can be automated, and thus it should. Here is how to open a GNOME Terminal window with multiple tabs from a script.
Using a sample text for statistics and Markov chains, we can generate passwords that are both random (and thus strong) and pronounceable (and thus easier to memorize.)
How to replace Django’s templating system by Jinja2 and still profit from it eg. in generic views.