Geek
- (updated on 02/13/2010) A bash script to compile sohu book pages into a plain txt file. here.
- (updated on 12/09/2008) A bash script for converting wma files into mp3 files. It calls, from command line, mplayer and lame, both of which can be installed from fink or macports. If you have MPlayer OSX or MPlayer OSX Extended installed, simply make a symbolic link of binary mplayer in some directory in PATH. An example would be
$ sudo ln -s /Applications/MPlayer\ OSX\ Extended.app/Contents/Resources/ External_Binaries/mplayer.app/Contents/MacOS/mplayer /usr/local/bin - (updated on 10/05/2008) A bash script for calculating relative path of a file from a given dir.
- (updated on 09/08/2008) Two bash scripts for exporting emacs planner mode to-do lists as ics files and importing them into Apple iCal. ep2ical and ep2ical.awk deal with the export and icsimpt deals with the import. This is an exercise to use Applescript GUI scripting.
- (updated on 09/01/2008) A bash script for downloading wikipedia‘s Photo of the Day. Here is the script. It uses this sed script and this awk script. The script is only a showcase of the cumbersomeness of long bash script, not recommended for use. An example:
$ picwikipedia 2008 07
- (updated on 07/13/2008) National Geographic website offers really beautiful photo as wallpaper everyday. Here is a shell script for downloading the photo. You only need to specify a date (for example 20080101) to it. The script is only a showcase of the cumbersomeness of long bash script, not recommended for use.
- (updated on 07/13/2008) mldonkey is a nice p2p client for Mac OS (actually it supports almost all platforms) users, especially those who love neat, clean and efficient command line apps. Under Mac OS X Leopard, you can use launchd to load mldonkey everytime your system boots. Here is a simple plist file for showcase of launchd. You can download it, edit (must!) it and put it in your ~/Library/LaunchAgents/ folder. Note: the plist file assume you put the mldonkey folder under ~/opt folder.
Non-Geek
- (updated on 05/01/2010) We build a database of the retweet time series for over 1000 tweets posted in late April 2010. Here is a compiled pdf file containing the retweet paths for nearly 900 tweets. The graphs are interesting!
- (updated on 02/05/2009) Here is a sample XeLaTeX source file. The engine XeTeX is a great new way to access system fonts.
- (updated on 07/13/2008) My solution for the Microeconomics comprehensive exam of June 2008 at Department of Economics, University of Texas at Austin. This document is free, unofficial and thus NOT flawless. I, the author, do not assume any legal responsibility for downloading, using and distributing this document or failing the comp by using the document. The questions can be downloaded from the here.