It is really easy to create a new Jekyll blog post - create a new markdown file with a kebab file name consisting of the date and post title plus the metadata at the top e.g. 2020-05-02-generating-a-jekyll-post-with-yeoman.md
---
layout: post
title: Generating a Jekyll post with Yeoman
comments: false
tags: jekyll
---
One thing that I find that we always need to do when developing with message queues is to occassionally remove, purge or drain all the messages from a queue. More often than not this is after some testing and the messages are not not being acked and removed in the usual way but it might be that we just want to test publishing to a queue and need to verify that the messages are sent.
It turns out I have lost the email notifications my Synology NAS had been sending
me - specifically the monthly disk checks. The issue seems to be due to the way
Google changed Gmail SMTP authentication i.e. my NAS uses Gmail to send the email
and at some point this changed to support 2 factor authentication and stopped working.
I have been wanting to add a dark theme to this blog ever since Apple introduced dark mode to MacOS and iOS. The solution if you don’t want to supply a UI switch is to use the css media query prefers-color-scheme that checks the user’s system preference which has been available in Safari for a little while and works in Chrome on a Mac at least.