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…
Continue reading →
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…
Continue reading →
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…
Continue reading →
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 …
Continue reading →
(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…
Continue reading →
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…
Continue reading →
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…
Continue reading →
Google Calendar is one of the cornerstones of G-Suite. Sadly Google don't dedicate enough resources to develop into its full potential. Other than a new icon and forced Google Meet integration, it hasn't had many improvements recently. Leaving it to the community to pick up the pieces. Here's how to get an external calendar integrated with your internal calendar. Why is this useful? I'm…
Continue reading →
One of the annoying things about being on the bleeding edge, is that some things don't work as you expect. I use the Wayland Display Server on my Linux box. And I couldn't find a simple screen recorder which worked. Turns out, Gnome has a hidden screen recorder! To activate it, press these keys simultaneously. CTRL+ALT+SHIFT ⇪+R A small circle icon will appear in your tray to show it is r…
Continue reading →
Mostly notes to myself. Nestled away in my Linux Bash profile, I have this one-liner alias lh='ls -trhgGN --color=always | cut -d" " -f4-' When I run lh it outputs a list of files in the directory, showing their size, with the newest files on the bottom. I use this regularly to see what I've downloaded recently and how big the files are - so I made an alias. Here's how it works. Alias …
Continue reading →
I couldn't find a simple guide to this - so these are notes to myself. Create a file called myVPN.xml: <?xml version="1.0" encoding="UTF-8"?> <AnyConnectProfile xmlns="http://schemas.xmlsoap.org/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.xmlsoap.org/encoding/AnyConnectProfile.xsd"> <ServerList> …
Continue reading →
One of the most requested Twitter API features is now available - the ability to get replies to a Tweet as a thread. Long time readers know that I've long been a fan of Visualising Twitter Conversations in 2D Space. But up until now you had to use horrible hacks to get the data. As trailed in their recent blogpost - conversation threading is now part of the official API! This allows you to…
Continue reading →