Note to self:

We use the virtualenv version of Python whenever we need to run a Django manage.py command, to make sure we get the virtualenv version of Django, not the system one.

copy and pasted from a slack chat. Special shoutout to Anthony L. for the tip! here’s a time saver i just drummed up that’s worthy of sharing. it will be of interest to you: in your ~/.ssh/config put:

look mom, no hands! now, any time you log into an EC2 node, there’s a convenient […]

In Mac OS X Terminal I used  CTRL+R to enter a reverse history search. However, if the command I want was not found (after repeated CTRL-R), then there must be a way to immediately exit back to the (empty) command prompt. Especially, with no historical command entered. Better yet, I haven’t executed anything on the command […]

To make vim display line numbers, you need to set the number flag. To do so: Press the Esc key if you are currently in insert or append mode. Press : (the colon). The cursor should reappear at the lower left corner of the screen next to a : prompt. Enter the following command:

A column of sequential line numbers […]

It’s ugly for sure. First method has too many lines. I over commented the last 2 blocks. Hacked the last 2 method blocks and integrated with

method. The comments alone is too much.Useless ‘pp’ gem. If you are a Rubyist you already know what is going on. Ugly Ugly. Poor practices all over the […]