Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save unakatsuo/443352 to your computer and use it in GitHub Desktop.
Save unakatsuo/443352 to your computer and use it in GitHub Desktop.
Digest::SHA1.hexdigest(`/sbin/ip route get 8.8.8.8`.split("\n")[0].split.last)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment