Muggles

I thought the author of the Harry Potter books invented the word ‘Muggle’ but I ran into it in Steinbeck’s ‘Sweet Thursday’. Couldn’t figure out what it meant though.

Multiple versions of Rails

You can have multiple versions of Rails on the same machine.You can tell your app which version of Rails to use by adjusting RAILS_GEM_VERSION in config/environment.rbYou can also freeze all the plugins etc that you use into your code tree before deployment rake rails:freeze:gems.

Installing analysis tools on a mac via commandline

ftp http://www.python.org/ftp/python/2.5.4/python-2.5.4-macosx.dmgsudo hdid python-2.5.4-macosx.dmgsudo installer -pkg /Volumes/Universal\ MacPython\ 2.5.4/MacPython.mpkg/ -target “/”sudo /Applications/MacPython\ 2.5/Update\ Shell\ Profile.command ##!!!IMPORTANT!!! ftp http://pypi.python.org/packages/2.5/s/setuptools/setuptools-0.6c9-py2.5.eggsudo sh setuptools-0.6c9-py2.5.egg ftp http://ipython.scipy.org/dist/ipython-0.9.1-py2.5.eggsudo easy_install ipython-0.9.1-py2.5.egg ftp http://r.research.att.com/gfortran-4.2.3.dmgsudo hdid gfortran-4.2.3.dmgsudo installer -pkg /Volumes/GNU\ Fortran\ 4.2.3/gfortran.pkg/ -target “/” ftp ftp://ftp.fftw.org/pub/fftw/fftw-3.2.1.tar.gztar -xvf fftw-3.2.1.tar.gzcd fftw-3.2.1./configuremake -j4sudo make install ftp http://downloads.sourceforge.net/numpy/numpy-1.2.1-py2.5-macosx10.5.dmg?use_mirror=internapsudo hdid numpy-1.2.1-py2.5-macosx10.5.dmgsudo installer -pkg /Volumes/numpy-1.2.1-py2.5-macosx10.5/numpy-1.2.1-py2.5-macosx10.5.mpkg/ -target “/” ftp http://downloads.sourceforge.net/scipy/scipy-0.7.0-py2.5-macosx10.5.dmg?use_mirror=superb-eastsudo hdid… Read More Installing analysis tools on a mac via commandline