Python proof-of-concept implementation of two geomapping algorithms
This code use the following packages:
templates: | |
sverigesradio: | |
interval: 1 hours | |
urlrewrite: | |
sr: | |
regexp: '/topsy/ljudfil/(?P<id>\d+).(?P<ext>.*)' | |
format: 'http://sverigesradio.se/topsy/ljudfil/\g<id>.\g<ext>' | |
regexp: | |
accept: | |
- Nytt poddradioavsnitt |
#!/bin/sh | |
# | |
# This file is defined as a transport pipe in postfix master.cf | |
# See postfix-scanner/{main,master}.cf example files for sample configuration | |
# | |
INSPECT_DIR=/var/spool/postfix/scanner | |
SENDMAIL="/usr/sbin/sendmail -G -i" # NEVER NEVER NEVER use "-t" here. | |
# Exit codes from <sysexits.h> |
#!/usr/bin/env bash | |
# | |
# Switch tmux session with rofi menu | |
ROFI_SCRIPT=$( realpath $0 ) | |
ROFI_ARGS="-bc #0A8A8A -bw 3 -fuzzy" | |
_filter_dupes () { | |
perl -ne 'if (!defined $x{$_}) { print $_; $x{$_} = 1; }' | |
} |
#!/usr/bin/env bash | |
# | |
# Simple wrapper for Network-Manager CLI on VM | |
# | |
target_vm=sys-net | |
qvm_run() { | |
local vm=$1; shift | |
local cmd="$@" | |
qvm-run \ |