Skip to content

Instantly share code, notes, and snippets.

@km4ack
km4ack / setgrid2.rb
Created April 20, 2019 13:30 — forked from psfleming/setgrid2.rb
Set FT8Call gps grid using gpsd and api
require 'gpsd_client'
require 'maidenhead'
require 'socket'
require 'json'
ft8call_port = 2237
gpsd = GpsdClient::Gpsd.new()
gpsd.start()
apicmd = {}
@km4ack
km4ack / wificonnect
Created April 2, 2019 17:40
Script to mod wpa_supplicant file used in autohotspot script
#!/bin/bash
#script to list available SSID and mod wpa-supplicant
#file to connect to new wifi hotspot
#this script works in conjuction with autohotspot
#http://www.raspberryconnect.com/network/item/330-raspberry-pi-auto-wifi-hotspot-switch-internet
#km4ack 20190401
#edited 20190402
#check to make sure running as root
@km4ack
km4ack / js8sms
Created March 13, 2019 21:12
Send text message with JS8Call
#!/usr/bin/env bash
#original script written by Jerry, K7AZJ
#modded by KM4ACK 20190212
###################################################
# Start Original Script #
###################################################
#if [ "$#" == "0" ]; then
# echo "usage: js8sendsms phone_number message"
@km4ack
km4ack / js8alert
Created January 6, 2019 17:01
Text Alert for JS8Call Messages
#!/bin/bash
#this script will read the js8 message database
#and send a text message via JS8 to alert you that
#you have messages waiting in JS8
#This script should be run by cron every 30-60 minutes
#This script will continue to alert you until the message
#flag has been cleared in JS8
#Hint: Enter line below in crontab to run every 30 minutes
# */30 * * * * /usr/local/bin/js8alert
@km4ack
km4ack / getardoplist
Created December 18, 2018 19:31
Get list of ARDOP stations
#!/bin/bash
#This script will download the ardop list to the path set below
#It is intended to be run by cron daily
#to keep the list current. km4ack 20181214
#Hint: create a cron job that reads
#30 23 * * * /usr/local/bin/getardoplist
#This script is provided AS IS
#Feel free to mod for your use
@km4ack
km4ack / findardop
Last active November 16, 2021 15:10
search ardop list downloaded with getardoplist
#!/bin/bash
#A script to help locate winlink gateways
#ARDOP files must be download first using getardoplist
#getardoplist should be a daily cron job
#so the lists stay current.
#See notes at top of getardoplist
#This script is provided AS IS
#Feel free to mod to suit your needs
#20181217 km4ack
@km4ack
km4ack / gcs
Last active December 12, 2018 12:07 — forked from jdawgaz/gcs
js8call code
#!/usr/bin/env ruby
# Script to get callsign data
# usage: gcs callsign
#
# this ruby script uses nokogiri
# which must be installed:
# sudo gem install nokogiri
#
# prerequisite for nokogiri is ruby-dev