Categories
Python

Using YAML in python

YAML stands for “YAML Ain’t Markup Language” and is mostly used in configuration files. YAML, in contrary to JSON, is made to be very readable and is not designed to be used for api’s or other communication protocols. This is because the parsing of a YAML file requires the computer a little bit more effort […]

Categories
Html

How to remove the first blank line in a HTML code block

It can be very irritating when you put a piece of code in your code tag and encounter afterwards that you have a single blank line in the beginning of your code. I have good news for you! I made a simple fix that you can easily put in the end of your body tag […]

Categories
Python

Making a simple login system with Flask-Login

Flask-Login provides user session management for Flask. It handles the common tasks of logging in, logging out, and remembering your users’ sessions over extended periods of time. I think Flask-Login is one of the best flask extensions out so far. It makes your pythonistic life a lot easier. With Flask-Login you don’t have to write […]