Plein de Trucs en vrac...

Clé SSH

https://creeper.fr/ssh.key

ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDKyJSe0d7Z+KTGlAMwWFn+LC6UbrpPsvWuRmxTaeBjt tbringuier_2025

Cloudflare Warp

Permet de faire passer tout son traffic par Cloudflare et ainsi bénéficier d’un bien meilleur peering à l’international.

Télécharger ici

Marionnet

Marionnet VM

Machine virtuelle Debian 11 avec le logiciel Marionnet installé dessus en démarrage automatique.

Disponible pour VMWare et VirtualBox. Fichiers OVA hébergés chez Cloudflare R2 🚀

IUT Brandings

Les brandings de l’IUT de Villetaneuse au format .svg -> ici

WatchTower

services:
  watchtower:
    container_name: watchtower
    image: containrrr/watchtower
    volumes:
      - '/var/run/docker.sock:/var/run/docker.sock'
    restart: unless-stopped
    environment:
      - WATCHTOWER_CLEANUP=true
      - TZ=Europe/Paris
      - WATCHTOWER_INCLUDE_RESTARTING=true
      - WATCHTOWER_POLL_INTERVAL=3600
      - WATCHTOWER_ROLLING_RESTART=true

Mises à jour automatiques

MAILTO=""
0 * * * * DEBIAN_FRONTEND=noninteractive apt update -qq && \
          DEBIAN_FRONTEND=noninteractive apt full-upgrade -y -qq > /dev/null 2>&1

Supprimer les métadonnées .zshrc

erasemeta() {
    for item_path in "$@"; do
        local base_name
        base_name=$(basename "$item_path")

        if [[ "$base_name" == ".DS_Store" ]]; then
            continue
        fi

        if [ -f "$item_path" ]; then
            exiftool -all= -overwrite_original "$item_path"
            if [[ "$item_path" == *.pdf ]]; then
                qpdf --no-warn --linearize --replace-input "$item_path"
                local qpdf_backup_file="${item_path}.~qpdf-orig"
                if [ -f "$qpdf_backup_file" ]; then
                    rm "$qpdf_backup_file"
                fi
            fi
        elif [ -d "$item_path" ]; then
            find "$item_path" -type f -not -name ".DS_Store" -print0 | while IFS= read -r -d $'\0' file; do
                exiftool -all= -overwrite_original "$file"
                if [[ "$file" == *.pdf ]]; then
                    qpdf --no-warn --linearize --replace-input "$file"
                    local qpdf_backup_file_in_dir="${file}.~qpdf-orig"
                    if [ -f "$qpdf_backup_file_in_dir" ]; then
                        rm "$qpdf_backup_file_in_dir"
                    fi
                fi
            done
        else
            echo "Le chemin '$item_path' n'existe pas ou n'est pas un fichier ou un répertoire valide."
        fi
    done
}