Wednesday, March 26

OSX Mavericks 10.9.2 and TomTom Go 2405

Had some issues connecting my TomTom Go 2405 to Mavericks, finally found the solution from this post. Basically what I did to get it to connect was manually assign the IP to the TomTom device on Network Preferences and it worked.

Monday, July 22

Ubuntu 12.04 Fixing "500 OOPS: vsftpd: refusing to run with writable root inside chroot ()"

Needed to migrate a vsftpd installation from CentOS 5.9 to Ubuntu 12.04, previous server is configured for  chrooted virtual users and libpam-pwdfile for authentication.

Long story short new version of vsftpd that comes with ubuntu gives you the error

500 OOPS: vsftpd: refusing to run with writable root inside chroot ()

when you try to configure it.

Several suggestions for fixing it here:

TLDR; solved it by installing a deb package from ubuntu repositories.

Wednesday, January 9

Page load improvements with Google's mod_pagespeed and memcached

A couple of weeks back I mentioned that mod_pagespeed now has support for memcached, so I was curious and enabled it on our web servers. Recently I've checked the page speed  section on Google Analytics and so far I'm very pleased with the results.

I sample a page that's gets heavy usage and also has lots of images on it, this shows 70% of page load samples loaded between 1-3 seconds.

mod_pagespeed file cache stats
mod_pagespeed with file cache

After upgrading mod_pagespeed and enabling memcached, it now shows that 45% of page load samples loaded between 0-1 seconds and 41% between 1-3 seconds.

mod_pagespeed with memcached enabled

My memcached server stats

Monday, December 17

Google's Mod Pagespeed now with Memcached support

"With this release we've reduced server load time and improved utilization for large, multi-server environments. We accomplished this by adding support for memcached (a popular, scalable cache), and improving logging and statistics reporting. With memcached, multiple Apache servers share and fetch the same resources optimized by mod_pagespeed. Logging and reporting have been improved to make it easier to keep track of resource consumption and optimization effectiveness across multiple sites hosted by a single Apache installation. These new features make mod_pagespeed even better for high-traffic sites and network providers hosting many individual websites on their infrastructure."

Thursday, November 22

Setting the Timezone for a Debian Server

To determine your current timezone

# cat /etc/timezone

To select a new timezone

# sudo dpkg-reconfigure tzdata

More info:

Thursday, July 26

Netbeans 7.2 released, how to fix menu and dialog box issues on Ubuntu 12.04 Unity

I've been mainly using lightweight editors on Ubuntu for doing quick edits or bug fixes, however when working on large projects having code completion and a nice source code navigator really helps. So I heard from reddit that 7.2 is out and quickly gave it a try.

First thing I've noticed after installing netbeans was that the menu colors were a bit off, actually its unreadable with the default ambiance theme, easy fix switched to radiance theme. Then came the dialog boxes, which is probably why you're here as well.

Discussion about this issue on the netbeans forum:

The FIX that worked for me is this, I downloaded Java SE Development Kit 6 Update 33 from

chmod +x jdk-6u33-linux-x64.bin

It will extract the contents to a folder, move this to /usr/lib/jvm

sudo mv jdk1.6.0_33 /usr/lib/jvm/java-6-oracle

Locate your netbeans installation folder, open up etc/netbeans.conf, locate the following line and change it to:


That's it after that I was able to use netbeans on my secondary monitor and everything worked perfectly.

Also to fix the menu when using the ambiance theme I found this helpful post:

Solution 1 worked

Go to your netbeans directory (ex: /home/user/netbeans7.2/etc) and open the file : netbeans.conf
then add the following line to netbeans options:
-J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd --laf Metal