Skip to content

Instantly share code, notes, and snippets.

@nuxeh
nuxeh / gist:592722b67c8a64ada88b18ddb23a8698
Created September 24, 2025 07:30
7-bit sysex chunking encoder/decoder for SMC midi device
#!/usr/bin/env python3
"""
7-bit encoding/decoding utility for packet data.
This script can encode 8-bit data into 7-bit format or decode 7-bit data back to 8-bit.
Handles framed packets with F0/F7 markers.
"""
import sys
import argparse
@nuxeh
nuxeh / nixinst.sh
Created May 12, 2020 12:00
Automated NixOS installer script
#!/bin/sh
#
# For installing NixOS having booted from the minimal USB image.
#
# To run:
#
# sh -c "$(curl https://eipi.xyz/nixinst.sh)"
#
# https://eipi.xyz/blog/nixos-x86-64