Why Password Managers are Not the Solution
Why a Password Manager?
Password managers exist for two main reasons.
Firstly, to generate strong passwords and secondly so that you don’t end …
Read Article →In-depth guides, insights, and best practices for modern software engineering
Password managers exist for two main reasons.
Firstly, to generate strong passwords and secondly so that you don’t end …
Read Article →Sometimes you may need to read the top n lines of a file using Python.
We start by opening the file for reading and then using a list comprehension we …
Read Article →I operate a bunch of different sites and have done for many years now.
Some of them get quite a lot of traffic and require a high level of uptime.
To …
Read Article →It’s very easy to reset files that have not yet been committed to git.
git reset <filename>
You can also specify the …
Read Article →Golang comes with a decent offering around variables that you can use to store, retrieve and manipulate information.
A variable is defined with the …
Read Article →Every language has it’s ways of converting data types. One of the most common data types to convert between is that of strings (string) and …
Learning Go or Golang as a Python developer, programmer or software engineer is easier than you think.
While there are quite a lot of things to learn …
Read Article →Programming languages provide the ability to remove special characters from a string quite easily.
Sometimes you need to also do this from your …
Read Article →Let’s say that you have two dates:
"2019-01-29"
"2019-06-30"
How would you create a function that would return the number of …
Read Article →Given a directory that contains:
|
|- app.py
|- requirements.txt
|- ...
|- <- other-files ->
|- ...
We can create a runme.sh file to always make …
Kubernetes comes with a pretty nice dashboard to view clusters, worker groups, nodes and pods. As well as a ton of other useful things.
This tutorial …
Read Article →Given that we are in a leap year this year (2020), it would be nice to know how to programmatically calculate this.
Luckily, this is a repeatable …
Read Article →