Skip to content

Instantly share code, notes, and snippets.

@Soraph
Soraph / clean_repo.sh
Created November 16, 2022 14:36
Repo maintenance, be sure to not have things in stash
git fetch --prune
git branch -vv | grep -i 'gone' | awk '{print $1}' | xargs git branch -D
git fsck --full
git reflog expire --expire=now --all
git repack -a -d -l
git gc --prune=now --aggressive
@Soraph
Soraph / haproxy.cfg
Created July 28, 2023 14:36
Out of the box default configuration file for haproxy-1.8.27-5.el8.x86_64
#---------------------------------------------------------------------
# Example configuration for a possible web application. See the
# full configuration options online.
#
# https://www.haproxy.org/download/1.8/doc/configuration.txt
#
#---------------------------------------------------------------------
#---------------------------------------------------------------------
# Global settings