This file contains hidden or 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
#!/usr/bin/env bash | |
# <xbar.title>Network Media</xbar.title> | |
# <xbar.version>v1.0.0</xbar.version> | |
# <xbar.author>Markus Fritze</xbar.author> | |
# <xbar.author.github>sarnau</xbar.author.github> | |
# <xbar.desc>Displays the used media for an Ethernet connection.</xbar.desc> | |
# <xbar.dependencies>ifconfig</xbar.dependencies> | |
MEDIA=$(ifconfig -a | grep -o -i "\\d\+g\?base\-T") |
This file contains hidden or 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import struct | |
import ftplib | |
import datetime | |
import sys | |
loxoneMiniServerIP = '192.168.178.200' # IP address of the Loxone Miniserver | |
adminUsername = '<<ADMIN USER>>' |
This file contains hidden or 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import sys | |
import os | |
import keychain | |
import codecs | |
from pysqlcipher import dbapi2 as lite |
This file contains hidden or 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
// Stadtreinigung Hamburg Abfuhrkalender | |
// von Markus Fritze, [email protected] | |
// Version: 30.07.2018 | |
// | |
// Ausgänge: | |
// TQ1: Welche Tonnen werden am nächsten Termin abgeholt | |
// TQ2: Volltext "In xyz Tagen: tonne1, tonne2, ..." | |
// AQ1: In wieviel Tagen wird TQ1 (siehe oben) abgeholt (0 = Heute) | |
// Die folgenden Eingänge geben an in wieviel Tagen die jeweilige Müllsorte | |
// abgeholt wird. Achtung: regelmäßig wird mehr als eine Sorte am Tag abgeholt! |
This file contains hidden or 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import struct | |
import ftplib | |
import zipfile | |
import StringIO | |
loxoneMiniServerIP = '192.168.178.255' # IP address of the Loxone Miniserver | |
adminUsername = '<ADMIN_USERNAME>' |