Skip to content

Instantly share code, notes, and snippets.

@davidalger
Created April 10, 2013 06:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidalger/5352222 to your computer and use it in GitHub Desktop.
Save davidalger/5352222 to your computer and use it in GitHub Desktop.
Poken Load on OS X 10.8
sudo cat /dev/disk2s1 | php -r 'echo preg_replace("/.*(<html>.*<\/html>).*/s", "$1", file_get_contents("php://stdin"));' > ~/poken.htm; open ~/poken.htm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment