All posts by Oliver Radwell

Shoe Size Matters: Sizes Massively Vary in Big Brands

variety of shoes worn by kids

Finding the perfect fit for your feet can be a perplexing task, especially in the age of increasing online shopping. Consumers increasingly rely on shoe sizes, placing their trust in the numbers on the screen. Unfortunately, this trust can be misplaced, as shoe sizes are notoriously unreliable due to brand variations. The distinction between UK and EU shoe sizes is a classic example of this challenge.

Continue reading Shoe Size Matters: Sizes Massively Vary in Big Brands
kubectl get pods response on a Kubernetes cluster provisioned using kubeadm on Ubuntu 22.04

Simple Single-node Kubernetes Cluster via kubeadm on Ubuntu 22.04

There are many tools out there to provision single-node Kubernetes clusters, but kubeadm is the way to go for a production-like set-up. Although it is more difficult to create a cluster with kubeadm, you can tweak the cluster to your needs with its configuration options. Following this post, you can easily create a Single-node Kubernetes Cluster using kubeadm on Ubuntu 22.04.

Continue reading Simple Single-node Kubernetes Cluster via kubeadm on Ubuntu 22.04

Go Program for a Unique Twitter Profile Banner

Do you think your Twitter profile banner is boring? Do you wish there was something that could rotate your Twitter banner images? Maybe what you want is to brag about your Twitter account statistics on your profile banner to make a unique Twitter profile banner. This article showcases a Go program that does just that.

Landscape image showing clouds and grass generated by the program. Statistics: 217 Following, 68 Followers, 461 Tweets, In 0 lists, Located in London, UK, 2021-11-26 23:27 UTC, https://git.io/JMOjc
A Twitter Banner generated and uploaded by the program

Retrieve User Statistics from Twitter

We will authenticate with Twitter API using OAuth 2.0 to retrieve the statistics for the given Twitter profile. To achieve this, we need the Go oauth2 package.

You can find the code for user data in user_data.go.

Continue reading Go Program for a Unique Twitter Profile Banner

Install Mozilla VPN RPM from Binary on Fedora

Mozilla VPN is a VPN solution that uses the WireGuard protocol. Unfortunately for Fedora users, there’s no official guide on installing it for Fedora. That said, since 6th July 2021 there are Mozilla VPN RPM packages on GitHub Actions. This article will show you how to get these RPMs.

Mozilla VPN screenshot showing location selection and VPN switch
Continue reading Install Mozilla VPN RPM from Binary on Fedora

DNF Trying to Use SQLite Backend Warning

If you keep getting the following warning after upgrading to Fedora 33:

warning: Found bdb Packages database while attempting sqlite backend: using bdb backend.

Try rebuilding RPM database:

rpmdb --rebuilddb

If that results in:

error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)
Continue reading DNF Trying to Use SQLite Backend Warning

Silly but This Is a WordPress Blog Running on Kubernetes

You probably think it’s overkill to use Kubernetes for a WordPress blog with less than a thousand monthly visitors. While this may be true, it’s totally worth using Kubernetes for the bragging rights. This is a WordPress blog running on Kubernetes!

Kubernetes running WordPress and MariaDB
Sources: https://pixabay.com/images/id-5718352/ and https://www.freepik.com/free-vector/cargo-freight-container_3795063.htm
Continue reading Silly but This Is a WordPress Blog Running on Kubernetes

Famous Vegans You May Know

People don’t often reveal their diet but some celebrities are very vocal about their views on animal welfare. Scroll down to see 10 famous vegans you may not know were vegans.

Mayim Bialik

Bialik is known for playing neuroscientist Amy Farrah Fowler in Big Bang Theory. Handy for Bialik’s role in the series, she’s also a neuroscientist in real life. Not only is she a vegan, but she has also written a vegan cookbook too. Her book is called Mayim’s Vegan Table which contains 100 plant-based recipes.

Continue reading Famous Vegans You May Know

Expert Update Statements with Joins on MariaDB

You can use UPDATE statement in Structured Query Language (SQL) to modify values in the matching rows. However, only some people know that you can use JOINs in UPDATE queries. For example, by using JOINs we can retrieve additional data from other tables or exclude some rows from our update. Soon you will learn how to write update statements with joins on MariaDB / MySQL.

Update statement with multiple joins shown in a database manager
Continue reading Expert Update Statements with Joins on MariaDB