public
Created

cornsole.log()

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7
var cornsole = {
log: function(txt) {
var cornhole = atob('ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC4tLS0tLS0tLS0tLS0tLg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLyAgICAgICAgICAgICAgIFwNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLyAuLS0tLS0uICAgICAgICAgXA0KSSBhbSB0aGUgR3JlYXQgQ29ybmhvbGlvISEgICAgICAgICB8LyAtLWAtYC1cICAgICAgICAgXA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8ICAgICAgICAgXCAgICAgICAgfA0KSSBuZWVkIFRQIGZvciBteSBidW5naG9sZSEhICAgICAgICAgfCAgIF8tLSAgIFwgICAgICAgfA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgX3wgPS0uICAgICB8ICAgICAgfA0KQ29tZSBvdXQgd2l0aCB5b3VyIHBhbnRzIGRvd24hICAgICAgb3wvby8gICAgICB8ICAgICAgfA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLyAgfiAgICAgICB8ICAgICAgfA0KQVJFIFlPVSBUSFJFQVRFTklORyBNRT8/ICAgICAgICAgIChfX19fQCkgIF9fXyB8ICAgICAgfA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBfPT09fn5+LmB8ICAgICAgfA0KT2guIGhlaC1oZWguICBTb3JyeSBhYm91dCB0aGF0LiAgIF9fX19fX18uLS1+ICB8ICAgICAgfA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcX19fX19fXyAgICB8ICAgICAgfA0KaGVoLWhlaC4gIFRoaXMgaXMgY29vbC4gIGhlaC1oZWggICAgICAgIHwgIFwgICB8ICAgICAgfA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcXy9fXy8gICAgICAgfA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLyAgICAgICAgICAgIF9fXA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLXwgTWV0YWxsaWNhfHwgfA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfHwgICAgICAgICAgfHwgfA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfHwgICAgICAgICAgfHwgfA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL3wgICAgICAgICAgLyAv');
console.log(cornhole);
console.log(txt);
}
};

For the non-initiated:

  1. Open up the web console in a modern web browser (e.g. Chrome: CMD+option+j; Firefox: CMD+option+k).
  2. Copy/past lines 1-7 into the web console.
  3. Type cornsole.log() in the web console and press ENTER
  4. PROFIT!!!

edit So I was getting some water in the break room at work when a fellow dev walked in and said, "Man, it's been one of those days. I was debugging something and typed in cornsole instead of console." I totally LOL'd and thought to myself, "This has to be made into a thing."

Thus, cornsole.log() was born.

edit 2 Credit for the "surprise" goes to Mike Gadda gaddam@columbia.dsu.edu

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.