Random Stuff
Wednesday, September 30, 2009
Sharing the Mac Clipboard with Emacs
›
From Doug: original post Add the following lines to your .emacs or .emacs.d/init.el file to share the OS X clipboard with emacs. From emacs ...
Sunday, September 27, 2009
Install java script mode in emacs
›
From the terminal wget http://code.google.com/p/js2-mode/wiki/InstallationInstructions mv js2-20090723b.el ~/.emacs.d/lisp (js2-20090723b.e...
remove duplicates from iTunes Music folder
›
Use fdupes In the terminal: sudo port install fdupes cd ~/Music/iTunes/iTunes Music fdupes -rf Music/ | tee duplicates.txt (-r flag recursiv...
Thursday, August 20, 2009
Change dark blue directory color in Terminal 10.5 Leopard
›
The following will rid your Terminal of blue directory listings: 1. Add the following to ~/.profile : alias ls='/bin/ls -G' export L...
Wednesday, August 19, 2009
Install RPy 1.0.3 with R 2.9
›
Substitute line 77 of src/RPy.h #include /* must follow Graphics.h */ with #include /* must follow Graphics.h */ it builds and seems to wo...
Saturday, March 28, 2009
How to publish python code in blogger
›
Thanks to Paddy . import fileinput, re, cgi def escape(lineiterator=fileinput.input, cgi_escape=True, tag_with_pre=True, tag_with...
Access PFAM domains from UniProt accessions using python
›
import xml.dom.minidom as minidom def getPFamAnnotationByAcc(acc): res_list = [] slurpp = pycurl.Curl() slurpp.setopt(pycurl.URL...
Home
View web version