This post describes how to use the Python bindings of systemd in order to follow and parse log entries of a specific service in real time through systemd’s journal. This is an alternative way to tail log files which can be very easily customized.
While doing some maintenance work on my web site, I noticed that the text of long lines inside the pre HTML tags wrapped. I’m quite certain this kind of text wrapping did not occur in the past. After experimenting with the developer tools of Firefox for a while, I noticed that the white-space property of…
This post provides the required VCL code and describes how to dynamically set the Expires header whenever an object that has been cached by Varnish is requested.
This post outlines some important details you should know in case you plan to use signals to terminate a Python script that uses threads. A sample code snippet is also provided as an example that shows how it works.