Statutory warning: Decimals in your logrotate config can be bad for your server’s disk space

Last night as I was about to head to sleep, Sensu started emailing me about disk space warnings on one of the backend servers. That’s strange, I thought. I had set up logrotate with appropriate limits to ensure the log file size is reasonable and rotation happens on a daily basis. Curious, I ssh’d into…

Chef Zero, Cookbooks and Data Bags locations

I like chef-zero a lot. There’s so much overlap between chef’s products: chef-zero, chef-solo, chef-apply – yes, each have their own uses, but I digress. Chef-zero has been relatively pain-free for me – except when I tried to get it running – trying to figure out why it wasn’t fetching the cookbooks was so annoying!…

Getting php mail() function running on Windows 8.1 with WAMP Server and configuring it to use Gmail’s SMTP servers

With the next Barcamp Bangalore looming round the corner, I’d pitched in to help with some of the website tasks. I installed the traditional WAMP stack with WAMP Server for Windows and started working with WordPress. Needed to get the email notifications working, saw that it wasn’t. Bit of research & found that I’d need a…

Reviving my dead Windows 8 install with no bootable USB/DVD and Linux Mint & Cr48

Couple of months ago, just about a month before #cpgweds – the engagement my Envy 14 laptop started showing signs of dying – weird noises coming from the vents, system freezing arbitrarily, system getting incredibly hot – and that’s really unusual because the Envy’s cooling system is probably one of the best that I’ve seen in a laptop….

SSH into your servers from Unity using unity-sshsearch-lens

I love Unity, especially the lens feature. While going through the Ubuntu store, found this neat little lens for initiating an SSH connection. The lens parses your ~/.ssh/known_hosts & ~/.ssh/config files and provides you with a list of servers that you can connect to. Just install the lens, logout & login back to your desktop…