Skip to content

Instantly share code, notes, and snippets.

View anthonydiiorio's full-sized avatar
🍁

Anthony Di Iorio anthonydiiorio

🍁
View GitHub Profile
@anthonydiiorio
anthonydiiorio / cty.sh
Created March 25, 2022 06:23
Update script for DX Spider Country Files
#!/bin/bash
echo 'Downloading CTY.DAT'
wget -q https://www.country-files.com/cty/cty.dat -P ~/spider/local_data/
echo 'Downloading WPXLOC.RAW'
wget -q https://www.country-files.com/cty/wpxloc.raw -P ~/spider/local_data/
echo 'Creating Prefixes'
~/spider/perl/create_prefix.pl
echo ''
echo 'Log into the cluster as Sysop and type: load/prefix'
read -n 1 -r -s -p $'Press [Enter] to login as Sysop...\n'
@anthonydiiorio
anthonydiiorio / wsjt_cloudlog.py
Last active March 17, 2024 10:21 — forked from Cadair/wsjt_cloudlog.py
Upload QSOs from WSJT-X/JTDX to Cloudlog
#!/bin/env python3
"""
WSJT-X to Cloudlog QSO uploader.
This script reads QSO events from the WSJT UDP server and uploads the ADIF records to Cloudlog.
No non-standard library packages are required to run this.
usage: wsjt_cloudlog.py [-h] [--wsjt-port WSJT_PORT] [--wsjt-host WSJT_HOST] [--verbose] url api_key station_id
positional arguments:
@anthonydiiorio
anthonydiiorio / sat-Cloudlog.sh
Last active April 13, 2020 20:44
Satellite Grid Extractor for Cloudlog
#!/bin/bash
# Download QSOs from "Export Satellite Only QSOs" on the ADIF export page
# Save separate files for All and LOTW Confirmed
# Load -confirmed.log and -unconfirmed.log in GcmWin
ALLSATQSO=VE2HEW-Sat-All.adi
SATLOTW=VE2HEW-Sat-LOTW.adi
CONFIRMED=ve2hew-confirmed.log
WORKED=ve2hew-unconfirmed.log
@anthonydiiorio
anthonydiiorio / LogSats.ahk
Last active July 1, 2019 18:41
AutoHotKey script to quickly set up Log4OM for satellites
#IfWinActive ahk_exe LogOMUI.exe
!1:: ; Alt + 1 AO-91
setSat("AO-91|AMSAT-OSCAR-91","UV","FM",145960,435250)
return
#IfWinActive ahk_exe LogOMUI.exe
!2:: ; Alt + 2 AO-92
setSat("AO-92|AMSAT-OSCAR-92","UV","FM",145880,435350)
return
@anthonydiiorio
anthonydiiorio / sats.sh
Last active November 25, 2019 20:02
Satellite Grid Extractor
#!/bin/bash
ADIF=VE2HEW.adi
SATS=sats.adi
ADIFCONF=sats-confirmed.adi
ADIFUNCONF=sats-unconfirmed.adi
WORKED=ve2hew-unconfirmed.log
CONFIRMED=ve2hew-confirmed.log
head -n 7 $ADIF | tee $SATS $ADIFCONF $ADIFUNCONF >/dev/null
grep '<PROP_MODE:3>SAT' $ADIF > $SATS
$database = "https://ham-digital.org/status/users.csv"
$csv = "datadump.csv"
Write-Host "Downloading database CSV"
Invoke-WebRequest $database -OutFile $csv
If (Test-Path $csv){
$reader = [System.IO.File]::OpenText($csv)
$writer = New-Object System.IO.StreamWriter 'DSDPlus.radios'
Write-Host "Converting database dump to DSDPlus.radios"
for(;;) {
/*
Copyright 2013 Oleg Kostyuk <cub.uanic@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of