Google Sputnik Test – Opera 10.6 vs. Firefox 3.6.6 vs. Google Chrome 5.0.375.86 on Ubuntu

I was free, so just decided to see how browsers compare on Google’s sputnik test. Its a test about javascript conformance. Well, here’s the introduction from site: Sputnik is a JavaScript conformance test suite containing over 5000 tests. It tests how well a JavaScript implementation adheres to the ECMA-262 specification version 5, looking only at those… Continue reading Google Sputnik Test – Opera 10.6 vs. Firefox 3.6.6 vs. Google Chrome 5.0.375.86 on Ubuntu

[HOWTO] Reset MySQL root password on Ubuntu when you’ve forgotten it

To err is human. Humans forget things, MySQL root password is one of those things. However, its not very difficult to reset the root password if you have root access to the machine. The tutorial does seem a bit long because of all the alternate ways to kill and start the mysqld, but trust me… Continue reading [HOWTO] Reset MySQL root password on Ubuntu when you’ve forgotten it

[HOWTO] Install Opera 10.6 via PPA in Ubuntu

Opera 10.6 which was released yesterday is currently one of the fastest browsers. It has beaten Chrome in javascript speed test. It also features better support for HTML5, WebM video support. You can now install it on Ubuntu via PPA. Add the PPA in your repository: sudo sh -c ‘echo “deb http://deb.opera.com/opera/ stable non-free” >>… Continue reading [HOWTO] Install Opera 10.6 via PPA in Ubuntu

[SOLVED] Error ‘dpkg: error processing (–unpack) trying to overwrite…

Recently I got this error after installing VLC on Ubuntu 10.10 Maverick Meerkat. Not really remembering what caused the error to be triggered in the first place, it became very difficult to find a solution for it. When I executed sudo apt-get upgrade to upgrade my packages, it told me there was some issues and I needed… Continue reading [SOLVED] Error ‘dpkg: error processing (–unpack) trying to overwrite…

[HOWTO] Install VLC 1.1 via PPA on Ubuntu

VLC 1.1 which was released yesterday boasts lots of improvement and feature additions including:   GPU decoding on Windows Vista and 7, using DxVA2 for H.264, VC-1 and MPEG-2 GPU decoding on GNU/Linux, using VAAPI for H.264, VC-1 and MPEG-2 DSP decoding using OpenMax IL, for compatible embedded devices Improved support for MKV HD, including seeking… Continue reading [HOWTO] Install VLC 1.1 via PPA on Ubuntu

[How-To] Reset panels’ settings to default in Ubuntu

I often accidentally delete some of the icons from my top panel including battery meter, volume control, messagin icon. It gets quite frustrating not having them there. Also, you cannot get them back using Add to Panel option. You can easily get your panel with default settings back. Just follow the following steps: Press Alt+F2,… Continue reading [How-To] Reset panels’ settings to default in Ubuntu

[SOLVED]’Error establishing a database connection’ in wordpress

One of my clients got this error in his wordpress: Error establishing a database connection It is one of those vague errors which give very little information about what caused it. On going to /wp-admin, it gave error: One or more database tables are unavailable. The database may need to be repaired. I added “define(‘WP_ALLOW_REPAIR’,… Continue reading [SOLVED]’Error establishing a database connection’ in wordpress

[SOLVED] ‘Can’t connect to local MySQL server through socket’ error

Yesterday I got the error: ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2) when I ran the command mysql through terminal in Ubuntu 10.10 This error can also be linked to error in phpmyadmin: Connection for controluser as defined in your configuration failed. I figured out it was due to… Continue reading [SOLVED] ‘Can’t connect to local MySQL server through socket’ error