Skip to content

Instantly share code, notes, and snippets.

View scivision's full-sized avatar
💭
I will be slow to respond.

scivision

💭
I will be slow to respond.
View GitHub Profile
@scivision
scivision / Readme.md
Last active August 28, 2026 23:58
Analyze Brandmeister DMR devices data, converting to Parquet first.

Analyze DMR ham radio hotspot statistics

With the continued growth of DMR as a voice and data mode for amateur radio, DMR hotspots are a popular way to access talkgroups without the need to tie up a community repeater. The DMR hotspot links a DMR mobile or portable radio to most other DMR radios, repeaters, hotspots over the internet. Think of a DMR hotspot like a networked repeater you controls, but without rebroadcasting your signal locally - just to and from other DMR systems over the internet. Hotspots might be used at a specific location, or might be used with celllar mobile network connectivity to be used on the go.

DMR hotspots typically have low transmit power (10 mW - 1000 mW) and are typically used with small rubber duck antennas. However, hotspots can be connected to high outdoor antennas.

@scivision
scivision / check_raspi_throttle.py
Last active August 24, 2026 17:46
Raspberry Pi low voltage and temperature Python check
#!/usr/bin/env python3
"""Decode Raspberry Pi "vcgencmd throttled" bitmask into text."""
import argparse
import re
import subprocess
import sys
BITMAP = {
0: "Under-voltage detected",
@scivision
scivision / keybase.md
Created August 19, 2026 19:56
keybase.me

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@scivision
scivision / keybase.md
Created August 19, 2026 19:39
keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@scivision
scivision / LICENSE
Last active August 14, 2026 19:41
with Homebrew pin a specific GCC version to install and build if needed
Copyright 2026 SciVision
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER D
Copyright (c) 2019 SciVision
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTH
@scivision
scivision / Readme.md
Last active June 27, 2026 00:43
GCC/Gfortran or Clang/Flang PowerShell source scripts for Windows

PowerShell source scripts for GCC/Gfortran or Clang/Flang

Use from Windows Powershell like:

. clang_arm.ps1

or

@scivision
scivision / Readme.md
Last active May 6, 2026 16:07
Moved to regular repository
@scivision
scivision / memory_pressure.sh
Last active April 13, 2026 02:47
Sample maximum memory (RAM) pressure on Linux or macOS
#!/bin/bash
# Process tree memory peak monitor (samples at 10 Hz) for a given command.
# Works on Linux (uses PSS) and macOS (uses RSS)
#
# Usage:
# ./memory_pressure.sh /path/to/executable [arguments...]
#
# Alternative:
# for Linux only, one could use Cgroups v2 to track memory usage of the process tree