Skip to content

Instantly share code, notes, and snippets.

View aeroevan's full-sized avatar

Evan McClain aeroevan

  • MITRE
  • Chantilly, VA
View GitHub Profile
@aeroevan
aeroevan / key_grinder_cover.scad
Created August 8, 2026 05:30
mounting a cremaloop to a weber key grinder
// Cover for the top/front of a Weber Key coffee grinder.
//
// Footprint (grinder dimensions, before clearance):
// - 80.5 mm wide
// - front end is a half circle of radius 80.5/2 = 40.25 mm
// - straight top measured back from the tangent line of that half circle
// (96 mm, shortened from the grinder's 160 mm to suit the shelf gussets)
// - front/side skirt drops 80 mm down
//
// Origin: (0,0,0) sits at the center of the half circle, level with the bottom
@aeroevan
aeroevan / Containerfile
Created July 9, 2026 03:21
XMMS2 setup
# Containerized xmms2d playing audio on the host via PipeWire.
#
# Build:
# podman build -t xmms2d .
#
# Run (rootless podman, audio via the host PipeWire socket):
# podman run --rm -d --name xmms2d \
# --userns=keep-id \
# --security-opt label=disable \
# -v "$XDG_RUNTIME_DIR/pipewire-0:/run/pipewire/pipewire-0" \
@aeroevan
aeroevan / Dockerfile
Created November 1, 2022 17:30
fedora-based dumpvdl2 image
FROM registry.fedoraproject.org/fedora-minimal:37 as builder
RUN microdnf update -y && microdnf install -y git gcc libxml2-devel rtl-sdr-devel zlib-devel cmake protobuf-c-devel czmq-devel cppzmq-devel glib2-devel sqlite-devel && microdnf clean all
RUN git clone https://github.com/szpajder/libacars.git && \
cd libacars && mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. && \
make && make install
RUN git clone https://github.com/szpajder/dumpvdl2.git && \
cd dumpvdl2 && mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. -Drtl=ON && \
@aeroevan
aeroevan / Dockerfile
Created November 1, 2022 17:29
fedora-based acarsdec image
FROM registry.fedoraproject.org/fedora-minimal:37 as builder
RUN curl -k https://copr.fedorainfracloud.org/coprs/rezso/SDR/repo/fedora-37/rezso-SDR-fedora-37.repo > /etc/yum.repos.d/rezso-SDR-fedora-37.repo
RUN microdnf update -y && microdnf install -y git gcc libxml2-devel zlib-devel cmake && \
microdnf install -y airspyone_host-devel && \
microdnf clean all
RUN git clone https://github.com/szpajder/libacars.git && \
cd libacars && mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. && \
@aeroevan
aeroevan / PlottingCircles.ipynb
Last active August 7, 2018 02:09
There has to be a better way to plot geodesic(ish) buffers...
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@aeroevan
aeroevan / keybase.md
Last active October 23, 2018 02:04
New pgp key

Keybase proof

I hereby claim:

  • I am aeroevan on github.
  • I am aeroevan (https://keybase.io/aeroevan) on keybase.
  • I have a public key ASBpXkgU8xHdqdU1aUzN-SRwgr2sLThA0qn8gDvEUx0K-Ao

To claim this, I am signing this object:

@aeroevan
aeroevan / 0001-Add-optional-offset-to-_read_header.patch
Created December 7, 2015 06:05
Fixup for concatenated avro files
From 28938c5e63262d69f3c670e3cc7de9963318d239 Mon Sep 17 00:00:00 2001
From: Evan McClain <aeroevan@gmail.com>
Date: Mon, 7 Dec 2015 00:53:39 -0500
Subject: [PATCH] Add optional offset to _read_header.
---
src/avro/datafile.py | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/src/avro/datafile.py b/src/avro/datafile.py

Keybase proof

I hereby claim:

  • I am aeroevan on github.
  • I am aeroevan (https://keybase.io/aeroevan) on keybase.
  • I have a public key whose fingerprint is C06E 1847 5336 94BA 2FC6 4DBE 6FB7 8B99 555E BC35

To claim this, I am signing this object:

@aeroevan
aeroevan / last_kmsg
Created November 21, 2014 22:27
cm-12-aeroevan kernel crash
[ 0.000000] Truncating memory at 0xc0000000 to fit in 32-bit physical address space
[ 0.000000] smem_find(137, 80): wrong size 72
[ 0.023958] AXI: msm_bus_fabric_init_driver(): msm_bus_fabric_init_driver
[ 0.056340] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.056371] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.056371] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.056371] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.056401] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.056401] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.056401] msm_rpm_get_status(): Status id 433 not defined for target
@aeroevan
aeroevan / gps_set_privacy.diff
Created October 17, 2014 03:47
Set Privacy Stuff?
diff --git a/gps/core/LocApiBase.cpp b/gps/core/LocApiBase.cpp
index 8b6713c..b08e416 100644
--- a/gps/core/LocApiBase.cpp
+++ b/gps/core/LocApiBase.cpp
@@ -473,4 +473,8 @@ DEFAULT_IMPL(-1)
int LocApiBase::
getGpsLock()
DEFAULT_IMPL(-1)
+
+enum loc_api_adapter_err LocApiBase::