Terence Eden. He has a beard and is smiling.

Terence Eden’s Blog

Theme Switcher:

How to migrate Google For Your Domain to normal Gmail

· 24 comments · 1,150 words · Viewed ~3,252 times


The Gmail icon.

Google has decided to fuck over its early adopters. Way back in 2006, Google announced Google Apps for Your Domain. Basically it was Gmail - but you could use your own domain. No more example@gmail.com now you could be me@example.com. Hurrah! At the time, they said: organizations that sign up during the beta period will not ever have to pay for users accepted during that period (provided Google …

Use Python to get alerted when an Amazon wishlist item drops in price

· 4 comments · 1,300 words · Viewed ~1,301 times


Logo of the Python programming language.

Scratching my own itch. I want an alert when there's been a price drop on an item on my Amazon wishlist. I couldn't find an easy way to get an email directly from Amazon (customer-focused my shiny metal arse) so I knocked something up in Python. This is heavily inspired by Leigh Dodds' Wishlist Monitor. Amazon don't offer an API for wishlists (innovative my shiny metal arse). So this uses…

Quick Image Montages

· 3 comments · 250 words · Viewed ~284 times


85 Book Covers.

(Mostly notes to myself.) If you have a lot of images in a directory, and want to quickly make an image montage, here's how to do it on Linux using ImageMagick. First up, this command finds all JPG file, then resizes them so they fit in a maximum box of 256x256, then sets the quality to 75%, then saves them as JPGs: find ./ -type f -iname "*.jpg" -exec mogrify -verbose -format jpg -layers…

Notes on using an Android phone as a Webcam on Linux

· 1 comment · 200 words · Viewed ~3,938 times


A settings screen with options to stream over WiFi or USB.

(Written mostly for myself) Install DroidCam I use DroidCam - which converts your Android into a wired or wireless webcam. Set the resolution nano /etc/modprobe.d/droidcam.conf Add the following text: options v4l2loopback_dc width=1280 height=720 Most video call services are limited to 720p, and streaming 1080p and higher via USB isn't always possible. Interact with the Android My…

Change how fast your cursor blinks in Firefox

· 100 words


(Mostly written to prevent me forgetting) In about:config add this setting ui.caretBlinkTime of type integer. Then set the number to how many milliseconds between blinks. 250 is very quick, 500 is about normal. I tend to go for about 400. Set it to 0 if you don't want it to blink at all. Click the ✅ button and your caret blink speed will immediately change. You can see more configuration o…

Howto: Stop Firefox Forcing Dark Mode on Websites

· 2 comments · 200 words · Viewed ~296 times


Firefox dev tools. A pop up informs you that the colour scheme can be toggled.

Here's how to stop Firefox automatically turning on dark-mode for websites. In the address bar, type in about:config and press ⏎ and accept the warning it gives you. Add a new value ui.systemUsesDarkTheme set it to type number and pick one of the following: 0 to tell websites to always use the light theme. 1 to tell websites to always use the dark theme. 2 to tell websites you have no p…

Check your battery stats with the OnePlus Diagnostic Tool

· 5 comments · 200 words · Viewed ~17,627 times


App showing healthcheck app.

My OnePlus 5T is 3.5 years old and, after daily abuse, its battery life is starting to fade. But how bad is it? OnePlus have a diagnostic tool which, annoyingly, isn't available in the Google Play store. And is a bit of a pain to run. So here's a quick tutorial. Download the app APK Mirror have a copy of OnePlus Diagnostic 2.1. There may be a later version by the time you read this. Download…

Animated TreeMaps in R - the hard way

· 1 comment · 100 words · Viewed ~384 times


A treemap which show a volumetric view of data.

As I am a bear of very little brain, these are notes to myself on my slightly shonky process for creating animated TreeMaps in R. The aim is to end up with something like this: https://shkspr.mobi/blog/wp-content/uploads/2021/06/animated-tree-map.mp4 Generate the images Getting the data is left as an exercise for the reader (sorry!). This loops through the data and generates a separate image…

How to fake AVIF thumbnail images

· 300 words · Viewed ~334 times


Linux bash terminal icon.

AVIF is the hip new image format. It is born out of video compression technology. Modern video streaming services have a complicated relationship with multiple resolutions. A video is usually encoded several time - for high, medium, and low bandwidths. When you start streaming, your playback device usually picks the lowest quality stream to start with. If it downloads it quickly, then it jumps to …

KOReader - change forward and back to bottom and top

· 3 comments · 300 words · Viewed ~495 times


(Mostly notes to myself) KOReader is the best eReader software I've found. It works beautifully on eInk screens, Android, and Linux. Just a gorgeous - and infinitely customisable - experience. There's one thing I don't like - to move forward a page, you have to click the right of the screen and, to move back, the left. That's fine if you're holding the book in your right hand. But sometimes I…

"Advanced Network Error Search" - how to turn off Virgin's least helpful service

· 9 comments · 950 words · Viewed ~2,061 times


Screenshots showing adverts next to my mispelled domain.

tl;dr you have to keep complaining to Virgin for several months and then take them to the Communication & Internet Services Adjudication Scheme then complain to their Data Protection team by contacting them on LinkedIn. Background Virgin have a spammy DNS hijacking service. If you accidentally misspell a domain - for example example.coom - Virgin will pretend that the domain exists and serve…

Upgrading the Boyue Likebook Ares on Linux

· 700 words · Viewed ~1,134 times


eReader showing Android 8.1.

This is so annoying. Boyue have released an Android 8 update for their Likebook eReaders. But it's impossible to upgrade it on Linux - here's my guide to getting it working Ubuntu / Debian / Pop OS. There's some Linux debug tips at the end of this post. Install VMware Virtual Machine Download the latest version of the Virtual Machine. Make the downloaded file executable. chmod +x…