Articles


Quick way to switch to a USB WiFi adaptor on your Raspberry Pi

I wrote a long winded guide to this in a previous post, but I've since though of a better way if you already have you onboard WiFi adaptor connected to your network. You also don't need an ethernet connection and can be running headless, simply head over to this directory: cd /etc/NetworkManager/system-connections ls -l you should   more »

Alignements de Carnac

On day five of me joining Martin on the Brittany leg of his Grand Tour 2024, we headed to the coastal village of Carnac. We came to visit megalithic granite stones, known as the Alignments de Carnac, dating from 3300 to 4500 BC, and varying in size from 0.5 metres to a whopping 6 metres tall, the largest collection of stones of this type in   more »

How to install Filebrowser as a service using www-data as the user on a Raspberry Pi

Install & testing First we have to set up some folders and download and install filebrowser (change the ip address to that of your rpi and a port of your choosing): cd /opt sudo mkdir filebrowser cd filebrowser curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash sudo filebrowser -r /opt/filebrowser -a 192.168.0.10   more »

How to install Raspberry Pi's SD Card Copier on your non Raspian Linux machine

As i found out when I recently tried to move the OS from my Debian desktop to a different hard drive it involves a whole bunch of faffing with live CDs and cloning utils with multiple attempts to get it right followed by endless faffing with grub and bootloaders to get it working properly. So when it came round to swapping my micro SD card   more »

How to print an array as a HTML table in PHP

You would have though it was a thing people would use all the time, but apparently not so after too much researching I cobbled together this: echo 'Field dumpData dump'; for each ($array as $key => $value) { echo '' . $key . '' . $value . ''; } echo ''; jobs a good   more »

How to switch your WiFi connection to a USB WiFi adaptor on your Raspberry Pi

Update There's a quicker way if you are running headless and/or already have your Pi connected via WiFi Recently been researching USB WiFi adaptors a for my Pi3 given I just installed a PCIe Intel 8290 on my Lenovo Thinkstation M93a and I'm getting a whopping 780Mb/s connection through my WiFi broadband router. I'm also running out of ethernet   more »

How to easily broadcast the hostnames of other devices on your network using a RaspberryPi or any linux machine

Whenever you read on the internet of how to connect to other devices on your home network using a hostname instead of an IP address when they the machine doesn't broadcast it, you generally get the following two answers: add an entry to your hosts file manually yourself configure your router to send out the name. There's a couple of issues   more »

Fix "-bash: mail: command not found" error on RaspberryPi

I don't know if this is related to the other issue I was having with my mailbox not being found which I fixed in the other blog post, but after installing postfix: sudo apt install postfix and correctly configuring the SMTP relay, I could send email using the sendmail function: sendmail youremail@gmail.com Subject: testing does it work! . but   more »

Fix "Cannot open mailbox /var/mail/USER: No such file or directory" error message

Just installed and configured postfix and mutt on a fresh copy of Raspberry Pi OS Lite, sending of mail was fine but I was having issues with mutt. Don't know whether it was related to my other issue here, but mutt opens but I get the error: Cannot open mailbox /var/mail/pi: No such file or directory Very annoying, its never happened to me   more »

Vanlife 2024 Overview

Google's yearly summary has dropped, it's been a cracker for me in 2024. 3 distinct trips: Six weeks through Northern Spain A week in Brittany then a month travelling through Austria, Northern Italy and the French Riviera As google notes - 7 countries this year: France, Belgium, Germany, Austria, Italy, Spain (including Majorca &   more »

Create an elevation profile from a gpx file

This project has been on the boil for a while now, but I've finally got round to finishing it off to my satisfaction. I always wanted to see the elevation plot of my routes and rides but never really found somewhere I could get it from so after finding some code to parse the gpx log I've spent a long time fettling the output. Here's what you   more »

Dell OptiPlex 3060 SFF's WiFi isn't BIOS whitelisted

After jumping on the obligatory cheap PC / Linux server bandwagon, I was looking into the obligatory WiFi install. I was initially concerned I was going to have to pay through the tooth for an OEM version of the of the card. There seems to be a lot of chat on the interwebs of there being some BIOS locking involved restricting use to a few cards.   more »

How to calculate Heat Index like your ThermoPro 350S

Following on from my post of how to log the data from your ThermoPro 350S, I noted that the app also calculates the Heat Index - quite a handy metric as it measures the 'feels like' temperature taking into account the humidity. I'd been interested in the phenomenon after my travels last year through Spain as despite the scorching hot   more »

How to log Temperature and Humidity from a ThermoPro TP350S in Linux

Back in the day I had to make my own data logger out of an ESP8266-12E wired to a temp and humidity sensor with custom firmware to log into my home WiFi and ping the results to a some custom PHP code to log! It's all pretty easy now days, IoT has come on so much we just call devices smart and give them an app. Whilst the hardware and app are   more »

Automated batch conversion of Garmin FIT files to GPX in Linux

Following on from my post of how to batch convert Garmin Fit files to GPX using Babel GPS in Windows, thought I'd follow it up with the equivalent Linux command. Obvs you need gpsbabel installed but run this command in the directory you are storing the files and you are away find . -maxdepth 1 -iname "*.fit" -exec gpsbabel -rt -i garmin_fit   more »

Use the right click context menu in CKEditor to correct spelling mistakes

This is one which has been bugging me for a while - the post editor page on my site will readily underline incorrectly spelled words but when i right-click to get the spelling corrected in the context menu it doesn't want to show me correct spellings. It's probably a case of read the manual but I finally got round to working it out, and it's as   more »

Automated batch conversion of Garmin FIT files to GPX in Windows

Whilst working on a project to output the elevation chart of a GPX track I came across some code to produce your own heatmap from a bunch of gps tracks. I thought that'd be pretty cool to visualized my own as I've been using Strava's global heatmap since it was released in 2017 to plot mountain bike routes. I was pretty bummed that when they   more »

Getting ExifTool's move files to directories to work properly as Windows batch file

The automated filing of your photo's into day, month and/or year folders is great for speeding up your workflow, but I just couldn't get it working under windows. There's plenty of information about it all over the internet but for me instead of putting it into the requisite YYMMDD folders it would just move everything into a folder called   more »

Cracking stopover at the port of Calais

Use this every time I'm on my way back from France on the ferry. Only 2 mins form the terminal Stopover details Directions: Turn right at the end of Rue Margolle in Calais Google Maps link Park4Night link Cost:   more »

2023 Google Maps Timeline Update

Another year, another travel-log update, finally managed to escape to the continent after shunning numerous lucrative contracts and offers on full-time employment in favour of travelling EU rope in my Van My very own Tour de   more »

How to easily & perfectly align your Stem

I don't know about your but I've always had trouble aligning my stem perfectly parallel to my front wheel. It's even more infuriating when out on the road or tail sensing even the tiniest misalignment which niggles you for weeks or even months. The trouble is that it's really hard to quantify if it is actually out of kilter or just in your head!   more »

How to remove bicycle tyre marks from painted walls

This is probably the bain of a lot of cyclist's lives, well the ones that keep their bikes indoors anyhow, despite how careful you are it is just a matter of time before you inadvertantly catch a tyre on the wall as you wheel your bike around. No probs you would think, bit of Cif and the mark'd come right off. No such luck here, for some reason   more »

What's your Robot name?

I'm usually rubbish at amusing inventive word-play - ask me to come up with a pub quiz name and I'm utterly stumped. This one was easy for me, though I wasn't asked to think of one, the thought just randomly came up in my   more »

Install apache php7 mySQL and phpmyadmin on Raspbian Stretch on a RaspberryPi

I've been eagerly awaiting the fourth version of the RaspberryPi for a while, but when it passed the point where I had expected it to be released I googled it only to find that the next incarnation may be a while. Darn it, I have to get anothe RaspberryPi3. So the time has come to commission it and I find the lastest version of Raspian called   more »

How to clean the lid and nozzle of your Camelbak Podium bottle

My first encounters with Camelbak Podium bidons were not great, I borrowed a bottle from Ali for use on quick ride but but I was soon struggling with it! What I hadn't experienced before in my two decades of cycling was an increase in nozzle length, every time I wen't for a sip I ended up punching myself in the face - I'd have to relearn how to   more »

How to enable and change the Remote IR GPIO pin in OSMC

So you want to rig up your Raspberry Pi OSMC to be controlled by your favourite remote control, easy peasy - it is just a matter of plugging the IR receiver diode in and swith GPIO on in the settings. Dont like the standard pins 17 or 18, no problem - you can change them at teh same time, just follow these instructions. Go to 'My OSMC, Select 'Pi   more »

Split and extract the first 1000 (N) rows from a text-csv-data file in Windows

One of the major annoyances for me working with very large datasets you get from someone else is that you often don't know the format the file is coming in, not a problem really just take a peak in Notepad++ or Excel and you are away. But quite often these files are millions of rows in length and it is just not possible to work it out. So I've   more »

My new scale for measuring oldness

Well I suppose it was inevitable, when you suddenly realise you are getting older by the things you catch yourself doing/saying thinking getting more frequent. The latest thing I've noticed is that my propensity to fart in public has increased exponentially! It used to be the case that I'd internalise the pain of holding in a ripper for hours on   more »

A datedif function for excel that calculates correctly

This is one of those little quirks in excel that's annoyed me for a while, there must be some method in their madness but I've yet to come across anybody that thinks it is logically the way forward; so I've written one for you to use. The way the in-built function works is that it reports back the answer as how many months apart are the two dates   more »

Raspberry Pi 3 HDMI overscan settings and how to correct them

If you've ever plugged a Raspberry Pi into a tv you've probably come across this issue - the displayed image either doesn't fill the screen or over-runs it. The usual bit of googling reveals that all you have to do is tweak a couple of overscan settings and you are good to go. It sounds easy but three Raspberry Pis in and I've only just found the   more »

Create custom Excel function using an array/range input

My new adage of "You only know what you know how to google" - Martin Childs, 2016 stood true for this little puzzler, the answer wasn't apparent from simply googling it! All I wanted was to do something to a range input in a custom Excel function, easy you'd think - not in this case. I toiled for a bit of time before conceding that I'd just have   more »

SSL on a RaspberryPi - does it slow your site down?

First up I'm sorry about bathering on about this SSH thing but I to be honest I'm padding out the blog posts a little bit as there's one article I've written that I'm just not sure I want to publish, It's nothing bad, just not in keeping with the tone of this site so I've racked it up at the end of the post ready to go and keep adding posts in   more »

Subscribe to newsletter

Search Posts

Back to top