Skip to content

Instantly share code, notes, and snippets.

@relistan
relistan / README.md
Last active August 19, 2025 09:59
Enable CAT control for WSJT-X on the (tr)uSDX on macOS

CAT Control on the (tr)uSDX for WSJT-X on macOS

This will enable CAT control on your Mac running WSJT-X with the (tr)uSDX and possibly other USDX rigs as well. WSJT-X uses Hamlib to connecto to and manage CAT on different radios. The problem (thanks to Guido PE1NNZ for identifying), is that Hamlib resets the port when it connects. This causes the radio to reset and then it's not yet available when Hamlib tries to connect. We can work around that by blocking the ability for Hamlib to reset the port. The simplest way to do that is to have the port already in use when Hamlib starts up.

I was not able to achieve that using the Hamlib built into WSJT-X. However, by installing Hamlib separately,

@DenisFromHR
DenisFromHR / RPi_I2C_driver.py
Last active August 24, 2025 16:56
RaspberryPi I2C LCD Python stuff
# -*- coding: utf-8 -*-
"""
Compiled, mashed and generally mutilated 2014-2015 by Denis Pleic
Made available under GNU GENERAL PUBLIC LICENSE
# Modified Python I2C library for Raspberry Pi
# as found on http://www.recantha.co.uk/blog/?p=4849
# Joined existing 'i2c_lib.py' and 'lcddriver.py' into a single library
# added bits and pieces from various sources
# By DenisFromHR (Denis Pleic)
@jnerin
jnerin / generate-ovpn.sh
Last active June 22, 2016 18:48
.ovpn file generator
#!/bin/bash
#
# Copyright (c) 2014 Jorge Nerín <[email protected]>
# Last updated on: Jun/26/2014 by Jorge Nerín
#
############################################################################
#
# .ovpn file generator (OpenVPN configuration files)
#
# It expects to find files with this names:
@juice
juice / git-completion-osx
Created May 18, 2012 18:38
OS X git completion
cd ~
curl https://github.com/git/git/raw/master/contrib/completion/git-completion.bash -OL
mv git-completion.bash .git-completion.bash
echo -e "\nsource ~/.git-completion.bash\n" >> ~/.bash_profile