Skip to content

Instantly share code, notes, and snippets.

View rathko's full-sized avatar

Radek Maciaszek rathko

View GitHub Profile
library(digest)
getSymbols(c("^VIX"))
vix = VIX[,"VIX.Adjusted"]
vix.hash = apply(vix, 2, function(col) sapply(col, digest, algo="md5"))
vix.hash = apply(vix.hash, 2, function(col) { as.numeric(paste("0x", col, sep="")) / 15e+38 } )
old.par <- par(mfrow=c(1, 2))
plot(vix, ylim=c(10, 120), ylab='')
plot(vix.hash, ylim=c(0, 1), ylab='')
par(old.par)
environment:
VIRTUAL_HOST: example.com
LETSENCRYPT_HOST: example.com
LETSENCRYPT_EMAIL: youremail@example.com
@rathko
rathko / README.md
Created May 25, 2026 14:33
Commander ST fw 2.x: liquidctl workaround

Commander ST fw 2.x (tested on Corsair iCUE H170i ELITE CAPELLIX AIO) — single-shot apply workaround

A standalone Python script for users hitting either of these symptoms on a Corsair Commander Core / Commander ST running firmware 2.x:

  1. liquidctl set <ch> speed T P T P … fails with IndexError: index out of range_read_data hard-codes three HID read chunks (~181 bytes) and the device's full curve table for 7 channels at 7 points each exceeds that.
  2. liquidctl status (or any set) times out after ~5-25 invocations, only recovers with usbreset — the device's firmware silently stops responding to HID after a burst of operations, while the USB stack and kernel hidraw layer remain healthy (dmesg is silent during the failure; lsusb -v still works).

Tracking issue: liquidctl/liquidctl#753.

What this is