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 <[email protected]> | |
# ----------------------------------------------------------------------------- | |
# 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 <[email protected]> | |
# | |
# ------------------------------------------------------------------------------ | |
# 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. <[email protected]> | |
# ----------------------------------------------------------------------------- | |
# 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. |
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 <[email protected]> | |
# ----------------------------------------------------------------------------- | |
# refresh_system.sh — macOS Maintenance Toolkit | |
# | |
# A modular Bash script to run daily/weekly maintenance on macOS systems. | |
# Uses either dialog or gum as an interactive frontend, with fallback. | |
# Tasks include: |
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 Sébastien L. | |
# | |
# Description: | |
# This script scans and maintains Git repositories under a base directory. | |
# Features: | |
# - Silent by default, verbose with '-v' or '--verbose'. | |
# - Dynamic discovery with '--discover'. | |
# - Force 'yes' with '--force', skip all prompts with '--skip'. |
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 Sébastien L. | |
# Description: Script to activate or rollback Nix Home Manager profile on macOS. | |
# Script d’administration pour activer ou restaurer un environnement Nix Home Manager sous macOS. | |
# Il vérifie l’utilisateur, la présence du flake et sécurise les opérations avec gestion des sauvegardes. | |
# Version: 0.1 (2025-06-25) | |
# Author: Sebastien L. |
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 | |
// SPDX-FileCopyrightText: 2025 Sébastien L. | |
// SPDX-FilePurpose: POC | |
// SPDX-FileComment: Programme à usage démonstratif | |
// Version: 1.0.0 | |
// Date: 2025-06-14 | |
// | |
// slack-look-up.go — Vérifie l'existence de workspaces Slack en générant | |
// et testant des sous-domaines potentiels (HTTP HEAD). | |
// |
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 | |
# Post-install script for Xubuntu 24 on MBA | |
# (MacBook Air Intel Core 2 Duo) | |
# | |
# Ce script post-install pour Xubuntu 24.04.2 LTS optimise un vieux MacBook Air 11" | |
# (Intel Core 2 Duo) en : | |
# | |
# - supprimant les paquets inutiles, | |
# - installant les pilotes nécessaires (audio, trackpad, webcam…), |
NewerOlder