I am Hack Sparrow
Captain of the Internets.

Archive for August, 2011

WordPress hacked – getting forwarded to distributioncorporate.ru – Solution

So you just noticed or got told that your website is redirecting its users to distributioncorporate.ru. You are not alone, it is a new hack affecting lots of Wordpress users lately. The vulnerability lies in outdated versions of the popular TimThumb library. If you got hacked, you have a plugin or theme which has an outdated TimThumb lib. Disclaimer: fo ...

Debating about SQL vs. NoSQL, Redis vs. MongoDB vs. CouchDB etc?

Here is a collection of articles to to help you get a better idea about NoSQL and its options. They will also probably answer your Redis vs. MongoDB vs. CouchDB vs. MySQL query. It did for me, the answer is is not that exciting - "use the right tool for the right job" :D What the heck are you actually us ...

Web speed is slow but Torrent speed is fast – Solution!

One morning you wake up to discover that your internet connection speed has fallen by 1/4 its original speed on your Windows machine. Websites are slow, YouTube is slow, all video sites are slow, everything is slow in general now. You begin to suspect it's a conspiracy by your ISP, or maybe your computer is infected with a super stealth virus, or maybe it is the goddamn antivirus which is sucking up your ...

MySQL: How to copy a MySQL table

Probably you figured out how to backup and create a copy of your whole database already. But that's not what we wanna do all the time, sometimes you just wanna create a copy of a certain table before you experiment and do stuff on the target table. Before we start copying the whole table, probably there is another requirement you might have. Maybe you don't wanna create a copy of the table with all its contents, maybe you just wanna b ...

Ubuntu: how to install easy_install

So you need easy_install for something on Ubuntu? Installing it is very easy, just follow the instructions below. [code] $ sudo apt-get install python-setuptools [/code] And that's it! Yes, that's all you need to do and you will have easy_install available at the command prompt. In case you are wondering, easy_install is a Python module which comes as a part of the Python se ...