Turning off auto indent when pasting text into vim

2013-07-23 at 21:11:23 | categories: tips, vim

Extracted information from thispage.I'm using vim as my editor of choice. Whenever I tried to paste some code using mouse (middle button) I had to...

Loading UTF-8 json file in python

2013-02-17 at 19:35:43 | categories: python, tips

Another lesson learned. I had a bunch of json files which define some language strings. Some of these files use UTF-8others are plain 7bit ASCII....

Replacing one git branch with another one

2013-01-12 at 21:18:04 | categories: tips, git, linux

One project I worked on had pretty long history in terms of number of commits and developers who came, did something andwent. The result was...

Django with nginx and detecting https

2012-10-28 at 11:18:12 | categories: tips, linux

In one of my project I use is_secure() method of django's HttpRequest class to figure out if we are using http or https. I need...

Some nice debian tricks discovered lately

2012-09-26 at 20:36:23 | categories: tips, linux

Lately I learned something new about my Debian and just wanted to share this here,with hope that it can be useful for someone and also...