Categories
automation
- How to install an old version of PHP using geerlingguy.php on Ubuntu target?
- How to print a variable type in Ansible?
- How to convert a string to int in Jinja2?
- How to extract an object from a list based on attribute value in Jinja2?
- How to loop over a role in Ansible?
- Jinja2: How to iterate over a dictionary?
- How to install a Debian package non-interactively when it requires user input?
- How to generate a comma-separated list in Jinja2?
database
sysadmin
- How to deal with a dangling kill switch virtual network interface?
- How to deal with a dangling kill switch virtual network interface?
- How to fix 'VirtualBox Client cannot connect to X server' when installing Xubuntu 24 as a guest host?
- How to disable IPv6 on Linux?
- How to force DNS servers in Ubuntu?
- How to solve "no space left on device" on /boot during an Ubuntu upgrade?
- Magic SysRq cheatsheet
- How to resize the root partition of CentOS running on an EC2 instance?
- How to create a host-only VirtualBox network using the command line?
- How to mount a LUKS encrypted drive on Ubuntu running as a Guest OS of VirtualBox on Mac?
- A useful ps command
- How to install and configure OpenVPN on Amazon Linux?
- How to convert Maildir to mbox?
- How to programmatically know your external IP address?
- How to do a basic install of Prometheus and Grafana on Ubuntu?
- How to do a basic install of an ELK stack on Ubuntu for log stashing?
- How to get the SSH public key from the private key?
- How to generate a fingerprint of an SSH key?
- Are you puzzled about why SSH does not use your ssh-agent?
- How to install the latest version of Ansible on Ubuntu?
- How to use swaks to send a test email?
- How to redirect all stdout/stderr to syslog?
development
- How to check the syntax of a Python script without executing it?
- How to install GitHub Copilot on NvChad?
- How to install NvChad on Linux?
- NvChad cheatsheet
- How to get the dependencies of a Python package?
- How to view a file at a specific git commit?
- In a Python script, how to change to the directory containing that script?
- What is the best git workflow?
- How to get the current git commit id?
- How to link Atom and GitHub?
- How to create a virtual environment in Python3?
- How to test a responsive UI in various resolutions and modes?
- How to search for changed content in git history?
ssl
- How to list the system certificates on Linux?
- How to create a minimal PKI with EasyRSA?
- How to check that a certificate and a key match?
- How to inspect a Certificate Signing Request (CSR) using OpenSSL?
- How to create a Let’s Encrypt SSL certificate using DNS challenge?
- How to properly use certbot with Nginx on Ubuntu?
- How to install the dns-route53 plugin for certbot on Ubuntu?
- How to create a self-signed SSL certificate?
- How to display the content of an SSL certificate?
containers
kubernetes
- How to force delete a PVC?
- How to delete an ArgoCD app that doesn't want to die?
- How to manually remove finalizers from a namespace?
- How to get the IP address of a kind cluster?
- A kubectl pattern to upsert an object without a manifest file
- How to get a Kubernetes secret with kubectl only?
- Notes on how to pass the Certified Kubernetes Security Specialist exam
- How to enable debug logging on an Istio proxy?
- How to switch which Kubernetes cluster kubectl is talking to?
- How to setup a Kubernetes secret to pull images from ECR?
- How to test a service account permissions in Kubernetes?
- How to install and kick off minikube on Ubuntu?
aws
- How to avoid using AWS credentials in GitHub Actions?
- How to set up MFA on AWS?
- How to prepare for the AWS DevOps Pro certification exam
- How to install Docker on Amazon Linux 2?
- How to make an S3 bucket public?
- How to resize the root partition of CentOS running on an EC2 instance?
- How should I tag my AWS resources?
- What is the VPC flow log format?
- How to setup MFA on AWS using only the command line?
- How to install the latest version of AWS command line tool on Ubuntu?
- How to install and configure AWS CloudWatch agent on Ubuntu?
shell
- How to generate an MD5 checksum for a file on Windows?
- How to loop variables with spaces in bash?
- How to extract a substring in Bash?
- How to set the executable bit on directories but not files?
- How to base64-encode a file on Windows?
- How to persist variables in a loop from a find command?
- How to iterate an array in Bash?
- How to trim leading and trailing characters in Bash?
- How to use `find` to search for files based on modification time?
- How to have a dynamic variable name in bash?
- How to test that an environment variable is set in bash?
- How to perform a lock/mutex in bash