Skip to content

Instantly share code, notes, and snippets.

@gburd
Created February 25, 2016 20:25
Show Gist options
  • Save gburd/b87657e5cc54ca0b2354 to your computer and use it in GitHub Desktop.
Save gburd/b87657e5cc54ca0b2354 to your computer and use it in GitHub Desktop.
One Liners:
# Set the local clock.
date -r$((16#`printf "\xb%-47.s"|nc -uw1 time.nist.gov 123|xxd -s40 -l4 -p`-2208988800))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment