Blog Category: Linux  Category: Linux


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 »

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 »

Search Posts

Back to top