It's half term in the UK which means that GeekTechV2 and I have had chance to get outside and carry out some science fun. In this case, adding some Mentos to some Diet Coke. https://youtu.be/-MCDegrPQvo We used 3 bottles (1.5 Litres per bottle) of Diet Coke to see the reaction. The reaction is physical and … Continue reading Mentos and Diet Coke
A post looking at Python Unit Tests and GitLab CI.
I've written blog posts on how to install Grafana and data exporters using Ansible (https://geektechstuff.com/2020/06/25/grafana-prometheus-and-node-exporter-on-raspberry-pi-via-ansible-raspberry-pi-and-linux/) and a blog post on adding users to Grafana using an API call (https://geektechstuff.com/2021/01/06/using-an-api-call-to-make-multiple-grafana-users-python/), but after re-reading my blog posts I decided to automate the process (previously a manual step in the Ansible post) of adding data sources. I have … Continue reading Grafana – Using An API Call To Add DataSources (Python)
With a Raspberry Pi Pico and a Pimoroni Pico Display in hand, I have decided to try and make a game. The Pico Display has a colour LED, so for my first attempt I decided to utilise it for a game of “Follow The LED”. The game is similar to one most people play as … Continue reading Follow The LED with Raspberry Pi Pico and Pico Display Part 1(Python)
Over recent years my skills with the Python language have grown. This has been down to self-learning, online courses and several excellent books. However, at times I get the feeling that my Python skills are lacking the finesse and finish that other programmers have. Is it because my skills are missing something? If you get … Continue reading Beyond The Basic Stuff With Python – Book Review (Python)
It's January 2021 and the awesome folks over at Raspberry Pi have announced a new device, a micro controller called the Raspberry Pi Pico. The full details / news about the device can be found at: https://www.raspberrypi.org/blog/raspberry-pi-silicon-pico-now-on-sale/ . I grabbed one from the excellent Pimoroni and with speedy delivery from Royal Mail it arrived over … Continue reading The Raspberry Pi Pico / Pimoroni Pico Display
Python is great for maths, and as home schooling continues here in the UK due to the Coronavirus lockdown I'm using the time to look at converting percentages (%) using Python. This is the second of my Maths and Python posts, with fractions being my first. I'm trying to include more f string usage in … Continue reading Percentages With Python
Fractions, not something I've really looked at since my school days. However with home schooling currently taking place here in the UK due to another Coronavirus lockdown, it is something that I've been refreshing my knowledge on this week. Note: https://www.calculatorsoup.com/calculators/math/fractions.php provides an online calculator to help with fractions. The site also provides the formulas … Continue reading Tackling Fractions With Python