I tried to build a service monitor having the following features:
- showing the reachability of HTTP servers
- plotting the amount of messages in a specific RabbitMQ queue
- plotting the amount of queues with specific prefixes
- showing the status of RabbitMQ queues i.e. how many messages are in there? are there any consumers? are they hung?
- showing the availability of certain Redis clients
Well, you can find the result on GitHub.
It uses two things I published before: polymer-flot and flot-sparklines. 😀
An example dashboard:
I was playing with Polymer at work, building a service monitor with it. At some point I needed charts and Flot seemed to be the simplest solution.
So after a little work I managed to wrap Flot for Polymer (on GitHub). ?
Updating my OnePlus One recently to Cyanogen OS 12 I had to reset my phone a few times before everything ran smoothly … so I wrote a pair of scripts to help me copy things around.
It uses the Android SDK’s ADB tool to do the copying since the Android File Transfer Tool for Mac has a laughable quality for Google’s standards.
Since the scripts became more sophisticated I moved them to a proper project on GitHub.
Zach Holman describes how GitHub has grown over the years and how they handled the technical side of it.
How to Build a GitHub from Zach Holman on Vimeo.
If you ever needed a way to render a Rails assets to a string, Hongli Lai from Phusion describes how. 🙂
I prepared a Gist wrapping it into a nice helper. 😀
# thanks to http://blog.phusion.nl/2011/08/14/rendering-rails-3-1-assets-to-string/
# you may need to change the owner of the tmp/cache/* directories to the web servers user
# e.g. for Debian systems: `chown -R www-data:www-data tmp/cache/*`
It you want to know how demos are coded, farbrausch has released 10 years worth of code.
As a starting point: there is an ongoing series of blog posts showing you around the code.