Sometimes you want to have an image slider which not only contains the most recent images on your site but does so by category to ensure that all of the categories on your site are included: First get the categories: By default this returns the categories in alphabetical order and ignores any empty ones. That’s fine […]
If the fact that the Flask development server cant find your favicon annoys you shove your favicon into your static folder and do this: NOTE: this is one of several ways of getting rid of that particular error and is the one I’m using today. I’ll add more as I use them.
Got a Flask app you want to run on a Raspberry Pi in kiosk mode? Here’s how. Setup Set up your Raspberry Pi to work in kiosk mode – I usually set it to go to Google or the BBC News, something I know is unlikely to fall over while I’m testing. Once you know it […]
Download the latest Rasbian Lite from the Raspberry Pi Foundation (at time of writing we’re on Jessie) and unpack it so you’ve got a .img file. Setting up the SD card NOTE: The following section is a truncated version of the Mac instructions from the Raspberry Pi Foundation. Instructions for other operating systems (or further details […]