Skip to content

Instantly share code, notes, and snippets.

@swherdman
swherdman / ld6004_monitor.py
Created March 2, 2026 06:07
HLK-LD6004 - 60GHz Radar Monitor - Test Script
#!/usr/bin/env python3
"""HLK-LD6004 / LD6002B TinyFrame radar monitor.
Usage: python3 ld6004_monitor.py [/dev/ttyUSB0]
"""
import os
import sys
import struct
import time
#!/bin/bash
echo "🔍 Scanning Docker volumes for SeaweedFS data files..."
found_any=false
for VOLUME in $(docker volume ls -q); do
MOUNTPOINT=$(docker volume inspect --format '{{ .Mountpoint }}' "$VOLUME")
# Check if SeaweedFS files exist
ENDOFSIGSTART=
export PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin
#
# ZeroTier install script
#
# All this script does is determine your OS and/or distribution and then add the correct
# repository or download the correct package and install it. It then starts the service
# and prints your device's ZeroTier address.

Keybase proof

I hereby claim:

  • I am swherdman on github.
  • I am swherdman (https://keybase.io/swherdman) on keybase.
  • I have a public key ASCTl6bqyd1lw0RQItLU6CINgMShqhDmtioVuoGEbv7U0Qo

To claim this, I am signing this object:

@swherdman
swherdman / gist:520499154187ab6b77c3
Created May 13, 2015 04:11
Verifying I am +swherdman on my passcard. https://onename.com/swherdman
Verifying I am +swherdman on my passcard. https://onename.com/swherdman
@swherdman
swherdman / 0_reuse_code.js
Last active August 29, 2015 14:18
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console