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 / 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...
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::
@aeroevan
aeroevan / keybase.md
Created September 23, 2014 00:45
keybase.md

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 CE20 2283 336A 0DED 46E7 1551 9DAC 76ED 4761 DFCB

To claim this, I am signing this object:

http://review.cyanogenmod.org/#/c/61273/ e2fsprogs: blkid: Add Flash-Friendly File System (f2fs) support
http://review.cyanogenmod.org/#/c/61238/ vold: Add Flash-Friendly File System (f2fs) support.
http://review.cyanogenmod.org/#/c/61420/ fs_mgr: Add f2fs filesystem check
http://review.cyanogenmod.org/#/c/64942/ add f2fs option to format sdcard menu
http://review.cyanogenmod.org/#/c/67117/ build: updater-script: Fix mount and format commands on F2FS