Skip to content

Instantly share code, notes, and snippets.

View Denperidge's full-sized avatar

Cat Denperidge

View GitHub Profile
@Denperidge
Denperidge / default.nix
Created March 3, 2024 22:29
Another attempt at Caddy with plugins!
{ lib
, stdenv
, fetchFromGitHub
, nixosTests
, caddy
, testers
, installShellFiles
, autoPatchelfHook
}:
let
{ pkgs, config, ... }:
with pkgs; stdenv.mkDerivation rec {
pname = "caddy";
version = "2.6.2";
dontUnpack = true;
nativeBuildInputs = [ git go xcaddy ];
configurePhase = ''
@Denperidge
Denperidge / launchkey_25_MK2_clone_hero_drums.py
Last active May 23, 2025 18:40 — forked from Klepvink/launchkey_25_MK2.py
Python scripts that puts a rainbow fade on the novation launchkey 25 MK2 LED-lights. Original script was written by David Madison (https://www.partsnotincluded.com/how-to-control-the-leds-on-a-novation-launchkey-mini-ii/)
#
# Launchkey Mini II Sweep Animation
# by David Madison © 2018
# www.partsnotincluded.com
#
#
# Modified to work for the Launchkey 25 MK2.
# Instead of the original sweep, it now displays
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = with pkgs.buildPackages; [
git
nodejs_22
pnpm
bash
];
# The shellHook below includes a workaround for
# https://discourse.nixos.org/t/add-bin-bash-to-avoid-unnecessary-pain/