I have Rhythombox on all my work and personal work machines(laptops) and I keep my music in ~/Music folder. 25GB of music from here and there, last 10+ years of music. Lots of them rated. And when I have to change laptops I lose all my playlists. Not anymore. Rhythombox saves all its data in […]
Category Archives: Everything
How to setup and run multiple zookeeper instances on one box
In layman terms, Zookeeper is a highly available configuration management system meant for distributed systems. Distributed systems solve a lot of problems but then they present their own challenges. What happens when a node in a cluster is not able to serve due to any reason? And what if that node was leader? Zookeeper helps […]
Decorator pattern and baking a pizza
I am a self proclaimed master chef. And I love baking pizza. I was going through a video and the presenter mentioned the process of baking pizza as an example of decorator pattern. I had some example PHP “pizza” code lying around and decided to use namespaces and composer to build upon it. Here is […]
cannot open /var/run/vpnc/resolv.conf-backup: No such file
Facing “cannot open /var/run/vpnc/resolv.conf-backup: No such file” error? Run sudo touch /var/run/vpnc/resolv.conf-backup and retry.
Parsing XML with jQuery using XPath or CSS path or CSS Selectors
Parsing XML with jQuery using XPath or CSS path or CSS Selectors