Beware of bugs in the above code; I have only proved it correct, not tried it.
Donald E. Knuth
Here is a list of the codes I wrote for my convenience. I put all of them on github. Feel free to use them if you need.
sorting network: a LaTeX program that draws sorting networks similar to the CLRS book.
everTex: a Chrome extension that shows formulas in EverNote’s web interface. It uses MathJax to do the display, so all formulas to be rendered should be written in LaTeX syntax, surrounded by $$…$$, \[…\], or \(…\).
Update 12/19/2011: It does not work now. I guess it’s because Evernote changed its website’s code. I will try to fix the problem.