When running apps on a docker swarm sometimes we know from the monitoring/alerting system just a container hostname, but measures should be taken on the host. For example, free up some disk space. I’ve struggled to find a way to find it out in an easy way, but haven’t succeeded. So, I came up with…
Tag: opensource
docker-compose logs sorted by time
Trying to understand what’s happening inside your code running in multiple docker-compose containers by reading logs could be a terrible idea if log lines are outputted in a random manner. Which is true at least for docker-compose version 1.8.0, build 94f7016. This could be simply checked by running the following command several times. docker-compose logs|head Here…
Nodejs cache images or other binary data on local disk filesystem
I’ve been looking for a simple npm package that will allow caching arbitrary binary data (images, specifically) on a local fs storage. I could have do the work for saving the files locally, but cache invalidation task was too much. In a hope that someone already created the package I’ve looked through the npm. What…
Terminating wp-pro-quiz quiz on first wrong answer
There’s an awsome quiz plugin for WordPress which lacked the option for terminating a quiz on first wrong answer. Pull request for that option is submitted.
rrssb social share and vk.com
Most of the new and good social share buttons sets often lack russian social networks. So, I added vk.com to the Ridiculously Responsive Social Sharing Buttons. Also a patch adding vk.com for Drupal rrssb is submitted. My plans also include adding vk.com and updating corresponding WordPress plugin.