Skip to content

Instantly share code, notes, and snippets.

View dominik-th's full-sized avatar

Dominik Thiemermann dominik-th

View GitHub Profile
@dominik-th
dominik-th / README.md
Created November 25, 2019 13:35
pyLoad Telegram push notifications plugin

Put the TelegramPush.py file in config/userplugins/hooks/TelegramPush.py and restart pyLoad and fill the bot token and chat ids in the plugin settings

Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import schiene2
>>> s = schiene2.Schiene2()
>>> s.connections('Düsseldorf Hbf', 'Düsseldorf Flingern')
[{'products': ['STR'], 'ontime': True, 'time': '0:06', 'arrival': '00:14', 'canceled': False, 'departure': '00:08', 'transfers': 0, 'price': None}, {'products': ['S'], 'ontime': False, 'delay': {'delay_arrival': 15, 'delay_departure': 15}, 'time': '0:02', 'arrival': '00:32', 'canceled': False, 'departure': '00:30', 'transfers': 0, 'price': None}, {'products': ['S'], 'ontime': False, 'delay': {'delay_arrival': 17, 'delay_departure': 17}, 'time': '0:02', 'arrival': '00:39', 'canceled': False, 'departure': '00:37', 'transfers': 0, 'price': None}, {'products': ['Bus'], 'ontime': True, 'time': '0:40', 'arrival': '01:18', 'canceled': False, 'departure': '00:38', 'transfers': 1, 'price': None}, {'products': ['S', 'U', 'Bus'], 'ontime': False, 'delay': {'delay_departu
@dominik-th
dominik-th / keybase.md
Created February 26, 2018 14:05
Keybase proof

Keybase proof

I hereby claim:

  • I am dominik-th on github.
  • I am dthiemermann (https://keybase.io/dthiemermann) on keybase.
  • I have a public key whose fingerprint is E076 78D2 0DE2 BE95 D865 9DA3 5EDF E3FD B239 6132

To claim this, I am signing this object:

@dominik-th
dominik-th / brew-cask-upgrade.sh
Created June 17, 2017 02:03
Upgrade all outdated casks
brew cask install --force `brew cask outdated`