Skip to content

Instantly share code, notes, and snippets.

View hcartiaux's full-sized avatar
✌️

Hyacinthe Cartiaux hcartiaux

✌️
View GitHub Profile
@hcartiaux
hcartiaux / PKGBUILD
Last active November 7, 2025 09:26
env-modules PKGBUILD fixed
# Maintainer: snafu
# Contributor: Hyacinthe Cartiaux <hyacinthe dot cartiaux at free dot fr>
pkgname=env-modules
pkgver=5.6.0
pkgrel=2
pkgdesc="Provides for an easy dynamic modification of a user's environment via modulefile."
arch=('i686' 'x86_64')
url="https://envmodules.io/"
license=('GPL-2.0')
depends=('tcl>=8.5' 'procps')
@hcartiaux
hcartiaux / oar_completion.sh
Last active October 1, 2025 11:15
Bash completion file for the OAR batch scheduler user commands
# shellcheck shell=bash
################################################################################
# oar_completion.sh - bash completion script for OAR commands.
################################################################################
# Copyright (C) 2025 Hyacinthe Cartiaux <hyacinthe.cartiaux@uni.lu>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
@hcartiaux
hcartiaux / backup.sh
Last active September 10, 2025 16:02
Convenient backup script to detect my encrypted USB backup disks, mount them and call bontmia
#!/bin/bash
ACTION="${1:-backup}"
# Backup configuration
declare TARGET="backup-perso"
declare MNTPOINT="/mnt/usbdisk"
declare SRC=~
# Device configurations
@hcartiaux
hcartiaux / PKGBUILD
Last active May 7, 2025 07:14
netcalc PKGBUILD updated
# Maintainer: hcra <hcra at u53r dot space>
# Contributor: Hyacinthe Cartiaux <hyacinthe dot cartiaux at free dot fr>
pkgname=netcalc
pkgver=2.1.7
pkgrel=1
pkgdesc="IP network calculator - Simplified clone of sipcalc with ipcalc looks."
arch=('x86_64')
url="https://github.com/troglobit/netcalc"
license=('BSD-3-Clause')
@hcartiaux
hcartiaux / PKGBUILD
Created February 26, 2025 17:36
Luniistore PKGBUILD
# Maintainer: milouse <etienne at depar dot is>
# Maintainer: peshane <social at peshane dot net>
# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux@free.fr>
pkgname=luniistore
pkgver=4.0.312
pkgrel=1
pkgdesc="Manage your Lunii's My Fabulous Storyteller content or buy new ones"
arch=('x86_64')
url="https://www.lunii.fr"
license=('unknown')
@hcartiaux
hcartiaux / pdu.sh
Created January 13, 2025 20:23
Prometheus exporter for PDUs power consumption
#!/bin/bash --posix
# Time-stamp: <Thu 2024-09-26 11:28:19 hcartiaux>
################################################################################
# Collect power consumption values using the PDUs in CDC-S02-005
################################################################################
#set -x
COMMAND=$(basename "$0")
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
RACKS_LIST="A02 A04 A05 A07-A A07-B A09 A11 A12 A14 B02 B04 B05 B07 B09 B11 B12 B14 C02 C05 C07 C09 C11 C12 C14 D02 D04 D05 D07 D09 D11 D12 D14"
@hcartiaux
hcartiaux / PKGBUILD
Last active October 3, 2024 08:00
Updated vagrant-git PKGBUILD
# Maintainer: Ian Watt <ian at ewatt.ca>
# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux at free.fr>
# Contributor: Jonathan Steel <jsteel at archlinux.org>
_pkgname=vagrant
pkgname=vagrant-git
pkgver=2.4.2.dev+000013.26a1ff10.69.g71150ee3d
pkgrel=1
pkgdesc="Build and distribute virtualized development environments"
arch=('x86_64')
@hcartiaux
hcartiaux / git-crypt-rm-gpg-user.sh
Created February 1, 2024 16:35 — forked from Falkor/git-crypt-rm-gpg-user.sh
Git-crypt remove user.
#!/usr/bin/env bash
#
# Script to remove GPG user (recipient) with git-crypt
#
# It will re-initialize git-crypt for the repository and re-add all keys except
# the one requested for removal.
#
# Note: You still need to change all your secrets to fully protect yourself.
# Removing a user will prevent them from reading future changes but they will
# still have a copy of the data up to the point of their removal.
@hcartiaux
hcartiaux / easybuild_test_report_10789_easybuilders_preasybuild-easyconfigs_20203511-UTC-16-35-35.md
Created June 11, 2020 16:35
EasyBuild test report for easybuilders/easybuild-easyconfigs PR #10789

Test report for easybuilders/easybuild-easyconfigs#10789

Test result

Build succeeded for 1 out of 1 (1 easyconfigs in this PR)

Overview of tested easyconfigs (in order)

  • SUCCESS TopHat-2.1.2-intel-2019b.eb

Time info

  • start: Thu, 11 Jun 2020 16:33:13 +0000 (UTC)
@hcartiaux
hcartiaux / easybuild_test_report_10788_easybuilders_preasybuild-easyconfigs_20201911-UTC-16-19-00.md
Created June 11, 2020 16:18
EasyBuild test report for easybuilders/easybuild-easyconfigs PR #10788

Test report for easybuilders/easybuild-easyconfigs#10788

Test result

Build succeeded for 1 out of 1 (1 easyconfigs in this PR)

Overview of tested easyconfigs (in order)

  • SUCCESS TopHat-2.1.2-foss-2019b.eb

Time info

  • start: Thu, 11 Jun 2020 16:16:41 +0000 (UTC)