NGINX config to Proxy Pass to another Port NGINX Configuration Structure: Basic HTTP config HTTPS config
How to check disk space usage on Ubuntu
How to check what is taking up all the disk space on Ubuntu Here are a few things you can try: Note: Depending on the size, these commands can take a while…
Managing Docker images as a tar file
As an alternative to managing Docker images using a Docker Registry, you can also manage it as a tar file. Managing Docker images as tar files allows you to: Docker Commands: Save…
Cheat Sheet: Essential Terraform Commands
Terraform is an open-source infrastructure as code (IaC) tool that allows you to define and manage cloud and on-premises infrastructure using human-readable configuration files. Key Features: Benefits: Common Use Cases: Essential Terraform…
Cheat Sheet: Essential Docker Commands
Docker is an open-source platform that enables developers to build, ship, and run applications in containers. Containers are lightweight, standalone, and executable packages that include everything an application needs to run, such…
How to get metadata of an AWS EC2 instance
Because your instance metadata is available from your running instance, you do not need to use the Amazon EC2 console or the AWS CLI. This can be helpful when you’re writing scripts…
Compare Pandas Dataframes using DataComPy
How to do a diff between 2 dataframes using Pandas and DataComPy Pandas is a popular open-source Python library used for data manipulation, analysis, and visualization. It provides data structures and functions…
Quick self-signed SSL certificates using Minica
A self-signed SSL (Secure Sockets Layer) certificate is a type of digital certificate that is signed by the same entity that created it, rather than a trusted certificate authority (CA). This means…
Free SSL certificate / HTTPS using Let’s Encrypt and Certbot
A SSL (Secure Sockets Layer) certificate is a digital certificate that verifies the identity of a website and encrypts the connection between a website and its users. It ensures that all data…
How to setup a Python Virtual Environment
A Python Virtual Environment is a self-contained directory that contains a Python interpreter and a set of packages, isolated from the system’s global Python environment. This allows you to: 1) Install venv…