Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am washt on github.
  • I am tucker (https://keybase.io/tucker) on keybase.
  • I have a public key whose fingerprint is FEB4 C7E7 A9FA 178A F1E5 0736 80F2 35CE D5B0 79F7

To claim this, I am signing this object:

'use strict';
var _ = require('lodash'),
fs = require('fs'),
ftp = require('ftp'),
moment = require('moment');
var time = moment().format('h:mm:ss');
var newfile = 'logs/hrtrtf_'+ time + '.txt';
@washt
washt / pp
Created March 1, 2017 19:56 — forked from thiagophx/pp
JSON Pretty Print Stream
#!/usr/bin/python -u
import sys, json
from pygments import highlight
from pygments.lexers import JsonLexer
from pygments.formatters import Terminal256Formatter
while True:
line = sys.stdin.readline()
if line.strip():