HowTo: Fix nginx not reloading with long gzip_types lines

Posted Over 1 year ago.
trac.nginx.org

When using many or very long entries of MIME-types that shoudl be gziped in gzip_types directives in nginx...

HowTo: Clone and refresh all repos in a GitLab Group

Posted Over 1 year ago by Florian Heinle.

If the project you're working on has, say, 39 repositories and counting in GitLab and you need all the...

HowTo: Get postgres shell in kubernetes

Posted Over 1 year ago by Florian Heinle.

If your postgres database is only accessible from inside a kubernetes cluster, e.g. if it's configured in AWS RDS...

HowTo: Get kubernetes secrets in plaintext

Posted Over 1 year ago by Florian Heinle.

Here's a one-liner to view base64 encoded secrets in kubernetes. Make sure you have jq installed.

HowTo: Rebalance Elasticsearch Shards

Posted Almost 3 years ago by Andreas Vöst.

If you end up with an Elasticsearch cluster which has a very different disk usage on it's nodes you...

HowTo: Clone a MariaDB database with mariabackup, mbstream and netcat

Posted Over 3 years ago by Claus-Theodor Riegg.

If you have a very large datadir in MariaDB and you want to transfer the data to another host (e.g...

HowTo: enable termination protection for all EC2 instances not in autoscaling groups via aws cli

Posted Over 4 years ago by Claus-Theodor Riegg.

aws ec2 describe-instances --output text --query 'Reservations[].Instances[?!not_null(Tags[?Key == `aws:autoscaling:groupName`].Value)] | [].[InstanceId]' | xargs -L1...

HowTo: enable DeletionProtection for all RDS instances via aws cli and jq

Posted Over 4 years ago by Claus-Theodor Riegg.

aws rds describe-db-instances | jq '.[][] | select(.DeletionProtection == false) | .DBInstanceIdentifier' | xargs -L1 -t aws rds modify-db-instance --deletion-protection...

HowTo: Downgrade a Port on FreeBSD

Posted Almost 5 years ago.

collectd5 in version 5.9.0 is broken and you upgraded it everywhere. But because it's FreeBSD it does not...

HowTo: Use Journalctl to View and Manipulate Systemd Logs

Posted Almost 5 years ago by Claus-Theodor Riegg.
digitalocean.com

HowTo: let puppet agent run from different branch

Posted About 5 years ago.

This is not encouraged because this change is easily forgotten. We recommend using this only if you know what you...

HowTo: verify SSL private key matches SSL certificate

Posted Almost 8 years ago.
kb.wisc.edu

When receiving a new SSL-Certificate for an existing SSL-key it should be checked that they match cryptographically.