Wednesday, November 11, 2009

Running a script from the regular python shell

regular python shell: execfile('myscript.py')
ipython: run myscript.py
           : run -i myscript.py (if you want the script to have access to the workspace variables)

Tuesday, November 10, 2009

Installing brian

  1. nose
  2. sympy

Comparison on neural network simulators

A tabular wiki page of GPLd or otherwise open source code that can be used to run neural network simulations.

Notable among them is Brian, which is written in Python. The venerable NEURON also has hooks into python.

Tuesday, November 3, 2009

affixa = the new gattach

gattach was a handy tool to use for webmail clients like gmail. I couldn't find it anymore, but then from this discussion I found out that gattach is now affixa.

Sunday, November 1, 2009

Form contents after a crash

Firefox crashes semi-occasionally. On the plus side, when it recovers it repopulates any form fields I have been filling out. All is not lost...

Saturday, October 31, 2009

Neurojobs and Firefox 3.5.3 on Mac

The multi select does not work, unless you use user agent switcher to pretend you are IE6

Thursday, October 29, 2009

Prevent wrapping in a div

white-space:nowrap;

Get controller name from object

 
object.class.to_s.tableize

Wednesday, October 28, 2009

Recover deleted file from previous version in SVN repository

Using subclipse:

SVN exploring -> click on history -> right click on file -> copy