Skip to content

Instantly share code, notes, and snippets.

View ericek111's full-sized avatar

Erik Bročko ericek111

View GitHub Profile
@ericek111
ericek111 / sdr_schedule.sh
Last active February 10, 2024 15:49
Schedule SDR recordings with a simple script.
#!/bin/bash
set -e
# This is made for libmirisdr-5, but could be adapted easily to any IQ-spewing client.
# Depends on csdr (jketterl's fork) for decimation.
if [ -z "$1" ]; then
echo "Usage: $0 (start date and time, e. g. 2024-02-10 00:10:15)"
exit 1
fi
@ericek111
ericek111 / tetra_tmux.sh
Created March 3, 2024 11:10
Launch a tmux session for tetra-kit
#!/bin/sh
ROOT=/home/erik/opt/sdrpp-tetra-kit
export DISPLAY=:0
tmux new-session -d -s sdrpptetra -n phy -c "/home/erik/Documents/foss/sdrpp-orig/build" 'bash -i'
# center freq: 424604000.0
tmux send-keys -t '=sdrpptetra:=phy' './sdrpp -r ../root_tetra --autostart' Enter
mkdir "/tmp/tetra"
for i in {0..16}; do
@ericek111
ericek111 / n1mm_linux.md
Last active February 28, 2025 13:15
Contesting with N1MM on Linux: a tutorial for the adventurous

Contesting with N1MM on Linux

N1MM+ has been the go-to contest logger for many hams and, thanks to its networking features, also clubs. Sadly, it's only for Windows, it's closed-source and the bugs (whether in N1MM or Wine) don't make it any more fun.

Setting up Wine

  1. Install any decently recent flavour of Wine. Usually the one provided by your distro's package manager is fine.
  2. Install winetricks.
  3. Set the required environment variables. To work inside this wineprefix (which is, in short, a self-contained "fake" "Windows" "installation"), you need to specify its path inside every newly opened terminal window.
@ericek111
ericek111 / compton.conf
Created March 22, 2024 09:55
My picom config file
# https://gist.github.com/gaurav712/42549678b778db12fda5764f7c0757ad
backend = "glx";
# backend = "xr_glx_hybrid"; # Better performance on my 6200U ThinkPad T470s.
glx-no-stencil = true;
glx-no-rebind-pixmap = true;
glx-copy-from-front = false;
glx-use-copysubbuffermesa = true;
vsync = false;