Installing matplotlib in user space

Problem: Need to install matplotlib in user space, because I’m going to use a HPC cluster and their version of everything is just a little out of date. Solution: svn co https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/trunk/matplotlib matplotlibcd matplotlibpython setup.py install –home=~ Now add to .bash_login the linesPYTHONPATH=’/home/kg46/lib/python/’ export PYTHONPATH And python is picking up the svn version

Spotlight : disabling and reenabling

Problem: I completely screwed up spotlight by killing the mds process AND deleting some spotlight files Solution: From here: The following commands can be used to properly enable and disable spotlight Disable:sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plistsudo launchctl unload -w /System/Library/LaunchAgents/com.apple.Spotlight.plist Enable:sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plistsudo launchctl load -w /System/Library/LaunchAgents/com.apple.Spotlight.plist

Important Bangla unicode rules

Consonant conjucts are made using hashanta 0x09cd Hashanta is generated using hashanta + zero width non joiner 0x09cd + 0x200c The zwnj is only needed if the next letter would form a conjunct. Otherwise, 0x09cd is understood to be a hashanta All indic scripts use the devnagari danda and double danda 0x0964,0x0965