This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # ----------------------------------------------------------------------------- | |
| # cross-filter-inventory.sh | |
| # ----------------------------------------------------------------------------- | |
| # Description: | |
| # This custom script compares and filters two related inventory CSV files: | |
| # 1) An anonymized "updates" CSV (e.g.: inventory-anon-updates.csv) | |
| # 2) A confidential detailed inventory CSV (e.g.: inventory-detailed.csv) | |
| # | |
| # It filters out: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # linkedin_export_parser_sweeper.py | |
| # Version 0.2 – 2025-12-02 | |
| # | |
| # CLI tool designed to parse, filter, and clean up your public LinkedIn | |
| # interactions (comments, reactions, shares) based on the official CSV data | |
| # export. Provides interactive triage, persistent SQLite-based whitelist/ | |
| # blacklist, and semi-automated comment removal through Safari integration. | |
| # | |
| # (c) 2025 dzogrim |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # SPDX-License-Identifier: MIT | |
| #version=DEVEL | |
| # Fedora 42 x86_64 minimal TTY Live hybrid ISO for firmware on/offline updates (fwupd) | |
| # | |
| # Purpose (what this ISO is for) | |
| # - Text-only (TTY) Fedora 42 Live ISO to run firmware updates with fwupd. | |
| # - Works online (LVFS over HTTPS) or offline using a restored cache. | |
| # - Boots on UEFI and BIOS/legacy. | |
| # - No GUI (nmcli only). Wi-Fi supported. | |
| # - Persistence supported via an ext4 partition labeled 'overlay' on the USB stick. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # SPDX-License-Identifier: MIT | |
| # SPDX-FileCopyrightText: 2025 dzogrim | |
| # SPDX-FileContributor: dzogrim <dzogrim@dzogrim.pw> | |
| # ============================================================================== | |
| # Compare local config files/folders against two Dropbox references | |
| # ("work" and "personal") and show concise diffs/missing files. | |
| # ============================================================================== | |
| # How it works | |
| # • The REFSETS array lists triplets: "current|ref_work|ref_personal". |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -Eeuo pipefail | |
| # tailscale-prune-devices.sh description: | |
| # • Fetches all devices from your tailnet via GET /api/v2/tailnet/{tailnet}/devices. | |
| # • Filters out devices with `keyExpiryDisabled=true`. | |
| # • Flags devices whose key has expired (expires <= now) | |
| # or that have been inactive since a cutoff (lastSeen <= now-<days>; default 120). | |
| # • Shows name, lastSeen, and expires for each candidate. | |
| # • Deletes each candidate via DELETE /api/v2/device/{id}: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # SPDX-License-Identifier: MIT | |
| # SPDX-FileCopyrightText: 2015-2025 dzogrim | |
| # SPDX-FileContributor: dzogrim <dzogrim@dzogrim.pw> | |
| # ----------------------------------------------------------------------------- | |
| # reset_spotlight_position.sh | |
| # ----------------------------------------------------------------------------- | |
| # Description: | |
| # Re-centers the macOS Spotlight search bar on the main screen. | |
| # Optionally disables onboarding/suggestions and resets corrupted positioning. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # ------------------------------------------------------------------------------ | |
| # Script : set-python-123.sh | |
| # Author : Sébastien L. | |
| # | |
| # Description : | |
| # This script configures system-wide defaults for Python and related tools | |
| # installed via MacPorts. It uses `port select --set` to point commands like | |
| # `python`, `pip`, `cython`, `ansible`, etc. to a specific installed version. | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # ------------------------------------------------------------------------------ | |
| # Compare les fichiers de configuration bash (~/.bashrc.d) locaux avec des | |
| # références sauvegardées sur Dropbox, selon l'environnement détecté (pro ou perso). | |
| # | |
| # Ce script est utile pour détecter les différences ou les oublis dans les fichiers | |
| # de configuration shell synchronisés entre plusieurs machines. | |
| # | |
| # Dépendances : jq, diff, Dropbox installé et configuré avec fichier info.json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # SPDX-License-Identifier: MIT | |
| # SPDX-FileCopyrightText: 2019–2025 dzogrim <dzogrim@dzogrim.pw> | |
| # | |
| # ------------------------------------------------------------------------------ | |
| # brew-update.sh — Homebrew Maintenance Tool for macOS | |
| # | |
| # This script automates Homebrew maintenance on macOS: | |
| # - Updates the package index (brew update) | |
| # - Lists and upgrades outdated packages (brew upgrade) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # SPDX-License-Identifier: MIT | |
| # SPDX-FileCopyrightText: 2015-2025 dzogrim | |
| # SPDX-FileContributor: Sébastien L. <dzogrim@dzogrim.pw> | |
| # ----------------------------------------------------------------------------- | |
| # File: certs_validity.sh | |
| # Description: | |
| # This script checks the expiration dates of TLS certificates | |
| # for common services (IMAP, SMTP, HTTPS) on a list of domains. | |
| # It performs DNS resolution and TLS negotiation using OpenSSL. |
NewerOlder