Skip to content

Instantly share code, notes, and snippets.

@f4iey
f4iey / 3830.cs
Last active January 20, 2025 09:43
PoC for posting scores on 3830 via DXLog
// Required namespaces
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using HtmlAgilityPack; // Make sure to add HtmlAgilityPack via NuGet
namespace DXLog.net
{
public class ContestSubmission : IScriptClass
@f4iey
f4iey / qrz.html
Last active February 28, 2025 08:21
QRZ.com page template with Bootstrap
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TM00XX - Special Event Station</title>
<!-- When updating your page afterwards, dependencies are not saved in "source mode". don't forget to paste them again at the top -->
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/lipis/[email protected]/css/flag-icons.min.css"/>
<!-- end dependencies -->
@f4iey
f4iey / dark_theme_sample_WINDOWS.txt
Last active November 13, 2024 18:15
Custom DXLog dark theme sample: to import -> "File/Load window layout"
#GLOBAL
Version 1.0
#WINDOWS
Window 0 1 FrmSummary 1 -1 -3 326 311 10 0
Font Courier New
Flag
Title 5
Colors FF708090 FFF8F8FF FF696969 FFF8F8FF FF696969 FFF8F8FF FFFFA500 FFA9A9A9 FFFFFFFF FF008080 FFFFFFFF 0 0 0 0 0 0 0 0 0
End
Window 1 0 FrmCheckCall 0 794 92 230 269 10 0
@f4iey
f4iey / ludosport_f1.md
Created October 30, 2024 09:56
[FR] Notes LS training F1/F2 - dumped from rentry
@f4iey
f4iey / LoTW.cs
Created August 1, 2024 11:40
DXLog.net script to send ADIF to LoTW when program closes
//INCLUDE_ASSEMBLY System.dll
//INCLUDE_ASSEMBLY System.Windows.Forms.dll
using System;
using System.Windows.Forms;
namespace DXLog.net
{
public class ScriptLotw : ScriptClass
@f4iey
f4iey / remote_cw_keyer.py
Last active June 24, 2024 14:15
PoC of remote CW keyer operation
# SPDX-License-Identifier: GPL-3.0-or-later
import select
import serial
import sys
import time
def wpm_to_millis(wpm):
return 60000/(wpm*50)
@f4iey
f4iey / zsh2saber.zsh
Last active March 13, 2023 22:19
ZSH script to automate naming convention, RAW conversion, sending and select to saber. Depends on `sox` and `sendtosaber`
#!/bin/zsh
# Automation script to convert all wav sounds with Nuntis's paradigm to RAW
# First, we sort every sound into a correct directory
echo -e """
_____ _____ _____ ___ _____ _____ _____ _____ _____
|__ | __| | |_ | __| _ | __ | __| __ |
| __|__ | | _|__ | | __ -| __| -|
|_____|_____|__|__|___|_____|__|__|_____|_____|__|__|
@f4iey
f4iey / keyer.sh
Last active April 20, 2023 18:29
Simple script to use ICOM IC-705 internal CW keyer via hamlib
#!/bin/zsh
#
# Script to get simple cw macros or free typing on the ICOM IC-705
#
# Make sure CI-V Transceive is ON and USB Echo Back is OFF
callsign=TM22YOTA
echo -e "Welcome. Press CTRL+C to exit...\n"
while true
do
echo "CW: "