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
#!/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 |
;; 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) |
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
Tested with hardware revision v14 (on the backside of the device).
! at the beginning of line indicates an explanation
Author: Christoph Conrad