Terence Eden. He has a beard and is smiling.

Terence Eden’s Blog

Theme Switcher:

Untappd to Mastodon - Updated!

· 450 words


A bottle of beer outside on a sunny day.

A few years ago, I wrote some code to post Untappd check-ins to Mastodon. I've recently updated it to also post a photo of the beer you're enjoying. First up, you'll need a file called config.py to hold all your API keys: instance = "https://mastodon.social" access_token = "…" write_access_token = "…" untappd_client_id = "…" untappd_client_secret = "…" Then a file called u…

It was twenty years ago today

· 6 comments · 300 words


Heavily pixellated image saying "I Power Blogger".

I wrote my first public blog post on 2004-05-11. I immediately followed it up with a brief review of my BlackBerry. I kept up the blogging for a few months, then it trickled off. I preferred posting on Usenet and other primitive forms of social media. But, by 2007, I was back to blogging on my own site again, and I never really stopped. This blog fluctuates between being a diary, an excuse…

link rel="alternate" type="text/plain"

· 4 comments · 550 words · Viewed ~3,599 times


The Logo for WordPress.

Hot on the heels of yesterday's post, I've now made all of this blog available in text-only mode. Simply append .txt to the URl of any page and you'll get back the contents in plain UTF-8 text. No formatting, no images (although you can see the alt text), no nothing! Front page https://shkspr.mobi/blog/.txt This blog post https://shkspr.mobi/blog/2024/05/link-relalternate-typetext-plain/.txt A …

A completely plaintext WordPress Theme

· 4 comments · 200 words · Viewed ~1,044 times


Screenshot showing my blog rendered just as text.

This is a silly idea. But it works. I saw Dan Q wondering about plaintext WordPress themes - so I made one. This is what this blog looks like using it: The Code You only need two files. An index.php and a style.css. The CSS file can be empty, but it needs to exist - otherwise WordPress won't let you activate the theme. The index file displays the requested post, or front page, in plain…

Book Review: The Doors of Opportunity

· 3 comments · 450 words


Did you know that a Suffragette invented the UK's electrical plug? Dame Caroline Haslett was an electrical engineer who foresaw the way that electricity could be used to remove domestic drudgery from women's lives. There is a slim biography of her, written by her sister, which is sadly out of print. Luckily, the book is available for free on Archive.org. It is a curious book. It dwells on…

Pushing The Button

· 4 comments · 950 words · Viewed ~408 times


Pop up notification saying the NHS covid app is shutting down.

This is a retropost. Written contemporaneously in 2020, but published four years after the events. It's May 2020 as I write this. I'm typing to capture the moment. Right now, I've no idea what the impact is. This is the exact moment, on Thursday May 7th, I hit the Big Red Button - three of them! - to open source the UK's COVID-19 Beta test app. …

Inside the Plume SuperPods

· 250 words · Viewed ~651 times


Industrial metallic fins.

I few years ago, Virgin Media sent me their "Intelligent WiFi Plus Pods". They're part of a mesh network which is meant to improve WiFi coverage around your house. They were basically fine, but they are hardcoded to your Virgin Media service so can't be used for anything else. I eventually swapped to a different router and they became useless. Virgin refuse to collect them (despite repeatedly…

Book Review: The Glass Hotel - Emily St. John Mandel

· 150 words


Book cover for the glass hotel.

This book didn't really resonate with me. I enjoyed both Station Eleven and Sea of Tranquillity, so I think I was expecting something in a similar vein. Instead of ethereal sci-fi, this is a tangled tale which feels like a mish-mash of half a dozen movies. The central premise of a Ponzi scheme which warps the lives of those around it - which leads to a jumbled cast of characters, none of whom…

Theatre Review: Pippin - 50th Anniversary Concert

· 2 comments · 250 words


The cast of Pippin.

This has to be the campest, most ludicrously sequinned, joyous shows I've seen in quite some time. I knew nothing about Pippin, but my dad saw it back in the 1970s and loved it - so I snagged us a couple of tickets. The story itself is fun enough; an over-privileged princeling goes off to find his purpose and finds himself waylaid by vices, murders, and ducks. It's a silly, wry, and…

Bank scammers using genuine push notifications to trick their victims

· 9 comments · 550 words · Viewed ~15,241 times


`In app popup. "Are you on the phone with Chase? We need to check it's you on the phone to us. Let us know it's you and enter your passcode on the next screen. @ Not you? Your details are safe. Just tap 'No, it's not me' and we'll end the call."`

You receive a call on your phone. The polite call centre worker on the line asks for you by name, and gives the name of your bank. They say they're calling from your bank's fraud department. "Yeah, right!" You think. Obvious scam, isn't it? You tell the caller to do unmentionable things to a goat. They sigh. "I can assure you I'm calling from Chase bank. I understand you're sceptical. I'll…

· 12 comments · 200 words · Viewed ~244 times


The Logo for WordPress.

While attending IndieWebCamp in Brighton a few weeks ago, a bunch of us were talking about blogging. What is post? What should it contain? What's optional? Someone (probably Jeremy Keith) said: A blog post doesn't need a title. In a literal sense, he was wrong. The HTML specification makes it clear that the <title> element is mandatory. All documents have title. But, in a practical sense, he…

WordPress GeSHi Highlighting for Markdown

· 200 words


The PHP logo.

I've launched a WordPress Plugin for an extremely niche use-case. WP GeSHi Highlight Redux works with WordPress's Classic Editor to convert Markdown to syntax highlighted code. That allows me to write: ```php $a = "Hello"; $b = 5 * 2; echo $a . str($b); ``` And have it displayed as: $a = "Hello"; $b = 5 * 2; echo $a . str($b); I've previously written about the WP GeSHi Highlight plugin.…