- http://reiseauskunft.bahn.de/bin/traininfo.exe/dn/1965/509467/927434/463123/80?ld=15097&country=DEU&L=vs_json&rt=1&date=09.02.17&time=16:25&station_evaId=645826&station_type=arr&
- http://reiseauskunft.bahn.de/bin/traininfo.exe/dn/994776/858517/96628/283338/80?ld=15097&country=DEU&L=vs_json&rt=1&date=09.02.17&time=16:23&station_evaId=645826&station_type=arr&
- http://reiseauskunft.bahn.de/bin/bhftafel.exe/dn?L=vs_json&start=no&boardType=arr&time=actual&input=Erfurt%20Hbf
- http://reiseauskunft.bahn.de/bin/bhftafel.exe/dn?L=vs_json&start=no&boardType=arr&time=actual&input=Erfurt%20Hbf
- http://reiseauskunft.bahn.de/bin/bhftafel.exe/dn?ld=15097&country=DEU&rt=1&evaId=645748&boardType=arr&time=14:32&productsFilter=1111111111111111&rtMode=&start=yes
- http://db-livemaps.hafas.de/bin/query.exe/dn?L=vs_baustellen
- http://reiseauskunft.bahn.de/bin/bhftafel.exe/dn?L=vs_java&start=yes&boardType=arr&time=actual&input=8000080
This file contains 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
#!/bin/bash | |
# change this to the MAC of your device | |
MAC="XX:XX:XX:XX:XX:XX" | |
# get the CSRF token required for login | |
TOKEN=$(curl --silent --cookie COOKIE --cookie-jar COOKIE 'http://login.wifionice.de/de/' | grep CSRFToken | cut -d '"' -f 12) |
This file contains 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
#!/bin/bash | |
set -e | |
tripInfo=$(curl -s https://iceportal.de/api1/rs/tripInfo/trip|jq '.trip') | |
status=$(curl -s https://iceportal.de/api1/rs/status) | |
next=$(echo $tripInfo|jq '.stopInfo.actualNext as $next|.stops[]|select(.station.evaNr == $next)') | |
if [ -z "$next" ]; then | |
echo "Endstation" | |
exit 0 | |
fi |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>CSS - Fixed Header Variable Width Table</title> | |
<!-- CSS Includes --> | |
<link href="http://getbootstrap.com/dist/css/bootstrap.css" rel="stylesheet" type="text/css" /> | |
<link href="http://netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet"> | |
<style id="jsbin-css"> | |
/* http://www.ericknauer.info or https://github.com/nauerster */ |