All gists

dch
Last active 7 hours ago acme haproxy

See https://people.freebsd.org/~dch/posts/2026-10-08-haproxy-acme/ Modelled after https://github.com/haproxy/haproxy/blob/master/examples/lua/acme-gandi-livedns.lua

0 0 1
1 -- ACME dns-01 automation via event_hdl callbacks using the Cloudflare DNS API
2 -- Requires HAProxy >= 3.5 (ACME_DEPLOY / ACME_NEWCERT lua events).
3 --
4 -- Supports CNAME delegation: if a domain maps to a delegated FQDN (e.g.
5 -- _acme-challenge.example.net CNAME <key>.example.org), TXT records
6 -- are written to the delegated target instead. The API token then only
7 -- needs Zone:DNS:Edit on example.org, never on the primary zones.
8 --
9 -- HAProxy Configuration:
10 --
dch
Last active 1 day ago

sup is a fun elixir script to visualise OTP supervision trees in real time over a browser. Download, chmod and run it. Or just watch the video for funsies.

0 0 2
dch
Last active 2 weeks ago deadlock freebsd zfs
0 0 2
1 PID TID COMM TDNAME KSTACK
2 0 100000 kernel - mi_switch+0x198 sleepq_switch+0xec _sleep+0x278 mi_startup+0x270 virtdone+0x70
3 0 100131 kernel softirq_0 mi_switch+0x198 sleepq_switch+0xec msleep_spin_sbt+0x14c gtaskqueue_thread_loop+0xec fork_exit+0x80 fork_trampoline+0x18
4 0 100132 kernel softirq_1 mi_switch+0x198 sleepq_switch+0xec msleep_spin_sbt+0x14c gtaskqueue_thread_loop+0xec fork_exit+0x80 fork_trampoline+0x18
5 0 100133 kernel softirq_2 mi_switch+0x198 sleepq_switch+0xec msleep_spin_sbt+0x14c gtaskqueue_thread_loop+0xec fork_exit+0x80 fork_trampoline+0x18
6 0 100134 kernel softirq_3 mi_switch+0x198 sleepq_switch+0xec msleep_spin_sbt+0x14c gtaskqueue_thread_loop+0xec fork_exit+0x80 fork_trampoline+0x18
7 0 100135 kernel softirq_4 mi_switch+0x198 sleepq_switch+0xec msleep_spin_sbt+0x14c gtaskqueue_thread_loop+0xec fork_exit+0x80 fork_trampoline+0x18
8 0 100136 kernel softirq_5 mi_switch+0x198 sleepq_switch+0xec msleep_spin_sbt+0x14c gtaskqueue_thread_loop+0xec fork_exit+0x80 fork_trampoline+0x18
9 0 100137 kernel softirq_6 mi_switch+0x198 sleepq_switch+0xec msleep_spin_sbt+0x14c gtaskqueue_thread_loop+0xec fork_exit+0x80 fork_trampoline+0x18
10 0 100138 kernel softirq_7 mi_switch+0x198 sleepq_switch+0xec msleep_spin_sbt+0x14c gtaskqueue_thread_loop+0xec fork_exit+0x80 fork_trampoline+0x18