Category: code

  • 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.

  • So long, and thanks for all the kittens

    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.

  • How to programmatically search the Facebook Ad Library

    In this godawful year of all godawful years, it’s good to keep an eye on who’s trying to sell what to you, why, and for how much. Facebook’s Ad Library API lets you see the detail – here’s how to access it.

  • How to archive, then delete, old Tweets

    I joined Twitter in January 2009 for what might not have been the best of reasons – I was being miserable about it on BBC Radio, and thought I should at least make an effort to try the thing I was being professionally miserable about – and, somehow, have kept using it ever since. But,…

  • Make America Kittens Again v1.3.1

    This is a minor update – available here for Chrome, and here on Github – which updates the block list for the convenience of UK users, changes the icon to make it easier to find, and also tidies up the code a bit.

  • Make America Kittens Again

    It’s been a weird week. Back in February, someone* asked if I could do a Trump version of my UKIP blocking plugin. About five small code changes later, I had one in the Chrome store: By request: MAKE AMERICA KITTENS AGAIN: — Tom Royal (@tomroyal) February 27, 2016 Since then it’s been ticking…