Author: Karthic Raghupathi

Creating an Executable JAR in Intellij IDEA

I’ve been using IDEA for a while now and have been very happy with it. While Eclipse is a great free IDE, IDEA does bring a lot more to the table and is worth the price IMHO. That said, I’ve always felt that creating a JAR in IDEA is not very intuitive. Well, everything is […]

Continue Reading

Allowing Users to List Databases

I’ve been playing around with mongoDB’s v3. Before you had to create users inside every single database for restricting access. I can see various scenarios where such a model would have become a user management nightmare. In the new version, I like how we can have all users in the admin DB and can manage […]

Continue Reading

Using HttpClient (System.Net.Http) in .Net 4.0

To use HttpClient from System.Net.Http in a project targeting .Net 4.0, run the following command in the NuGet Package Manager Console:

Visit the official NuGet pages for more info about the package.

Continue Reading

Either another instance of LibreOffice is accessing your personal settings or your personal settings are locked.

With error messages like that, you can forget getting my mom to use LibreOffice :). That said, I’m not my mom and LibreOffice is the best free alternative to MS Office IMHO so I should not really complain! This all started when I tried to open a 200+ MB CSV file on my Mac. I […]

Continue Reading

Django REST Framework: ‘module’ object is not callable

This post is more of a note to myself, but, I’m throwing it up here as a benefit to myself and my brethren who end up making the same mistake. If you ever encounter an error that reads: ‘module’ object is not callable, while using the reverse() function, you are using the wrong import! Wrong: […]

Continue Reading

Serving Django Admin over HTTPS behind a Nginx Proxy

I was deploying my first Django application today on a production server. Nginx is the proxy server and gunicorn is the WSGI web server. Supervisor is being used to ensure the gunicorn workers are always re-spawned if they die. The firewall is setup to only allow HTTPS connections. After a lot of tweaking the settings, […]

Continue Reading

Force Timezone in Javascript Date

So I was working on a project for which I needed to force the Eastern timezone while displaying dates. Though not relevant to the post, I thought I need to share a few words about the method I chose to accomplish the task. I discovered prototype object (not the framework) today. (You are welcome to […]

Continue Reading

Shell Script Converting WAV files to MP3 files using SoX

Here is the script to convert a WAV file to a MP3 file quickly. This is my first foray into the world of shell scripts and I quite enjoyed it.

Cheers and stay classy!

Continue Reading

Squirrel SQL, jTDS and Windows Authentication (SSO) for Microsoft SQL Server

If you are like me and you hate spinning up a virtual machine every time you need to run a few simple queries in MS SQL Server, you have reached the right place. Read on to find out how to setup up SQuirreL (a universal SQL client) to connect to MS SQL Server via Windows […]

Continue Reading

You have to install development tools first.

It appears, at first, to be a very dignified error message, very poised in telling you what exactly needs to happen and here you are thinking, oh look, it tells me what I have to do. Don’t let that fool you, I spent the better part of a evening trying to get past the above […]

Continue Reading