Skip to content

Instantly share code, notes, and snippets.

View gretel's full-sized avatar
🚀
the jitter does know where it is at none time

Tom Hensel gretel

🚀
the jitter does know where it is at none time
View GitHub Profile
@gretel
gretel / Makefile
Last active November 21, 2024 01:10
control 'cm108' based radio interfaces on openbsd (inspired by https://github.com/twilly/cm108)
# CM108 GPIO control utility for OpenBSD
PROG= cm108
SRCS= cm108.c
MAN= # empty, no manpage yet
BINDIR= /usr/local/bin
BINOWN= root
BINGRP= bin
BINMODE= 555
@gretel
gretel / videodate.sh
Created July 11, 2024 00:15
Video File Date Adjustment Script - set file data according to the metadata of the video content
#!/bin/sh
# Video File Date Adjustment Script
#
# This script traverses a directory (and its subdirectories) to process video files
# (mp4, avi, mkv, mov) and their containing directories. For each video file, it:
#
# 1. Extracts the creation date from the file's metadata, prioritizing:
# a) com.apple.quicktime.creationdate
# b) container metadata
@gretel
gretel / printer.cfg
Created January 28, 2024 18:19
creality ender 3 2020 klipper configuration
# This line includes all the standard macros.
[include klipper-macros/*.cfg]
# Uncomment to include features that require specific hardware support.
# LCD menu support for features like bed surface selection and pause next layer.
[include klipper-macros/optional/lcd_menus.cfg]
# Optimized bed leveling
[include klipper-macros/optional/bed_mesh.cfg]
[include macro.cfg]
@gretel
gretel / .config
Last active October 31, 2023 21:29
openwrt diff configuration for a pcengine apu2 based dual minipcie 2.4/5ghz access point bridge providing wpa3
CONFIG_TARGET_x86=y
CONFIG_TARGET_x86_64=y
CONFIG_TARGET_x86_64_DEVICE_generic=y
CONFIG_DEVEL=y
CONFIG_TOOLCHAINOPTS=y
CONFIG_BUSYBOX_CUSTOM=y
CONFIG_ATH10K_LEDS=y
CONFIG_ATH10K_THERMAL=y
CONFIG_ATH9K_HWRNG=y
CONFIG_ATH9K_SUPPORT_PCOEM=y
@gretel
gretel / pico_w.yaml
Last active January 17, 2023 21:25
ESPHome on Raspberry Pi Pico W
---
substitutions:
devicename: 'picow'
upper_devicename: 'PicoWireless'
logger_level: 'INFO'
esphome:
name: ${devicename}
project:
name: "jitter.eu"
@gretel
gretel / gosundstrip.yaml
Created December 8, 2022 17:56
ESPHome on Gosund P1 (and clone clones)
#$ esphome -s devicename kitchenstrip -s upper_devicename KitchenStrip -s restore_from_flash True run gosund_strip.yaml --device /dev/cu.usbserial-2230
---
substitutions:
devicename: 'gosundstrip'
upper_devicename: 'GosundStrip'
devicecomment: 'https://www.amazon.de/gp/product/B09JVSB9LD?psc=1'
logger_level: 'WARN'
restore_from_flash: 'False'
esp8266:
@gretel
gretel / yunshanesp8266.yaml
Created December 8, 2022 17:50
ESPHome on Yunshan ESP8266
#$ esphome -s devicename bathmirrorheating -s upper_devicename BathMirrorHeating run yunshanesp8266.yaml --device /dev/cu.usbserial-2230
---
substitutions:
devicename: 'yunshanesp8266'
upper_devicename: 'Yunshan ESP8266'
devicecomment: 'https://arduinoplusplus.wordpress.com/2018/08/28/home-automation-and-the-internet-of-things-the-start/'
logger_level: 'INFO'
esphome:
name: ${devicename}
@gretel
gretel / resume.json
Last active November 23, 2022 13:31
json resume de_DE
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Tom Hensel",
"label": "Belastbare Konzepte, technische Innovation, qualitative Exzellenz",
"image": "",
"email": "linkedin@hensel.consulting",
"phone": "0157-35234208",
"url": "",
"summary": "Spezialisiert auf die Bereiche Technische Beratung (Consultant) 📚 Betrieb von Informationstechnik (DevOps) 🤖 Ausbildung von Fachkräften (Training) 👨🏫",
@gretel
gretel / smtpd.conf
Last active August 31, 2022 10:53
low bs openbsd mail server configuration
# $OpenBSD: smtpd.conf,v 1.9 2016/05/03 18:43:45 jung Exp $
# tables
table aliases file:/etc/mail/aliases
table domains file:/etc/mail/domains
table passwd file:/etc/mail/passwd
table secrets file:/etc/mail/secrets
table deny db:/etc/mail/deny.db
table receip db:/etc/mail/receip.db
@gretel
gretel / printer.cfg
Last active January 28, 2024 18:18
get klippered on multec m420+, skr v1.3, bigtreetech tmc2209
# This line includes all the standard macros.
[include klipper-macros/*.cfg]
# Uncomment to include features that require specific hardware support.
# LCD menu support for features like bed surface selection and pause next layer.
[include klipper-macros/optional/lcd_menus.cfg]
# Optimized bed leveling
[include klipper-macros/optional/bed_mesh.cfg]
[include macro.cfg]