Joined February 2014
·

Doug Puchalski

Founder at SimpliFiApp.com
·
San Francisco, CA
·
·
·

Thanks for this! Here's what I've got in my env:

function jcurl { curl $* | ruby -rawesome_print -rjson -e 'ap JSON.parse(STDIN.read)' }
export -f jcurl

Now just
jcurl -s "http://someapi.com/json"

Posted to Use UUID keys in Active Record over 1 year ago
Achievements
151 Karma
8,666 Total ProTip Views