Skip to content

Instantly share code, notes, and snippets.

@todrobbins
Created June 13, 2014 21:34
Show Gist options
  • Save todrobbins/948f516796953255609f to your computer and use it in GitHub Desktop.
Save todrobbins/948f516796953255609f to your computer and use it in GitHub Desktop.
➜ dat-playground git:(master) ✗ node -pe "require('fs').readFileSync('pizza-vs-taco.json').toString('hex')"
7b226b6579223a202262757267657273222c20227461737479223a20747275657d0a7b226b6579223a202270697a7a61222c20227461737479223a20747275657d0a7b226b6579223a20227461636f73222c20227461737469657374223a20747275657d
➜ dat-playground git:(master) ✗ node -pe "new Buffer(require('os').EOL)"
<Buffer 0a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment