Skip to content

Instantly share code, notes, and snippets.

View nomaster's full-sized avatar
🏳️‍🌈
Chaos Penguin

Mic Szillat nomaster

🏳️‍🌈
Chaos Penguin
View GitHub Profile
@nomaster
nomaster / debug
Created August 19, 2013 18:30
Debug output for freifunk-advanced issue #93
<!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN><html><head></head><body>
<h1>Router Status</h1>
<h2>Main Info</h2>
<pre>
<b>Version:</b> * FFRheinland config 2013-07-21_git-fcefbaa
</pre>
<pre>
<b>NodeID:</b> b44259964115de03271fb86ee08eb91d
</pre>
<pre>
@nomaster
nomaster / ddorf-diagram.txt
Created February 15, 2016 23:34
Freifunk Düsseldorf AS
+--------------------------+
| Rheinland Backbone |
+----+----------------+----+
| |
+----+---+ +---+----+
| Edge01 | | Edge02 |
+--+-+---+ +-+---+--+
| | | |
| +----------------+ |
| | | |
@nomaster
nomaster / gist:f98881a23ce08898e3b366068de80313
Created August 4, 2016 14:55
Traceroute GarageBilk / Freifunk Düsseldorf
Start: Thu Aug 4 16:55:11 2016
HOST: garageserver Loss% Snt Last Avg Best Wrst StDev
1.|-- 10.1.0.2 0.0% 10 0.3 0.5 0.2 0.8 0.0
2.|-- umcowo.garagebilk.net 0.0% 10 2.1 2.3 1.4 3.8 0.7
3.|-- ??? 100.0 10 0.0 0.0 0.0 0.0 0.0
4.|-- 1411J-MX960-01-ae10-1100. 0.0% 10 9.9 19.8 9.0 78.0 20.6
5.|-- b2b-5-147-248-82.unitymed 0.0% 10 20.2 23.8 16.4 36.0 6.1
6.|-- r1fra2.core.init7.net 0.0% 10 21.5 28.0 13.8 90.9 22.7
7.|-- r1fra3.core.init7.net 0.0% 10 16.7 27.9 14.0 52.6 12.6
8.|-- r1lon1.core.init7.net 0.0% 10 40.1 35.9 25.8 79.9 16.6
@nomaster
nomaster / gist:8ec640bc585f5a5a64156cddf01b85dd
Created August 4, 2016 16:12
Traceroute GarageBilk 185.66.193.0
Start: Thu Aug 4 18:11:51 2016
HOST: garageserver Loss% Snt Last Avg Best Wrst StDev
1.|-- 10.1.0.2 0.0% 10 0.3 0.5 0.3 0.8 0.0
2.|-- umcowo.garagebilk.net 0.0% 10 1.1 1.7 1.1 2.7 0.0
3.|-- ??? 100.0 10 0.0 0.0 0.0 0.0 0.0
4.|-- 1411J-MX960-01-ae10-1100. 0.0% 10 14.5 14.9 9.9 26.8 4.8
5.|-- 84.116.196.102 0.0% 10 18.2 28.4 16.6 97.8 24.5
6.|-- 84.116.196.29 0.0% 10 26.3 37.5 22.5 66.2 14.5
7.|-- de-fra01b-ri1-ae1-0.aorta 0.0% 10 15.0 20.5 14.1 31.9 5.0
8.|-- 213.46.179.62.aorta.net 0.0% 10 16.3 21.3 15.9 40.6 7.4
@nomaster
nomaster / cupsd.conf
Created October 24, 2016 13:51
Printserver configuration sample
#
# Configuration file for the CUPS scheduler. See "man cupsd.conf" for a
# complete description of this file.
#
# Disable cups internal logging - use logrotate instead
MaxLogSize 0
# Log general information in error_log - change "warn" to "debug"
# for troubleshooting...
@nomaster
nomaster / icmp.sh
Created May 10, 2017 12:45
Simple wrapper for ping
#!/bin/bash
host=$1
timeout=$2
ping -W $timeout -c 1 $host
@nomaster
nomaster / ethool.fact
Created November 14, 2018 14:19
Python3 version of the ethtool fact script for Ansible
#!/usr/bin/env python3
import subprocess
import json
stats = subprocess.getoutput("/sbin/ethtool -i enp0s3").split("\n")
result = {}
for line in stats:
key, value = line.split(": ")
@nomaster
nomaster / override.conf
Created June 7, 2019 22:28
Certbot with Nginx
# /etc/systemd/system/certbot.service.d/override.conf
[Service]
ExecStart=/usr/bin/certbot renew --webroot -w /opt/observium/html
ExecStartPost=/usr/sbin/nginx -s reload
@nomaster
nomaster / default.pa
Last active January 25, 2020 23:46
PulseAudio config for @chaosdorf
load-module module-native-protocol-tcp auth-anonymous=true
load-module module-alsa-sink device=plughw:UMC1820
load-module module-stream-restore
load-sample-dir-lazy /home/alarm/samples/
set-default-sink alsa_output.plughw_UMC1820
play-sample win31 alsa_output.plughw_UMC1820
@nomaster
nomaster / config.properties
Created March 14, 2020 10:03
UniFi office.nomaster.cc
config.system_cfg.1=ebtables.101.cmd=-t nat -I GUESTIN 1 -p IPv6 -d b4:fb:e4:24:0a:f1 -j ACCEPT
config.system_cfg.2=ebtables.102.cmd=-t nat -I GUESTIN 3 -p IPv6 --ip6-proto ipv6-icmp --ip6-icmp-type router-solicitation -j ACCEPT
config.system_cfg.3=ebtables.103.cmd=-t nat -I GUESTIN 4 -p IPv6 --ip6-proto ipv6-icmp --ip6-icmp-type neighbour-advertisement -j ACCEPT
config.system_cfg.4=ebtables.104.cmd=-t nat -I GUESTIN 5 -p IPv6 --ip6-proto ipv6-icmp --ip6-icmp-type neighbour-solicitation -j ACCEPT
config.system_cfg.5=ebtables.105.cmd=-t nat -I GUESTOUT 1 -p IPv6 -s b4:fb:e4:24:0a:f1 -j ACCEPT