SIP is a stupid acronym. It's basically a standard way of making phone calls over the Internet. This means you can make and receive phone calls over WiFi. Here's how I got it working - for free - on Android. By the end of this tutorial you will be able to: Receive calls to a new phone number, sent via WiFi to your Android handset. Receive calls to your existing phone number, redirected to…
Continue reading →
I recently gave an online presentation at Tech Nottingham. It went off without a hitch, and I got some great feedback. I'd like to briefly discuss the tech that I used to make it all work. Here's "mission control": On the left portrait monitor, I had two windows. The top one was Zoom, running in Chrome (more on that later). This was what I was presenting from. I kept it on screen so that I…
Continue reading →
If you have the Akismet spam plugin for WordPress, you'll be familiar with this problem. When your mouse pointer goes over any URL, you get a large website preview taking over parts of your screen. I asked for a way to turn this off and I'm happy to say the developers listened! Sadly, there's no tickbox option, only a WordPress filter so you'll have to add the following scrap of code to your…
Continue reading →
Here's a simple scrap of CSS which you can Ctrl+C and Ctrl+V kbd { border: .1em solid #aaa; border-radius: 15%; display: inline-block; padding: .1em .5em; background: linear-gradient(180deg, #fff, #fff, #fff, #ddd); user-select: none; cursor: pointer; color: #000; font-weight: bold; } kbd:hover { background: linear-gradient(0deg, #fff, #fff, #fff, #ddd); } …
Continue reading →
(Written because I couldn't find an easy guide online.) Here's the code (formatted for readability): <time datetime="{{page.first_published_at|date:"c"}}"> {{page.first_published_at|date:"j F Y"}} </time> You can also use last_published_at if it is a page which has been updated. WHY?!??! Semantics. HTML5 contains the <time> element. The contents of it show up as normal running text, but…
Continue reading →
When we moved house, we found the previous owners had installed under-cupboard lighting in the kitchen. It uses basic and cheap 12V LED strips. The strips are flexible and have glue on the back. We didn't like them in the kitchen. So we tried them on the stairs. Terence Eden is on Mastodon@edentTrying to work out where I want LED strips.The "aeroplane emergency lighting" look on the stairs…
Continue reading →
Twitter's search interface has all sorts of lovely and obscure options. My three favourites are "min_retweets:", "min_replies:", and "min_faves:" Using those filters, you can create a search for Tweets which meet a certain threshold. For example, here are my Tweets which have been liked more than 500 times: twitter.com/search?q=from:edent min_faves:500 Here are the ones which have been…
Continue reading →
I've got a new laptop which runs Linux! These are mostly notes to myself. Fonts First, from the console, install Gnome Tweaks sudo apt install gnome-tweaks Run Tweaks and select "Fonts". You can swap fonts, boost them, and generally have a good fiddle. Increasing the scaling factor is a good way to boost the size of all desktop elements. Bluetooth - rename By default the Bluetooth name is …
Continue reading →
I have a vertical monitor for my new Linux laptop. Because it is rotated 90 degrees, this causes problems with some graphics drivers on Linux (and Mac!). Here's a solution I found for my Intel graphics card. Edit this file: sudo nano /etc/gdm3/custom.conf Find this line: WaylandEnable=false Change it to: #WaylandEnable=false Reboot. On Pop!_OS, there is this settings cog in the bottom…
Continue reading →
I can't find these instructions anywhere online - so I hope these notes help! The AS302P SMETS2 has two buttons. I've labelled the top button A and the bottom button B. Press the A button once to bring up the menu. The display should light up. It should show "General". Press the B button. This scrolls down the display. Press it a couple of times until it says "Registers". If you go past it, …
Continue reading →
Problem: I have a multiline string - not a file - and I want to remove the first few lines from it and keep the rest. I found this surprisingly unintuitive. So these are notes in case I want to do it again. Feel free to suggest a better way! Example Given this input: $str = "Once upon\nA Time\nLived a big\nDragon\nCalled Cuthbert."; I want the output to be: "Dragon\nCalled Cuthbert." …
Continue reading →
Here's a quick tutorial for turning an old Nook into a passive display. This is an update to my 2013 post End Result An eInk screen which displays the trains I can catch from my local station. It shows the next few available trains, and whether they're delayed. It also shows how long until the next local bus to the train station. Updating the Nook Before doing anything, manually update the …
Continue reading →