Raspberry Pi Kiosk Mode using full Raspbian

Why use full Raspbian? For a start it’s a lot simpler.  It just works, if you compare this to the same instructions for Raspbian Lite the first thing you’ll notice is that this post is a lot shorter. Most of the stuff you have to install/setup as extra’s on Raspbian Lite to make this work […]

Stop embedded Google Maps capturing the scroll wheel

The problem with full width google maps is that they capture the scroll wheel so the moment you hit them, instead of continuing to scroll the map itself starts zooming (in or out depending on the direction you’re scrolling). The simplest solution to stop this is to wrap the map in an identifiable div and use […]

Bootstrap 4 full width iframe inside a container

For semantic purposes sometimes you want to nest a full width item (in this instance a google map iframe) inside a .container element. Here’s the map: In order to make this full size you first need to remove the width and height properties from the url then you need to substitute some custom css. The […]

Bootstrap 4 Carousel and Chrome

Neither bootstrap 4’s carousel nor the .img-flex class works properly on Chrome. Instead of flexing the images proportionately it shrinks them widthwise while retaining the original height. The result looks a bit weird: This is actually fairly simple to fix all you need to do is add object-fit: contain; to the css for .img-flex. Unfortunately that […]

Create an Alfred Workflow: the super simple URL shortener

Setup the basic Alfred workflow If you don’t have Powerpack for Alfred you might want to get it before you start, as none of this will work without it. Open Alfred Preferences, go to Workflows and hit the + button at the bottom of the list: For this workflow, we can start with an “Essentials” […]

Modelling a fidget spinner in Fusion 360

Whatever you think of the fidget spinner craze and their usefulness (or lack thereof) in schools, there is no denying that they’re fun to play with. They’re quite fun (and simple) to design too. Before you start you’re going to need some 608 Bearings (commonly used in skateboards), access to a 3D printer (try your […]

Flask basics – setting environment variables

Lots of Flask tutorials recommend setting environment variables to protect any private information stored in the settings of the app. This is good advice, it only takes a moment of inattention to commit sensitive information to your GIT repo and then push it to a public place such as GitHub. If you’re using a virtualenv […]

Inkscape experiments: tesselate an SVG then crop to size

Inkscape doesn’t really have a crop function, it’s intended to be non-destructive, but, if you’re using it to laser cut then sometimes you really want to chop a section out of a bigger object or pattern, for example if you want to cover the whole side of an object with a pattern. Depending on which […]

SSH – why can I never remember this stuff?

This is a short post containing all the useful ssh stuff I forget on a distressingly regular basis. Where are my damn SSH keys anyway? Unless you need to generate yourself some new ones they’ll be in ~/.ssh If you need to make some run: ssh-keygen and follow the instructions – need more detail? Digital […]

Raspberry Pi Setup: tools to make your life better

If you set up a lot of Raspberry Pis you start searching for tools to make your life easier. Here are a few of mine: Mini keyboard and mouse combo Although I mostly set things up headless, occasionally it’s helpful to have a USB keyboard and mouse that you can simply plug in and go. […]