Author: andreas
-
Using Letsencrypt SSL Certificates
This post is a short summary about how to configure certbot to automatically retrieve and renew SSL certificates for your domains from LetsEncrypt. The commands apply to the current Ubuntu version 20.04. Install Certbot First, install certbot, which handles retrieving and renewing certificates for you: sudo apt install certbot …
-
Code Snippets for Django Development
This post contains a few code snippets I came up with when starting development of a Django web application. Table of Contents Using Django with Jinja Templates Logging Setup Dockerfile for Django Project Application Start Script respecting CTRL-C Creating an Admin User at First Start Using Django with Jinja Templates …
-
Table of Contents for Pelican Posts
Table of Contents Enable Markdown Extension Define CSS Style Add a TOC to your Posts Here's a short post to show you how to insert a table of contents (TOC) into posts on a website generated with Pelican. You can see an example of the TOC at the beginning of …
-
Thoughts on Pluralsight
It's now roughly two and a half years I since I have signed up with Pluralsight. So I think now is a good time to draw some conclusions. Here are a few thoughts and my experience with watching trainings on Pluralsight. Motivation I'm in general interested in IT technology. So …
-
TS100 Soldering Iron - First Impression
Table of Contents Unboxing First Impression Original Firmware Open Source Firmware Usage Conclusion After reading some good reviews about the TS100 soldering iron, I decided to buy one by myself. Here's my first impression. The TS100 is produced by the Chinese company Miniware. Have a look at the product page …
-
Custom Errorpage for Pelican Blog
When a visitor clicks a link to a page on your website, which does not exist, the webserver will generate a 404 error response and usually show a default error page. After migrating my website to Pelican, my goal is to inform visitors about the restructuring and give some help …
-
Using Jinja Templates in Pelican Posts
When changing from Wordpress to Pelican, I found one thing that I did not like. When inserting images in a post, the image would be inserted as a simple img tag in the HTML output. I would like to use figures, like e.g. in scientific papers, with captions and …
-
Web Server Configuration Tests
Here's an overview of the online check tools I have used to check my webserver configuration. In the last days I was curious about optimizing the caching behavior and the related HTTP headers sent from my webserver. And I also checked the SSL configuration and content readability. SSL Configuration The …
-
HTTP Expires Headers
After changing from Wordpress to Pelican, I ran the test on Pingdom Website Speed Test. One of the test findings was, that my webserver does not send an Expires header. I had no idea about this, so I investigated and here are the results. The Expires header is send with …
-
From Wordpress to Pelican
Table of Contents Why not Wordpress anymore? Getting Started Theme Since a long time now I have used Wordpress for my website. And while I do not have any major thing to complain about, I have now taken the step to change to a new platform: Pelican. Why not Wordpress …