Skip to content

Instantly share code, notes, and snippets.

View frederik-elwert's full-sized avatar

Frederik Elwert frederik-elwert

View GitHub Profile
@Kerryliu
Kerryliu / ugreen_truenas_led.md
Last active January 23, 2026 16:08
TrueNAS UGREEN DXP4800 Plus Status LED Guide

UGREEN DXP4800 Plus TrueNAS Status LED Guide

20240609_035951642_iOS

The following is a quick guide on getting basic status LED functionality working with TrueNAS running on the UGREEN DXP4800 Plus. Theoretically, it should work on all models (with some small revisions to the script), but I only have a DXP4800 Plus. :)

This guide is for cron job that runs a script to update the LEDs every couple minutes, but I'm sure the following can be modified for blinky LEDs as well.

Steps:

@rriemann
rriemann / table-filter.py
Created August 19, 2017 17:35
Pandoc Floating Tables
#!/usr/bin/env python3
# based on https://groups.google.com/d/msg/pandoc-discuss/RUC-tuu_qf0/h-H3RRVt1coJ
import pandocfilters as pf
import sys
import re
def latex(s):
return pf.RawBlock('tex', s)