Scripts and open source projects

Scripts for academics (Latex, grading, etc.).

mkbooklet.pl Perl scripts to make any PDF/PS file into a "booklet" for eco-friendly printing. You can print up to 4 pages per sheet (2 pages per side) and still get very readable output.
pscenter.pl
tex_autoclose.vim Vim TeX/LaTeX ftplugin to automatically close environments.
tex.vim A few settings that make life easier when using Latex + Vim. Pressing Ctrl-K runs latex, and puts the errors in the quickfix window. Pressing F9 opens xdvi showing the location of the cursor. And finally some spelling / abbreviation settings that you might not find useful. Put this file in ~/.vim/after/ftplugin/tex.vim.
hwaverage A Gnumeric/Python script to compute homework averages. When grading, I usually have a spreadsheet with homework scores in a row, and the totals in a different row. This script computes the percentage average of all homeworks, optionally dropping the lowest N (percentage) scores.
gpa A Gnumeric/Python script to compute grades / normalise scores. This can compute letter grades, based on given cutoffs. More importantly, say you have 2 exams each worth 50% of the total grade. Directly adding the scores from each of these exams will not be a correct indication of the students grade (esp. if one exam was a lot harder than the other). This becomes apparent if for instance you have three exams, and only count the better two. The correct way to compute the final grade would be to normalise the scores to be on the same scale (using an interpolant via quartiles/deciles, or specified grade cutoffs) and then average. This script has functions for this. The help should be visible within Gnumeric.
subargs.pl Perl script to substitute arguments -- it executes a given command substituting %n with field values from a given file. (I guess you can use awk/sed directly instead.) I usually use this to send mails to students with their individual grades: E.g. subargs -i scores.csv -C mail-scores.subargs

General Linux applications / scripts

mrxvt A light and fast vt100 terminal emulator, with tabs and transparency.
--funroll-slideshow A perl HTML slide show generator.
xNots Desktop post-it notes for the Linux geek. There is no friendly "menu" interface. Everything is customizable through plain text files.
qTransApp A Qt class for root transparent applications.
xterm16.vim An adjustable low-contrast color scheme for Vim that lets you get transparency (under mrxvt), and identical colors in the GUI and console versions of Vim.

Miscellaneous

hp2710p/ Installing Linux on the HP 2710p (convertible tablet).
Questions? Comments? Send me hate mail? . Public Key DB04C471

Firefox Vim Logo LaTeX Logo Linux Logo
Stanford University University of Chicago St. Xaviers College Rishi Valley School

And did they get you trade your heroes for ghosts?
Hot ashes for trees? Hot air for a cool breeze?
Cold comfort for change? And did you exchange
a walk on part in the war for a lead role in a cage?

Last Modified: Wed 25 Mar 2009 11:38:29 AM PDT