Skip to content

Instantly share code, notes, and snippets.

View drive-n-code's full-sized avatar
🏠
Working from home

Matti drive-n-code

🏠
Working from home
View GitHub Profile
REPO="~/repositories/kvv-gtfs-archive"
cd $REPO
curl --silent --dump-header "$REPO/google_transit.header" https://projekte.kvv-efa.de/GTFS/google_transit.zip > "$REPO/google_transit.zip"
LAST_MODIFIED=$(grep "Last-Modified" "$REPO/google_transit.header" | cut -d " " -f 2-)
COMMIT_DATE="$(date -u -d "$LAST_MODIFIED" +%Y-%m-%d-%H-%M-%s) +000"
TAG_DATE=$(date -u --date="$LAST_MODIFIED" +%Y-%m-%d-%H-%M-%S)

Provide traccar-web 'modern' as separate frontend

I wanted to provide the new 'modern' web interface of traccar on a seperate domain without a new server instance.

TL;DR