GitLab Self-Hosted Clean Up: Old Pipelines and Jobs

If you’re running a self-hosted GitLab instance, you might eventually accumulate a large number of old pipelines and jobs that are no longer useful. These can clutter your project dashboards and consume unnecessary storage space. In this guide, we’ll walk through how to clean up these unused resources using a Python script. This solution assumes…

Secure Your OPNSense Router With CrowdSec Multi-Server Setup

This post will be edited over time, please feel free to come back and check for new content. Last edit: 11-25-2024 Goal: A HomeLab setup that protects itself This example HomeLab has at its core an OPNSense Router, smart switches with subnet zones, several VMs, a few Docker environments, and specifically for this version of…

Bash with Rsync into the future

To sync all of the mp3 files from a path (pwd) to another location, you can run this first to test to see what would copy: find -ctime -60 -name “*.mp3″ -print0 | rsync -aucvn –files-from=- –from0 ./ /path/to/destination/ Then remove the “n” from the rsync flags to copy, archive style, all files with update…