Sockets on OpenShift
In this article, a followup to my previous post regarding long-poll servers and Python, we investigate the code changes that were necessary to make the code work when deployed on OpenShift.
In the previous post, we implemented IO polling to watch for client disconnects at the same time we were …read more
A unified CLI for OpenStack
This tool solves two problems I've encountered in the past:
Command line options between different command line clients are sometimes inconsistent …
Automatic maintenance of tag feeds
I recently added some scripts to automatically generate tag feeds for
my blog when pushing new content. I'm using GitHub Pages to publish
everything, so it seemed easiest to make tag generation part of a
pre-push hook (new in Git 1.8.2). This hook is run automatically as
Enabled blog comments
json-tools: cli for generating and filtering json
Interacting with JSON-based APIs from the command line can be difficult, and OpenStack is filled with REST APIs that consume or produce JSON. I've just put pair of tools for generating and filtering JSON on the command line, called collectively json-tools.
Both make use of the Python dpath module to …read more