The modern hero of shell scripts is jq. Pipe in JSON, find values, store back into variables or create new JSON and work with that. Unfortunately my data was in PostgreSQL, and the psql output…
Earlier today I logged into a jumpbox session and was greeted with some lovely error messages: $ channel 12: open failed: administratively prohibited: open failed channel 13: open failed: administratively prohibited: open failed channel 19: open…
GitHub Releases are a great resource for open source projects to expand on the simple git tag concept. You can add release notes in Markdown format, and you can upload finalized assets - such as…
Ever run into a situation where you need to ssh into a newly created server but you aren't sure that the server is listening on the ssh port yet? For the Terraform OpenStack install of…
As mentioned yesterday, BOSH manifests can be huge - 3000 lines of YAML for deploying Cloud Foundry into bosh-lite for example. I wanted to quickly pull out information from a manifest. yaml2json This little CLI…
Cloud Foundry has a lightning fast CLI written in Go, a very well documented API https://apidocs.cloudfoundry.org/, and the API endpoints return consistently structured data. It is ripe for automation. But can we…