Skip to content

Instantly share code, notes, and snippets.

💻
busy

Jannis Redmann derhuerst

💻
busy
Block or report user

Report or block derhuerst

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@derhuerst
derhuerst / rtMode-docs.md
Created Oct 10, 2019
HAFAS rtMode documentation
View rtMode-docs.md
@derhuerst
derhuerst / ice-278.ndjson
Created Sep 29, 2019
ICE 278 to Berlin Ostbahnhof
View ice-278.ndjson
This file has been truncated, but you can view the full file.
{"servicelevel":"AVAILABLE_SERVICE","internet":"HIGH","speed":67,"tzn":"Tz173","series":"803","latitude":49.804091666666665,"longitude":8.4700135,"serverTime":1569761528382,"wagonClass":"SECOND","navigationChange":"2019-09-29-01-38-23","ok":true,"gpsOk":true,"clientTime":1569761527310}
{"servicelevel":"AVAILABLE_SERVICE","internet":"HIGH","speed":60,"tzn":"Tz173","series":"803","latitude":49.804879,"longitude":8.47017,"serverTime":1569761533302,"wagonClass":"SECOND","navigationChange":"2019-09-29-01-38-23","ok":true,"gpsOk":true,"clientTime":1569761532315}
{"servicelevel":"AVAILABLE_SERVICE","internet":"HIGH","speed":52,"tzn":"Tz173","series":"803","latitude":49.805567,"longitude":8.470364833333333,"serverTime":1569761538330,"wagonClass":"SECOND","navigationChange":"2019-09-29-01-38-23","ok":true,"gpsOk":true,"clientTime":1569761537315}
@derhuerst
derhuerst / tgv-9896.ndjson
Created Sep 29, 2019
TGV 9896 to Luxembourg
View tgv-9896.ndjson
{"ok":true,"speed":2.0376,"latitude":45.760536667,"longitude":4.860028333,"heading":11.3,"precision":11,"serverTime":1569739205000,"clientTime":1569739205469}
{"ok":true,"speed":3.3336,"latitude":45.760563333,"longitude":4.860023333,"heading":7.1,"precision":11,"serverTime":1569739208000,"clientTime":1569739208472}
{"ok":true,"speed":4.2588,"latitude":45.760598333,"longitude":4.860015,"heading":2.9,"precision":11,"serverTime":1569739210000,"clientTime":1569739211478}
{"ok":true,"speed":5.184,"latitude":45.760658333,"longitude":4.860026667,"heading":3.7,"precision":11,"serverTime":1569739213000,"clientTime":1569739214483}
{"ok":true,"speed":6.6672,"latitude":45.760716667,"longitude":4.860033333,"heading":6.9,"precision":11,"serverTime":1569739217000,"clientTime":1569739217488}
{"ok":true,"speed":7.408799999999999,"latitude":45.760768333,"longitude":4.860035,"heading":4.3,"precision":11,"serverTime":1569739220000,"clientTime":1569739220494}
{"ok":true,"speed":7.9632000000000005,"latitude":45.760826667,"longitud
@derhuerst
derhuerst / access-codes.md
Created Sep 25, 2019
PlayRenfe Renfe WiFi access codes
@derhuerst
derhuerst / tgv-6809.ndjson
Created Sep 17, 2019
TGV 6809 to Toulouse
View tgv-6809.ndjson
{"ok":true,"speed":0,"latitude":47.741381667,"longitude":7.342893333,"heading":0,"precision":10,"serverTime":1568473742000,"clientTime":1568473742702}
{"ok":true,"speed":0,"latitude":47.741381667,"longitude":7.342893333,"heading":0,"precision":10,"serverTime":1568473745000,"clientTime":1568473745705}
{"ok":true,"speed":0,"latitude":47.741381667,"longitude":7.342893333,"heading":0,"precision":10,"serverTime":1568473748000,"clientTime":1568473748711}
{"ok":true,"speed":0,"latitude":47.741378333,"longitude":7.342901667,"heading":0,"precision":10,"serverTime":1568473751000,"clientTime":1568473751713}
{"ok":true,"speed":0,"latitude":47.741378333,"longitude":7.342901667,"heading":0,"precision":10,"serverTime":1568473754000,"clientTime":1568473754714}
{"ok":true,"speed":0,"latitude":47.741378333,"longitude":7.342901667,"heading":0,"precision":10,"serverTime":1568473757000,"clientTime":1568473757714}
{"ok":true,"speed":0,"latitude":47.741378333,"longitude":7.342901667,"heading":0,"precision":10,"serverTime":156847376
View tgv-marseille.ndjson
{"ok":true,"speed":0,"latitude":47.741381667,"longitude":7.342893333,"heading":0,"precision":10,"serverTime":1568473742000,"clientTime":1568473742702}
{"ok":true,"speed":0,"latitude":47.741381667,"longitude":7.342893333,"heading":0,"precision":10,"serverTime":1568473745000,"clientTime":1568473745705}
{"ok":true,"speed":0,"latitude":47.741381667,"longitude":7.342893333,"heading":0,"precision":10,"serverTime":1568473748000,"clientTime":1568473748711}
{"ok":true,"speed":0,"latitude":47.741378333,"longitude":7.342901667,"heading":0,"precision":10,"serverTime":1568473751000,"clientTime":1568473751713}
{"ok":true,"speed":0,"latitude":47.741378333,"longitude":7.342901667,"heading":0,"precision":10,"serverTime":1568473754000,"clientTime":1568473754714}
{"ok":true,"speed":0,"latitude":47.741378333,"longitude":7.342901667,"heading":0,"precision":10,"serverTime":1568473757000,"clientTime":1568473757714}
{"ok":true,"speed":0,"latitude":47.741378333,"longitude":7.342901667,"heading":0,"precision":10,"serverTime":156847376
View ice-1634.ndjson
{"servicelevel":"AVAILABLE_SERVICE","internet":"HIGH","speed":193,"tzn":"Tz1505","series":"415","latitude":52.208488,"longitude":13.22468,"serverTime":1568445967225,"wagonClass":"SECOND","navigationChange":"2019-09-14-03-45-10","ok":true,"gpsOk":true,"clientTime":1568445967156}
{"servicelevel":"AVAILABLE_SERVICE","internet":"HIGH","speed":193,"tzn":"Tz1505","series":"415","latitude":52.208488,"longitude":13.22468,"serverTime":1568445972164,"wagonClass":"SECOND","navigationChange":"2019-09-14-03-45-10","ok":true,"gpsOk":true,"clientTime":1568445972160}
{"servicelevel":"AVAILABLE_SERVICE","internet":"HIGH","speed":193,"tzn":"Tz1505","series":"415","latitude":52.208488,"longitude":13.22468,"serverTime":1568445977164,"wagonClass":"SECOND","navigationChange":"2019-09-14-03-45-10","ok":true,"gpsOk":true,"clientTime":1568445977163}
{"servicelevel":"AVAILABLE_SERVICE","internet":"HIGH","speed":193,"tzn":"Tz1505","series":"415","latitude":52.208488,"longitude":13.22468,"serverTime":1568445982170,"wagonClass":"SECOND",
@derhuerst
derhuerst / _.md
Created Sep 6, 2019
Sony WH-1000MX3 caveats
View _.md
  • you cannot use it while charging
  • the sensor field on the right side is clunky
@derhuerst
derhuerst / request.json
Created Sep 3, 2019
HAFAS mobile "search for alternatives"
View request.json
{
"client": {
"os": "iOS 12.4.1",
"id": "DB",
"v": "19040000",
"type": "IPH",
"name": "DB Navigator"
},
"lang": "en",
"ext": "DB.R19.04.a",
View interrail-login-check.sh
curl 'https://accounts.eu1.gigya.com/accounts.isAvailableLoginID?loginID=foo%40bar.de&APIKey=3_e52hhO8jjh-uFR6GuXGRmmqTQumgqbuFnXCATl6S0jC5mF_mFCnjNOWx2RJ57w_l&sdk=js_latest&authMode=cookie&pageURL=https%3A%2F%2Fwww.interrail.eu%2Fen%2Flogin%3Fresource%3D%252Fen%252Fmy-account.html%26%24%24login%24%24%3D%2524%2524login%2524%2524%26j_reason%3Dunknown%26j_reason_code%3Dunknown&format=jsonp&callback=gigya.callback&context=R42455374' \
-H 'Sec-Fetch-Mode: no-cors' \
-H 'Referer: https://cdns.eu1.gigya.com/gs/webSdk/Api.aspx?apiKey=3_e52hhO8jjh-uFR6GuXGRmmqTQumgqbuFnXCATl6S0jC5mF_mFCnjNOWx2RJ57w_l&version=latest' \
-H 'DNT: 1' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3888.0 Safari/537.36' \
--compressed
You can’t perform that action at this time.