4 ms·
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.pre
by tedchs 14y ago
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'