Nitin Venkatesh
Last seen 3 days, 10 hours ago

Location: Chennai, India

Writing Tools for the Modern Writer
1 week, 6 days ago by Nitin Venkatesh

There are quite a few tools dedicated for writing out there. But I was looking for something that supported Markdown, version control and sharing capabilities. I've rounded up the three services I liked most (and which I use for different scenarios - writing short documents, blog posts and a novel). So here they are (not ordered by ranking): Typewrite Draft ...

Free Book Sources
2 weeks, 6 days ago by Nitin Venkatesh

Here's a roundup of a few sites that offer a plethora of books and texts for your reading pleasure. For those of you with no time on your hands, here's the list: Project Gutenberg / Open Library WikiBooks Oreilly's OpenBook Goodreads ManyBooks Feedbooks Free Programming books on GitHub 1. Project Gutenberg Project Gutenberg is one of the biggest and ...

Squashing git commits with interactive rebase
3 weeks, 5 days ago 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
1 month ago 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
1 month, 1 week ago 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
1 month, 2 weeks ago 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
2 months ago 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
2 months, 1 week ago 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
2 months, 3 weeks ago 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
2 months, 3 weeks ago 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
3 months, 2 weeks ago 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
3 months, 2 weeks ago 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 ...

← Older

An official 2buntu admin, fascinated with System Administration, dabble with programming and writing on the side.