Category Archives: linux

pin application window to specific monitor in linux

At work, I use an external monitor connected to docking station. While all my work happens on the external 24″ monitor, I wanted my email window on the laptop screen so that I have quick view of email any time … Continue reading

Posted in linux, tech | Tagged , , | Leave a comment

shrink VirtualBox disk image

For a recent hackathon at InMobi, I brought up a VirtualBox VM using vagrant. It had couple of java applications, nginx and ab hitting the nginx to generate traffic. I left the vm running even after the event and in … Continue reading

Posted in linux, tech | Tagged , | Leave a comment

gmail ignores dot in the email address

Create aliases for your gmail account by inserting dot(s) in the email address. Make the most use of it by setting up filters based on the email id you receive the mail for. Continue reading

Posted in linux, tech | Tagged , , | 3 Comments

smart wc(1)

Difference between wc -c file vs. wc -c < file commands and how it differs on different platforms. Continue reading

Posted in linux, tech | Tagged , , | Leave a comment