Skip to content

Instantly share code, notes, and snippets.

View dh1tw's full-sized avatar

Tobias Wellnitz dh1tw

View GitHub Profile
@dh1tw
dh1tw / DXSpider_Redis_Connector
Created May 6, 2014 22:36
Local.pm provides a hook in the Amateur Radio DX-Cluster software "DX-Spider" to access, process and re-route DX Cluster messages. This version pushes the messages containing DX-Spots (PC11, PC26 & PC61), Announcements (PC12), WWV (PC23 & PC27), WCY (PC73) into the Redis channel "dxspider", using Redis' Publish/Subscribe function. The script is …
# DX-Spider data published into Redis
# http://wiki.dxcluster.org/index.php/Main_Page
#
# File: /spider/local/Local.pm
#
# This is a template Local module
#
# DON'T CHANGE THIS, copy it to ../local/ and change it
@dh1tw
dh1tw / elasticsearch-tunnel.pl
Created May 10, 2014 19:04
Re-Route a Port from a remote machine to a local machine (through an SSH tunnel)
#!/usr/bin/perl
# PostgreSQL Tunnel Tool for Mac OS X and Linux
# Copyright (c) 2010 Linode, LLC
# Author: Philip C. Paradis <pparadis@linode.com>
# Usage: postgresql-tunnel.pl [start|stop]
# Access a PostgreSQL database server via an SSH tunnel.
$local_ip = "127.0.0.1";
$local_port = "9201";
@dh1tw
dh1tw / 2021-cqww-cw-dx-spots.csv
Last active December 3, 2021 23:53
All DX Cluster spots from CQWW CW Contest 2021 as a CSV file
We can't make this file beautiful and searchable because it's too large.
spotter,frequency,dx,timestamp,band,mode,comment,dx_country,dx_adif,dx_continent,dx_cqz,dx_ituz,spotter_country,spotter_adif,spotter_continent,spotter_cqz,spotter_ituz
W3LPL,7069.6,V26K,2021/11/27 00:00:00,40.0,LSB,Heard in IL,Antigua & Barbuda,94,NA,8,11,United States,291,NA,5,8
WA2VJL,1840.0,N5U,2021/11/27 00:00:02,160.0,DIGITAL,EL16ED EM20CE,United States,291,NA,4,7,United States,291,NA,5,8
W3LPL,1834.3,TK0C,2021/11/27 00:00:04,160.0,CW,Heard in MD,Corsica,214,EU,15,,United States,291,NA,5,8
K9CT,7028.8,OK2EC,2021/11/27 00:00:11,40.0,CW, ,Czech Republic,503,EU,15,28,United States,291,NA,5,8
WB8VLC,21037.0,JR2GRX,2021/11/27 00:00:16,15.0,CW,CN84LV loud,Japan,339,AS,25,45,United States,291,NA,4,8
W3LPL,7060.5,VP9I,2021/11/27 00:00:18,40.0,LSB,Heard in CA and PA,Bermuda,64,NA,5,11,United States,291,NA,5,8
W3LPL,3543.3,TK0C,2021/11/27 00:00:19,80.0,CW,Heard in NH,Corsica,214,EU,15,,United States,291,NA,5,8
VE9CB,3508.1,OL3Z,2021/11/27 00:00:20,80.0,CW,CQWWCW,Czech Republic,503,EU,15,28,Canada,1,NA,5,9
W2RD,