Skip to content

Instantly share code, notes, and snippets.

View theodric's full-sized avatar
🥔
mmm potatoes

þēodrīċ theodric

🥔
mmm potatoes
View GitHub Profile
@theodric
theodric / tpscroll.sh
Created September 4, 2025 03:34
enable trackpoint scrolling on C13 Yoga in Linux
#!/bin/bash
# Enables normal trackpoint scrolling on the ex-chromebook
# this goes into .config/autostart-scripts (make dir if required) and Plasma will automagically turn it into a .desktop in .config/autostart/
xinput set-prop "TPPS/2 Elan TrackPoint" "libinput Scroll Method Enabled" 0 0 1
@theodric
theodric / DPS-1200FB_infodump.txt
Last active October 14, 2025 21:28
HP Proliant Common Slot PSU DPS-1200FB infodump
HP Proliant Common Slot PSU range
Widely regarded as insanely high quality
Of special note from the range: 1200W version DPS-1200FB
P/N: 441830-001, 438202-001, 440785-001, HSTNS-PD11
1200W on 230VAC input
900W on 120VAC input
12VDC 100A output
@theodric
theodric / tpled.txt
Last active October 23, 2025 20:38
thinkpad LED control service/script
twinkpad:/sys/devices/platform/thinkpad_acpi # cat /etc/systemd/system/tpled.service
[Unit]
Description=Custom LED Trigger Setup
After=multi-user.target
[Service]
Type=oneshot
ExecStart=/root/bin/tpled.sh
RemainAfterExit=yes
@theodric
theodric / .nanorc
Created November 4, 2025 20:13
nanorc
include "/usr/share/nano/*.nanorc"
set mouse
set positionlog
set softwrap
set atblanks
set indicator
set linenumbers