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....

Short term memory training for speed reading

2013-02-10 at 09:44:12 | categories: tools

Some time ago I read Speed reading by Tony Buzan. It was very promising so I gave it a try and for several weeks I...

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...