Skip to content

Instantly share code, notes, and snippets.

View 0x9900's full-sized avatar
📻
Coding

Fred Cirera 0x9900

📻
Coding
View GitHub Profile
@0x9900
0x9900 / sailmap.py
Last active September 5, 2024 15:45
Map my gps data
#! /usr/bin/env python
# vim:fenc=utf-8
#
# Copyright © 2024 fred <github-fred@hidzz.com>
#
# Distributed under terms of the BSD 3-Clause license.
"""
Send my GPS traces on a map.
Examples: https://bsdworld.org/misc/
@0x9900
0x9900 / rename_files.py
Last active June 28, 2024 22:34
Rename images
#! /usr/bin/env python
# vim:fenc=utf-8
#
# Copyright © 2024 fred <github-fred@hidzz.com>
#
# Distributed under terms of the BSD 3-Clause license.
"""
Rename all the DXCC image with the new date format
"""
@0x9900
0x9900 / hrate.py
Last active April 20, 2024 15:45
iHealth heart rate monitor
#!/usr/bin/env python
#
# BSD 3-Clause License
#
# Copyright (c) 2023-2024 Fred W6BSD
# All rights reserved.
#
__doc__ = """
Read the CSV file from the iHealth heart rate monitor and generate a graph.
@0x9900
0x9900 / .vimrc
Last active May 15, 2024 01:50
.vimrc file
"
" First install vim-plug using the following command
" curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
" https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
"
"
filetype plugin indent on
autocmd! bufwritepost .vimrc source ~/.vimrc
@0x9900
0x9900 / sendcard.py
Last active May 15, 2024 01:52
Automatically send QSL cards by calling eqsl
#!/usr/bin/env python
#
# BSD 3-Clause License
# Copyright (c) 2023 Fred W6BSD All rights reserved.
#
"""
`sendcard` is a companion program for e-qsl (https://pypi.org/project/e-qsl/)
This program monitors a directory for an ADIF file and then calls `eqsl`
with the file as an argument.
@0x9900
0x9900 / README.md
Last active December 24, 2023 00:25
Command line program to upload or update github gists.

GIST

Command line program to upload or change/update github gists. In order to work this program needs an authorization token.

Go to https://github.com/settings/tokens to create a token. The token can then be stored into the file ~/.local/gist_token.

Example

@0x9900
0x9900 / README.md
Last active August 30, 2024 15:33
Graph SWR smith chart and return loss

This tool has been moved to its own python package. to get the latest version please go to https://github.com/0x9900/RigExpert

RigExpert

RigExpert is a tool designed to analyze and visualize antenna performance. It takes measurement data from devices like the RigExpert antenna analyzer or NanoVNA and generates detailed charts that help users understand their antenna's behavior. These charts include impedance plots, VSWR (Voltage Standing Wave Ratio) graphs, and Smith charts, which are essential for fine-tuning and optimizing antenna systems.

@0x9900
0x9900 / recover.py
Created June 18, 2023 22:28
Recover call from WSJT-X
#!/usr/bin/env python
import os
import sys
from collections import namedtuple
from datetime import datetime
from tqdm import tqdm
start_date = datetime(2023, 6, 15, 20, 55, 0)
@0x9900
0x9900 / smith_vswr.py
Last active July 17, 2024 15:26
Generate Smith chart and VSWR charts from .s1p files
#!/usr/bin/env python3
#
# BSD 3-Clause License
# Copyright (c) 2022 Fred W6BSD All rights reserved.
#
# This program reads Touchstone files (.s1p) coming from any good
# antenna analyzer or VNA. The the type of the data is limited to the
# format S,RI.
#
# You can go to https://0x9900.com/hustler-4btv-cleanup-tuning/ to see
@0x9900
0x9900 / css7id.py
Last active November 23, 2022 02:20
CSS7ID command line search tool
#!/usr/bin/env python3
#
# BSD 3-Clause License
#
# Copyright (c) 2022 Fred W6BSD
# All rights reserved.
#
#
import argparse