Python lacks good tag cloud generators which is simple to use. I needed it in a feature that I was working on. So I wrote a small tag cloud generator based on PIL. The quality of image generated is not very good but it does the job. It is inspired from jQCloud. Most of the logic has…
Sometimes when you compile some libraries like opencv, they install the compiled shared libraries in non standard path /usr/local/opencv/lib instead of /usr/lib or /usr/local/lib. So when you try to compile your code against these libraries, gcc will not be able to locate them or when you are using python bindings, python wont be able to locate them.…
Most linux distributions come pre-installed with Transmission. Though it works fine but it is very basic. Deluge is an extremely good substitute for transmission. You can view files in the torrent and set priority. You can also remove some files from the download. This is something I use extensively.
I started to work out last year around the same time. I can clearly remember my first day to the gym. I had almost fainted after some running and some push ups. I was sweating profusely and trying to catch my breath while lying down on a mat. The 200 m walk to my home took…
To ensure good server performance, the total number of client connections, database files, and log files must not exceed the maximum file descriptor limit on the operating system (ulimit -n). Linux systems limit the number of file descriptors that any one process may open to 1024 per process. Edit /etc/security/limits.conf and add these lines to the…