Skip to content

Instantly share code, notes, and snippets.

@twistedpair
Created January 2, 2018 16:14
Show Gist options
  • Select an option

  • Save twistedpair/f07b03023e871ab1d672b92420ac7ca7 to your computer and use it in GitHub Desktop.

Select an option

Save twistedpair/f07b03023e871ab1d672b92420ac7ca7 to your computer and use it in GitHub Desktop.

Revisions

  1. twistedpair created this gist Jan 2, 2018.
    4 changes: 4 additions & 0 deletions gogo_live_track.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    !#/bin/bash
    # Requires `watch` and `jq`
    watch -d -n 1 -c -t \
    "curl -s 'http://fig.gogoinflight.com/v1/flights?registration-number=N190UW&status=current&detail=true' | jq -C '.[].flight.gps'"