This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bottle import Bottle, request, error, run | |
app = Bottle() | |
@app.route('/') | |
def hello(): | |
client_ip = request.environ.get('HTTP_X_FORWARDED_FOR') | |
return ['Current IP Address: {}\n'.format(client_ip)] | |
app.run(host='127.0.0.1', port=8080) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LoadPlugin snmp | |
<Plugin snmp> | |
<Data "ifmib_uptime"> | |
Type "uptime" | |
Table false | |
Instance "system" | |
Values "SNMPv2-MIB::sysUpTime.0" | |
</Data> | |
<Data "ucdsnmpmib_laloadint"> | |
Type "load" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
88500000:88.5 - KNKX - Jazz, Blues, NPR News | |
89500000:89.5 - KNHC - Dance | |
90300000:90.3 - KEPX - UW Public/College Radio | |
90700000:90.7 - KESR - Independent Public Radio | |
91300000:91.3 - KBCS - Bellevue College Radio | |
92500000:92.5 - KQMV - Top 40 | |
92900000:92.9 - KISM - Classic Rock | |
93300000:93.3 - KPWK - Rap/Hip-Hop/Pop | |
94100000:94.1 - KMPS - Country | |
94900000:94.9 - KUOW - NPR (UW) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
88500000:KNKX - Jazz, Blues, NPR News | |
89500000:KNHC - "C-89.5 FM" - Dance | |
90300000:KEPX - UW Public/College Radio | |
90700000:KESR - Independent Public Radio | |
91300000:KBCS - Bellevue College Radio | |
92500000:KQMV - Top 40 | |
92900000:KISM - Classic Rock | |
93300000:KPWK - "Seattle's #1 Hit Music" - Rap/Hip-Hop/Pop | |
94100000:KMPS - Country | |
94900000:KUOW - NPR (UW) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
firewall { | |
all-ping enable | |
broadcast-ping disable | |
group { | |
network-group LAN_NETWORKS { | |
description "LAN Networks" | |
network 10.0.0.0/8 | |
} | |
network-group rfc1918 { | |
network 10.0.0.0/8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service { | |
dhcp-server { | |
disabled false | |
dynamic-dns-update { | |
enable true | |
} | |
global-parameters "key rndc-key { algorithm HMAC-MD5; secret paste_your_ddns_secret_here; };" | |
global-parameters "zone home.local. { primary 10.1.2.2; key rndc-key; }" | |
global-parameters "ddns-domainname "home.local.";" | |
global-parameters "ddns-rev-domainname "in-addr.arpa.";" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: fcgiwrap | |
# Required-Start: $remote_fs | |
# Required-Stop: $remote_fs | |
# Should-Start: | |
# Should-Stop: | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: FastCGI wrapper |