Category: code
-
Playdate 2
Moving a sprite on the screen using simple D-pad controls
-
Playdate 1
Installing the Playdate SDK, compiling a Lua script, and testing in the Simulator
-
Squids In – a simple Octopus Agile tracker
Lately we’ve been using the Octopus Agile electricity tariff* to cut our energy bills. As we both work (mostly) from home, using electricity during non-peak periods – AKA procrastinating by doing the laundry – is easy, so it’s been saving us money. There are loads of ways to keep track of the tariff rates –…
-
JTX Cyclo Studio v5 to Peloton
Some code to generate a Peloton resistance value from the JTX Cyclo Studio v5 bike
-
Deploying a tiny Mastodon server on DigitalOcean
Given the current bin-fire state of Twitter it seems entirely reasonable that everyone I know there is building a survivalist-style-bunker on Mastodon. But there’s a pretty immediate roadblock that faces every person trying to set up a new account: which server to choose? While Twitter is monolithic – one site, one account, one @name –…
-
Apple App Store Connect API JWT tokens in PHP
I found it surprisingly hard to generate valid JWT tokens per this documentation, and kept getting a 401. Here’s some working code.
-
Blocking bot login attacks on WordPress
The Problem If you run a self-hosted WordPress blog then you might – or might not! – be aware of the sheer volume of attempted logins that will be sent your way. A good way to monitor and cut down on this is the Limit Login Attempts Reloaded plugin, which logs and graphs them: ..…
-
So long, and thanks for all the kittens
UPDATE FEB 2024 – given a certain ex-President’s regrettable failure to Just Fuck Off, MAKA is back in the Chrome Store again.
-
How to bulk upload Apple In App Purchases (IAPs) via Transporter
It’s easy to create single In App Purchases via iTunes Connect – but if you want to add tens or hundreds, here’s how to upload them in bulk using Transporter v2.1.x on Mac.