Skip to content

Instantly share code, notes, and snippets.

View mennucc's full-sized avatar
😬
I am anguished by war

A Mennucc mennucc

😬
I am anguished by war
View GitHub Profile
@mennucc
mennucc / README.md
Last active June 8, 2026 12:38
parse for latex overfulls

LaTeX Overfull Parser

latex_overfull_parser.py reads a LaTeX .log file and lists Overfull \hbox warnings with the source file, source line, amount in points, and log line.

Usage

Run it from the directory containing the LaTeX source and log:

This script UC96_logger reads the Bluetooth data from the

  • USB Digital Tester
  • model J7-c
  • produced by SJAMING

that appears as a Bluetooth gadget as UC96_SPP.

The script is in Python, and it should run fine in a GNU/Linux operating system.

Two Python classes that rotate log files and compress them

@mennucc
mennucc / wingdb
Created November 14, 2025 08:16
wingware wingdb with python autodetection
#!/bin/bash
# Script used to debug sub-processes launched via sys.executable
# We replace sys.executable with this script, which inserts code
# that starts debugging before the users's module is invoked.
# The command line contains the file name to debug and its arguments
# The debugger is configured using the following envs:
#
@mennucc
mennucc / Makefile
Last active July 1, 2025 17:56 — forked from greenbigfrog/Makefile
Brief instructions to (re)compile nct6775 kernel module using DKMS
obj-m := nct6775-core.o
nct6775-objs := nct6775-platform.o
obj-$(CONFIG_SENSORS_NCT6775) += nct6775.o
## this is not currently compiled
#obj-$(CONFIG_SENSORS_NCT6775_I2C) += nct6775-i2c.o
@mennucc
mennucc / README.md
Last active November 13, 2026 09:32
Rsyslog & TLS & Letsencrypt

⚠️ WARNING — This setup no longer works as documented (since July 2026)

Let's Encrypt has discontinued issuing certificates with the clientAuth Extended Key Usage (EKU). As of July 8, 2026, Let's Encrypt certificates can no longer be used for TLS client authentication.

This breaks the mutual TLS authentication scheme described in this guide, where rsyslog clients authenticate to the RELP server using Let's Encrypt certificates.

Newly issued certificates contain only the serverAuth EKU, causing GnuTLS/rsyslog to reject them with errors such as certificate validation failed and unsuitable certificate purpose.

The recommended replacement is to use a private Certificate Authority (CA) for client certificates, while continuing to use Let's Encrypt for server authentication.