Skip to content

Instantly share code, notes, and snippets.

@AndrewKvalheim
AndrewKvalheim / ~ › .config › nixpkgs › overlays › unstable.nix
Last active July 22, 2022 23:34
Use unstable package until target version
_: pkgs:
let
unstable = import <unstable> { overlays = [ ]; };
overrideUntilVersion = p: v: (if pkgs ? ${p} && pkgs.lib.versionAtLeast pkgs.${p}.version v then pkgs else unstable).${p};
in
builtins.mapAttrs overrideUntilVersion {
aws-sam-cli = "1.52.0";
darktable = "4.0.0";
efficient-compression-tool = "0.9.1";
kitty = "0.25.2";
@AndrewKvalheim
AndrewKvalheim / README.md
Last active August 31, 2023 19:08
en_US@aspirational
@AndrewKvalheim
AndrewKvalheim / README.md
Created December 29, 2024 22:09
Show the content of a Meshtastic channel URL

Example usage:

$ ./inspect-meshtastic-url.py 'https://meshtastic.org/e/?add=true#CiESEIx68aUDqunRAQuS3a91C60aCFBTLU1lc2ghJQIAAAASDwgBOAFABUgBUB5oAcgGAQ'
settings {
  psk: "\214z\361\245\003\252\351\321\001\013\222\335\257u\013\255"
  name: "PS-Mesh!"
  id: 2
}
lora_config {