Skip to content

Instantly share code, notes, and snippets.

@joshuakfarrar
Created March 27, 2014 15:06
Show Gist options
  • Save joshuakfarrar/9809616 to your computer and use it in GitHub Desktop.
Save joshuakfarrar/9809616 to your computer and use it in GitHub Desktop.
// had to use http://www.asciitable.com/ .. values should be in instructions, resource should be presented for next problem.
"use strict";
var bl = require('bl');
process.stdin.pipe(bl(function(err, data) {
for (var k = 0; k < data.length; k++) {
if (data[k] == 0x2e) data[k] = 0x21;
}
console.log(data);
}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment