Skip to content

Instantly share code, notes, and snippets.

@ghmon
ghmon / wifi-watch-fbtools.py
Last active October 23, 2023 19:22
Check WLAN state of fritzbox router and ring bell if on. Uses "Fritz!Box Tools".
#!/usr/bin/python3
# Christoph Conrad <electric.monk@posteo.net>
# (C) Creative Commons CC-BY-SA 4.0
# Query Fritzbox WLAN state every CHECK_INTERVALL secs and beep
# (audio) then. Log state changes (off=>on, on=>off) in
# a protocol file.
# USAGE: start this program in the background, e.g. on system
@ghmon
ghmon / overpass-mode.el
Last active November 22, 2022 02:24
(Very simple) Emacs-Mode for Overpass Query Language
;; Template from <https://gist.github.com/eddieh/33aaa48625001992d8584bfdd5008501>
(define-generic-mode overpass-mode
;; comment list
(list "//")
;; keyword list
(list "out" "timeout" "node" "way" "relation" "nwr" "area")
;; font lock list
'(("\\[\\(.+?\\)]" 1 font-lock-function-name-face prepend)
("(\\(.+?\\))" 1 font-lock-type-face prepend)
@ghmon
ghmon / WLAN-AP-Speedport-TP-TLWR841N-DEU.md
Last active September 18, 2023 21:17
Anschluss und Konfiguration des TPLINK WLAN-Routers TL-WR841N an ein vorhandenes DSL-modem

Anschluss und Konfiguration des TPLINK WLAN-Routers TL-WR841N an ein vorhandenes DSL-modem


Getestet mit der Hardware-Revision v14 (steht auf der Rückseite des Gerätes).

! Auf ein Ausrufezeichen am Zeilenanfang folgt eine Erklärung oder Hinweis.

Autor: Christoph Conrad

@ghmon
ghmon / WLAN-AP-Speedport-TP-TLWR841N.md
Last active November 18, 2022 03:40
Connecting the TP-Link WLAN-Router TL-WR841N to an existing DSL-modem

Connecting the TP-Link WLAN-Router TL-WR841N to an existing DSL-modem and configuring the setup


Tested with hardware revision v14 (on the backside of the device).

! at the beginning of line indicates an explanation

Author: Christoph Conrad