Posts By: raja ramanathan

pipenv: Evolution of pip

pipenv is an evolution of pip designed to solve these two main problems of pip and add virtual env to it. There is no reason to continue using pip directly. Added bonus is that pycharm has built-in support for this. You can now create new project with interpreter as pipenv and plugins for Pipfile and

Read on »

What packages are installed/available in my python?

Often times, I need to know what modules are currently installed and available in my python VM. Here are two commands for this… 1. run “help(‘modules’)” within your python interpreter. This will list all the modules including the standard packages that comes with Python 2. If you need to know only the modules installed by

Read on »

Personal wiki: wikidpad

I started using wiki at work and over the years it became one of the tool that i daily use. I started to use wiki personally for myself to capture design thoughts, todos, planning items and organizing all my files (importing into wiki folder) with some context descriptions making it a mashup or portal. I

Read on »

SFTP tool for mac

I’ve been using Fugu for a while now but not happy with it. It is old but still buggy. The ui design and features are not in par with WinSCP that i use in windows environment. Was recently looking for other choices and found the following two which seems to be quite new and say

Read on »

Rock mongo

Among the list of admin guis available, i happened to pick this Rock mongo as it had many features compared to others. See below for details on installing this in ubuntu server… Pre-requisites 1. Apt-get php5, php mod lib5 for apache2. 2. Apt-get php-pear (to get PECL) and php-dev. 3. sudo pecl install phpmongo. 4.

Read on »

Installing mongodb on ubuntu server

See here for detailed instructions.The steps can be summarized at high level as below… 1. Add the 10gen server to the software repo list. 2. Add the 10gen GPG key via apt-key to trust and verify the 10gen repo server. Note: if for some reason you have firewall issues to retrieve the key then you

Read on »

Sql to Django queryset cheatsheet

Sql QuerySet Notes SELECT count(*) FROM fruit Fruits.objects.count() table count SELECT count(*) FROM fruit WHERE name=’Orange’ Fruits.objects.filter(name__exact=’Orange’).count() count with filter SELECT * FROM fruit WHERE color is NULL Fruits.objects.get(color__isnull=True) filter by null SELECT * FROM fruit WHERE color is NOT NULL Fruits.objects.get(color__isnull=False) filter by null SELECT * FROM fruit WHERE name=’Apple’ Fruits.objects.get(name__exact=’Apple’) case sensitive SELECT

Read on »