Skip to content

Instantly share code, notes, and snippets.

Avatar

Tobias Wellnitz dh1tw

View GitHub Profile
@dh1tw
dh1tw / elasticsearch-tunnel.pl
Created May 10, 2014
Re-Route a Port from a remote machine to a local machine (through an SSH tunnel)
View elasticsearch-tunnel.pl
#!/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 / DXSpider_Redis_Connector
Created May 6, 2014
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 …
View DXSpider_Redis_Connector
# 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