Skip to content

Instantly share code, notes, and snippets.

@Chaos53925
Chaos53925 / RailRoute.py
Last active February 23, 2023 18:49
A Python script that reads the Player.log file from the game Rail Route and displays the stations and train numbers that are too late or too early. The display of the trains arriving too early can be switched off.
import os
import platform
# Get the operating system
system = platform.system()
# Set the path to the log file based on the operating system
if system == 'Windows':
log_path = os.path.join(os.environ['USERPROFILE'], 'AppData', 'LocalLow', 'bitrich', 'Rail Route', 'Player.log')
elif system == 'Linux':
@Chaos53925
Chaos53925 / vaccination-stats.js
Last active February 3, 2023 17:19 — forked from rafaelmaeuer/vaccination-stats.js
A Scriptable widget that shows the amount of people who have received the corona vaccination in Germany
// Version 1.4.7
// 03.02.2023
//
// Original von marco79cgn
//
// Mit Caching und Fallback
// Neue API mit TSV-Parsing
// Dark-Mode Unterstützung
// Dark-Mode kann nun deaktiviert werden
// Bei deaktivierung kann man auch auswählen ob man dauerhaft den Dark- oder Lightmode möchte