Skip to content

Instantly share code, notes, and snippets.

@dali99
dali99 / openpgp.txt
Created July 14, 2016 21:46
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:8eaf658dd5710321938705c4764ad34be8bf72cf]

Keybase proof

I hereby claim:

  • I am dali99 on github.
  • I am dandellion (https://keybase.io/dandellion) on keybase.
  • I have a public key ASACoJsa6v6gm-eE_Ea717gNMzvIE43ooPZJX8pI_K9wZAo

To claim this, I am signing this object:

#define D2 0
#define D3 1
#define D4 2
#define D5 3
#define D6 4
#define D7 5
#define D8 6
#define SW1 7
void setup()
@dali99
dali99 / terning3.ino
Last active May 5, 2017 10:59
terning3.ino
#define D2 0
#define D3 1
#define D4 2
#define D5 3
#define D6 4
#define D7 5
#define D8 6
#define SW1 7
void setup()
0xbE4bf4578ee156F0ab3e6cBCfdfFf8FC3351c6db
################################################################
################################################################
## ##
## This module now lives in a repository! ##
## https://github.com/dali99/nixos-matrix-modules ##
## ##
## It has a few fixes, and quite a few more features, ##
## like easy workers and automatic nginx config ##
## ##
################################################################
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p bash pulseaudio jalv pipewire tmux
set -euo pipefail
IFS=$'\n\t'
# Variables
outL="alsa_output.usb-Conexant_CONEXANT_USB_AUDIO_000000000000-00.analog-stereo:playback_FL"
outR="alsa_output.usb-Conexant_CONEXANT_USB_AUDIO_000000000000-00.analog-stereo:playback_FR"
inM="alsa_input.usb-Conexant_CONEXANT_USB_AUDIO_000000000000-00.mono-fallback:capture_MONO"