Use Postgres DB with Docker. In this article i will show you how you can create a Postgres container, create tables if not exist and import data to the tables from csv…
Linux: How to add a directory in PATH permanently PATH is an environmental variable in Linux and other Unix-like operating systems that tells the shell which directories to search for…
Python: Cache results of functions. Assume that you have functions whose result remains the same every time they are called with the same parameters. Can we cache their…
How to improve your life Apart from the things you can do to improve your health, like eating well, exercising and all that stuff, there are many more things to…
How to change the listening port of a Docker container without restarting. Recently I came up with the following problem: “How to change the listening port of a docker container without restarting the container.” I…
You want to start a docker container quickly, but you dont remember all the small details like… chatgpt is here! no idea if it will make developers/system admins obsolete in the long term, but for now, I am convinced that it can help…
Kubernetes: How to Create a deployment In this article, I will show you how to create a straightforward Kubernetes deployment! to make things simple; the deployment will be…
Top 5 most popular iron maiden songs and their meaning. Iron Maiden is a British heavy metal band formed in 1975 by bassist Steve Harris. The band is considered one of the most influential and…
Bash: randomize data using the shuf command We all know how to sort data using the sort command, but how we can achieve the opposite? to randomize data comming from stdin or a file…