Trip to Paradise – Leh, September 2014

This will be a series of posts about my recent Manali-Leh montorcycle trip.

Solo ride to Horsley Hills

It was a lazy Sunday morning and I was cleaning my flat. My cousin called me up and said that he is driving from Bhillai to Tirupathi and asked me to meet him at Tirupathi. I told him that I would check if I was free and let him know. I just wanted to check the distance from Bangalore to Tirupathi 😉 It was around 260 km. Then I logged on to BB to check if there is anything in between to to make a quick stop. There it was – Horsley Hills. Looked up google for photos, it looked interesting. Called my cousin to confirm the trip.

Tag cloud generator in python

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 been taken from it.

adding a non standard library path to linux library path

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.  The errors will be something like this:

Deluge: the better torrent client for linux

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.