Nitin Venkatesh
Last seen April 26, 2017, 8:12 a.m.

Website: http://nitstorm.github.io/
Location: Chennai, India

Squashing git commits with interactive rebase
March 29, 2014, 5:04 a.m. by Nitin Venkatesh

Sometimes you want to make a gazillion little commits to keep track of your project and then later on you wish you could combine them into a single commit. This comes in especially handy when you are working on code in a public repository. You don't want to see every little change you make reflected in the logs, it's just ...


Reverting to an old commit & Grabbing changes from another branch : git checkout
March 21, 2014, 11:47 a.m. by Nitin Venkatesh

You might have seen me blogging regularly the last three weeks. That's thanks to James Clear's advice on forming new habits. I am trying to keep the "blog every saturday morning" habit this week with a short post on things I learnt to do with Git's Checkout command. So here we go! Reverting to an old commit To revert back ...


Keeping your forked repo synced with the upstream source
March 14, 2014, 11:45 a.m. by Nitin Venkatesh

We code, we fork, we code again, submit pull requests and the cycle goes on and on. Welcome to the world of Open Source. You fork a project to add some upgrade or feature and submit a pull request. However, when you're new like me, one big question that arises is - how do we keep the forked repo up-to-date ...


Making cross-domain AJAX possible with your PHP backend
March 7, 2014, 6:42 p.m. by Nitin Venkatesh

Generally, browsers will not allow you to make AJAX calls to your scripts that reside on another domain because of the Same-Origin Security policy present by default. This can be circumvented by using JSONP and stuff, but what if your script only returned text as output? You could tweak your script to wrap the text output in JSON which would ...


Installing Django and MongoDB in your virtualenv
Feb. 20, 2014, 1:09 a.m. by Nitin Venkatesh

This post is another in the series where I experiment with Django being a total newbie. Things got a little messy when I wanted to try and use MongoDB in Django, (things tend to get messy when you are a complete noob, I know :P ). Anyways, here is the error I encountered when I tried installing django-mongodb-engine: ImportError: Could ...


Virtualenv, Virtualenvwrapper and Pip - A python newbie's best friends
Feb. 16, 2014, 9:51 a.m. by Nitin Venkatesh

Sometimes installing the specific packages and then discovering you require another set of packages for one application you're developing(or trying to develop, atleast) can all be a bit overwhelming, especially for a Python newbie. I recently discovered Virtualenv, Virtualenvwrapper and pip which have made my life much, much easier. Yes, I know these have been the Python developer's tools for ...


Accessing Bootstrap docs offline + Installing Jekyll on Ubuntu 13.10
Feb. 1, 2014, 9:52 a.m. by Nitin Venkatesh

Yesterday night, my internet crapped out on me and I was offline the whole night without any access to the Bootstrap documentation online. It's easy if you Jekyll installed on your machine properly, so let's deal with installing it on Ubuntu 13.10 first. Installing Jekyll on Ubuntu 13.10: The jekyll package present by default in the Ubuntu repositories is a ...


Raring Ringtail reaches end of support today
Jan. 27, 2014, 9:13 a.m. by Nitin Venkatesh

Just a heads up to those of you running Ubuntu 13.04, Raring Ringtail - no more software and security upgrades. Ringtail officially reaches end of support today. So please consider upgrading to Ubuntu 13.10, Saucy Salamander or patiently wait for Ubuntu 14.04 - Trusty Tahr (which has just reached it's Alpha 2 milestone and soon will be available in Beta). ...


Understanding Looping
Jan. 5, 2014, 12:09 a.m. by Nitin Venkatesh

What is a loop? A loop is a control structure that allows for a piece of code to be repeated continually. In other words, the piece of code present inside a loop is executed until a preset condition is not met. For example, let's write an algorithm for a cookie monster: until no cookie in jar: eat cookie; The first ...


Mounting bin and iso files in Linux
Jan. 5, 2014, 12:01 a.m. by Nitin Venkatesh

If you've encountered a .bin file and were wondering how to mount it on a Linux box, the iat tool is the answer you've been waiting for. (It's been around for a long time, but hey! You only look for something if you need it and that's why I am writing this post now :P ) Converting from .bin to ...


Reading EPUB files without an EPUB reader
Nov. 18, 2013, 12:17 p.m. by Nitin Venkatesh

If you're ever stuck on a computer that has no EPUB reader but you need to read one, you don't need to worry about downloading an EPUB reader. What you should realise is that EPUB is just compressed archive of HTML files. So uncompressing it, reveals it's contents and you can read them with any web-browser. Here's an example. I'll ...


Receiving files via Bluetooth on Ubuntu
Oct. 12, 2013, 4:26 a.m. by Nitin Venkatesh

You are able to transfer files from your computer to your mobile device using bluetooth, but are unable to do it the other way around (Mobile device to computer), you get a "Unable to Connect" or "File sending failed" or some other similar error message and you are puzzled. Well, the solution is as simple as tweaking a single setting ...


Newer → ← Older

I read, write, code and teach