Please create an Issue in the transport-apis
repo instead. 🙏
This is a script that creatively uses the curl
CLI to download an HTTP resource (colloquially "file"); It saves time & bandwidth whenever possible, but not at the expense of correctness.
- Compares
ETag
s to make sure that an unchanged resource is not transfered again, but a changed resource always is. - Requests a CE-coded (a.k.a. compressed, e.g. gzipped) representation of the resource, falling back to the "regular" one.
- Supports continuation, using conditional requests, but in contrast to the
-C -
curl flag works with CE-coded responses, and falls back to a "full body" request.
People asked me: Why not use wget
for this?
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
– The Git website
Choose one of the following options.
For a long time, there were <6 minutes of delay. In Berlin-Spandau, a delay happened because of a medical emergency.
from the Digital Security Elements for Rail Passenger Ticketing technical document:
The whole security system is based on asymmetrical key pairs: Private and Public keys. To ensure the autenthicy of the public keys the keys shall be certified by a certification authority and the certificates exchanged for the ticket control precedures.
These keys are generated on a regular base (e.g. every 6 months) by the party that wants to encrypt data using such a key ("the security provider"). To enable decryption of the encoded data, the corresponding certificate should be made available to every TCO (Ticket Controlling Organisation)
AZTEC is the better one of both because of error-correction, readability in difficult conditions and the fact that it is more variable in size. The reason that the PDF417 barcode (a so called “Stacked linear barcode”) is still in t
[ | |
{ | |
owner: 'bcoe', | |
repo: 'top-npm-users', | |
description: ':star: Generate a list of top npm users by based on monthly downloads.', | |
language: 'JavaScript', | |
isFork: false, | |
stargazers: 27, | |
watchers: 27 | |
} |
unencrypted HTTP traffic of the VBB Bus & Bahn app
- the app sends an app-install-unique ID
- the app sends when the app had been opened the last time
- the server sends the push notification token back
- the app sends unique IDs for every station set as favorite
- the server sends back the connections i have set alarms for, including
- [departure time, selected means of transport, accessiblity choice](https://gist.github.com/derhuerst/e05735d58a2fae4d28879c6fb023543f#file-02-response-payload-json-L21
- download GTFS file from the Berlin open data portal
- push to
vbb-gtfs.jannisr.de
- create dir &
datapackage.json
in the repo - put data, rename
.txt
->.csv
chmod -x *.csv
./deploy.sh
chown -R root:www-data .
chmod -R 755 *
gzip -k --best {date}/*.csv
- change
latest
symlink
- create dir &
{"public":true,"mode":"train","line":{"type":"line","id":"ice-572","name":"ICE 572"},"traveledDistance":166334,"distanceToPreviousStop":4124,"totalDistance":597863,"next":{"type":"station","id":"8010101","name":"Erfurt Hbf","location":{"type":"location","latitude":50.972551,"longitude":11.038499}},"scheduledNext":{"type":"station","id":"8010101","name":"Erfurt Hbf","location":{"type":"location","latitude":50.972551,"longitude":11.038499}},"previous":{"type":"station","id":"8000105","name":"Frankfurt(Main)Hbf","location":{"type":"location","latitude":50.107145,"longitude":8.663789}},"last":{"type":"station","id":"8098160","name":"Berlin Hbf (tief)","location":{"type":"location","latitude":52.525592,"longitude":13.369545}},"passed":[{"station":{"type":"station","id":"8000096","name":"Stuttgart Hbf","location":{"type":"location","latitude":48.784084,"longitude":9.181635}},"arrival":null,"arrivalDelay":null,"arrivalPlatform":"9","departure":"2023-11-02T17:24:39+01:00","departureDelay":99,"departurePlatform":"9"," |