All Stories

Python: pip list vs pip freeze (-all)

The most common ways to list packages in Python is pip list and pip freeze. To see more, check List all installed packages in Python. So, what does each of them and is one of them bet...

In Python, Nov 18, 2022

Install Sudo on Alpine Linux

If your Alpine Linux image doesn’t support sudo it can be easily installed through the default Alpine packages. Let’s do it.

In Sudo, Alpine Linux, Nov 17, 2022

Disable "InsecureRequestWarning: Unverified HTTPS request is being made" in Python

It’s not so common to be concerned about HTTPS endpoints in the development stage. Thus, it feels like suppressing warning messages is a common thing, right. So, as I was playing arou...

In Python, Nov 17, 2022

VCS: Centralized vs Distributed

The Version Control System (VCS) presents a core component from the DevOps cycle. Tracking anything from application codes, infrastructure, policies, and what not is part of the best ...

In Git, Nov 16, 2022

Merge multiple Git commits into one

Merging or if you will, squashing N commits into a single one could be a handy practice though before pushing anything to remote. This is done with the almighty interactive rebase Git...

In Git, Nov 15, 2022

Install Sudo on Amazon Linux 2

Some of the Amazon Linux 2 images are missing very basic system commands like sudo. If you get this error /bin/sh: sudo: command not found then you definitely need to install sudo on ...

In AWS, Amazon Linux 2, Nov 15, 2022

Git 101: Git vs GitHub

For all of you beginners out there, I want to clarify the difference between Git and GitHub. Clearly they are not the same, so here’s a pretty simple and straight answer.

In Git, Nov 14, 2022

List all installed packages in Python

As with every other programming language you need to know who to manage your packages, modules and dependencies. You could always YOLO install every package globally, but as a best pr...

In Python, Nov 13, 2022

Fix 'An error occurred (InvalidInstanceId) when calling the SendCommand operation: Instances not in a valid state for account'

If you try to SSH into the EC2 instance through SSM parameter or if you want to setup a RDS tunnel, you might get the following error: An error occurred (InvalidInstanceId) when calli...

In SSH, AWS, Amazon Linux 2, Nov 13, 2022

Git: top interview questions for DevOps

Preparing and passing technical DevOps interviews is a skill by itself. Although I didn’t encounter many Git-related questions since mostly the focus is put on the CI/CD cycle, there ...

In Git, Nov 12, 2022