This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn elide-params [params elision-predicate] | |
(walk/postwalk (fn [x] | |
(if (and (vector? x) (= 2 (count x)) (elision-predicate (first x))) | |
nil | |
x)) | |
params)) | |
(def blacklist #{:ui.fulcro.client.data-fetch.load-markers/by-id | |
:com.fulcrologic.rad.picker-options/options-cache | |
::uism/asm-id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The API is really simple, to control the lights you send the button a byte array of 13 bytes. | |
// The first byte needs to be 65 and the rest of the twelve bytes are 3-tuples (RGB values 0-255 for the individual LEDs). | |
// So alternating red and green lights would look like | |
[65, | |
255, 0, 0, // red | |
0, 255, 0, // green | |
255, 0, 0, // red | |
0, 255, 0] // green |
OlderNewer