-
Continue reading →: Installing Go Compiler On Raspberry Pi 4 (Raspberry Pi OS 32-Bit)Go (Golang) requires a compiler to build it’s code and it only takes a few lines to install that compiler on the Raspberry Pi. I’m using a Raspberry Pi 4 with Raspberry Pi OS (32-bit). Download the appropriate binary release The binaries are available from https://golang.org/dl/ . The Raspberry Pi…
-
Continue reading →: Grafana, Prometheus and Node Exporter On Raspberry Pi via Ansible (Raspberry Pi and Linux)If you want to see metrics in real time and look at web dashboards then Grafana and Prometheus may be the tools you are looking for, and if you are anything like me then you probably want to automate as much of the install as possible via Ansible. My Set…
-
Continue reading →: UK Covid-19 / Coronavirus Data (Python)The UK recently lowered the alert level for Covid-19 / Coronavirus pandemic, with the UK at level 3 (at time of writing this blog, 24th June 2020) and there has been discussion in the media about R levels differing at local levels and of the possibility of local lock downs.…
-
Continue reading →: Trying To Write More Pythonic With PEP-8 (Python)The Python language has a list of Python Enhancement Proposals (PEPs) that have been suggested as ways to improve Python. In this blog post I am going to look briefly at PEP-8. The Index Of PEPs Python.org keeps a list of all the PEPs at: https://www.python.org/dev/peps/ once a PEP has…
-
Continue reading →: Linux Root Directory (Linux)Have you ever run the ls command on the root of a Linux system and wonder what all the directories are and what they contain? The root directory layout of a Linux system can initially seem a little confusing, with directories like /usr being name user but not really being…
-
Continue reading →: AttributeError: partially initialized module has no attribute…(Python)Less of a blog post and more of a reminder to myself that when Python says: AttributeError: partially initialized module ‘MODULE_NAME’ has no attribute ‘ATTRIBUTE_NAME’ (most likely due to a circular import) It is normally because I have named my Python file the same as the module I am importing…
-
Continue reading →: Using A Raspberry Pi As A Syslog-ng Server (Raspberry Pi)After many years of using my ISPs provided router I have finally upgraded to a higher spec router which has several features the ISP provided one did not. One of these features is the option to send logs from the router to a syslog server. For this project I am…
-
Continue reading →: Deleting Old Files With BASH / Removing Old Log Files with BASH (Linux)Log files are a brilliant feature of any piece of software / operating system. However, over time they can take up space and become a pain to remove. In this blog post I am going to look at a quick bash script that can be used via cron to delete…
-
Continue reading →: Text Editing With Vim / Vi (Linux)When it comes to text editors in Linux there are varying opinions on which to use, and just like the spaces vs tabs discussion this can lead to arguments. I started out and still use nano as my Linux text editor, however today I want to look at Vi. vi…
-
Continue reading →: Converting Words To Pig Latin – Version 1 (C++)One of my more popular blog posts is the one on converting words to pig latin using Python. As I’m finding my feet with C++ I am looking at reworking projects I have completed in Python into C++, with that in mind: Converting Words To Pig Latin. I started the…



You must be logged in to post a comment.