Skip to content

Instantly share code, notes, and snippets.

@shmaltorhbooks
Created May 10, 2013 11:13
Show Gist options
  • Save shmaltorhbooks/5553790 to your computer and use it in GitHub Desktop.
Save shmaltorhbooks/5553790 to your computer and use it in GitHub Desktop.
ip => long / long => ip
select INET_ATON('94.27.106.191') => 1578855103
select INET_NTOA(1578855103) => 94.27.106.191
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment