Skip to content

Instantly share code, notes, and snippets.


Dominic Smith dnas2

View GitHub Profile
dnas2 / DXLog.NET-TriggerPTT.cs
Created Jan 26, 2021
DXLog.NET add-on script trigger a PTT
View DXLog.NET-TriggerPTT.cs
//INCLUDE_ASSEMBLY System.Windows.Forms.dll
using System;
using System.Windows.Forms;
using IOComm;
dnas2 /
Last active Apr 8, 2018
Play a file when radio carrier signal drops
# Run this with RTL-SDR connected to Raspberry Pi and Pipe rtl_power to it as follows:
# rtl_power -f 433.175M:433.225M:0.005M -p 42 -g 20 -i 3 | python
# Set the -p (Parts per million calibration) and -g (Gain) as required for your SDR. You may also need to change the threshold for detecting a carrier at line 27
import sys
import datetime
import os
do_run = True
dnas2 /
Last active Mar 5, 2017
Fetch data from Delorme Inreach tracker
# Run as an hourly cronjob. It auto-learns when spots are sent, so handles them as quickly as possible after they are available.
# use module
use XML::Simple;
use Data::Dumper;
use LWP::Simple;
use Time::Local;
dnas2 /
Created Jul 22, 2016
Powershell for exporting CSV of MP3 tracks in directory with length
$resultsarray = @()
$shell = New-Object -COMObject Shell.Application
Get-ChildItem "[PATH HERE]" |
Foreach-Object {
$linkObject = new-object PSObject
$path = $_.FullName
$folder = Split-Path $path
$file = Split-Path $path -Leaf
$shellfolder = $shell.Namespace($folder)
$shellfile = $shellfolder.ParseName($file)
dnas2 / readcsv.cs
Last active Aug 29, 2015
Read radio mic strength CSV
View readcsv.cs
This file takes a CSV output from rtlsdr_scanner (
and parses it to see whether three distinct radio mic channels have a carrier on them.
Call the CLI version of rtlsdr_scanner using something like: -s 863 -e 865 -f 256 -g 20 "Z:\RadioMicMonitor\scan.csv"
Created by Dom Smith as part of Red Gate Software's Down Tools Week, March 2014
private Dictionary<string, bool> parseCsv()