News for hackers. Stuff that matters.
Re:Easy CLI JSON Formatting by tedchs on Friday November 09, 2012 @10:57AM (#4763348)
Here is the bash alias I have been using for CLI JSON formatting, and as a bonus, my random password generator:

alias jsonpp='ruby -r json -e '\''puts JSON.pretty_generate(JSON.parse(STDIN.read))'\'''

alias md5pass='dd if=/dev/random bs=100 count=1 2>/dev/null | md5'

There are no comments on this comment yet.