Monthly Archives: March 2011

Formatting JSON on the command line

If you ever work with JSON on the command line, try out the json_reformat tool included in yajl-tools package (or install from source). Without json_reformat $ curl http://github.com/api/v2/json/user/show/powdahound {“user”:{“gravatar_id”:”d5894734b9f67c07b276319fdc2e5d88″,”company”:”HipChat”, “name”:”Garret Heaton”,”created_at”:”2009/04/04 08:36:09 -0700″, “location”:”Sunnyvale, CA”,”public_repo_count”:18,”public_gist_count”:67, “blog”:”http://powdahound.com”,”following_count”:8,”id”:70472,”type”:”User”, “permission”:null,”followers_count”:7,”login”:”powdahound”, “email”:”powdahound@gmail.com”}} With json_reformat … Continue reading

Posted in Tech | Tagged , | Leave a comment

Hosting a static site on Amazon S3: ec2instances.info

Amazon added the ability to host static sites on S3 recently so to try it out I made a small site comparing the different types of EC2 instances: www.ec2instances.info. It’s not much of a site but it was the only … Continue reading

Posted in Tech | Tagged , , | Leave a comment