Software

Everything here is freely available and copylefted with the GNU Public License


Miscellaneous

smerf
An implementation of a new image deconvolution algorithm (smear fitting), it has its own page.
extractcomment

Tries to get what a user would want to know from scripts on standard input or the command line and send it to stdout.

Used by sd2h.

Changes:

2009/12/09:
Options! Most importantly -h to HTMLize the output. Be sure to get a copy of the corresponding CSS.
-d: Turn on debugging.

sd2h

ScriptDirToHtml

Makes HTML listings and a tarball for a directory of scripts.

It depends on extractcomment and a CSS stylesheet, style.css.

Changes:

2009/12/09:

Translated from bash to python, making it 2x faster by only extracting the comments once.

The pages now use CSS (get the stylesheet above!) and both they and the tarball are more careful to exclude unwanted files.

It started as the fusion of Tomas Brunclik's d2h (Dir To Html) and extractcomment. Examples are here and here.

vcs
A command line perl wrapper for version control systems (svn, vcs, git, bzr, etc., but only tested with svn). Using it gives you a cleaner view of your code tree, helps keep your code tree clean, and makes mistakes, like forgetting to add new crucial files to the repository before checking in, more difficult.
lsrc

A perl program to show the definition of a word in a large C(++) project, and list the header file(s) responsible for its inclusion. Works even when the default include path is non-standard.

(11/16/2008) New in version 2.1:
updateusb
A short bash script to put today's work on a small removable drive. It resembles a backup script but the purpose is really to make your recently changed files portable even when there is a blackout at work.
updatetuna
A perl script for easily updating the schedule page of a talk series with emailed names, titles and/or abstracts. Obviously you would need to change it to fit your talk series, but you might find it useful as a start.
Scripts For Handling DRAO Programs
Probably only of interest to people using the DRAO Export package.
flop 1.2

A set of shell scripts for efficiently keeping two or more computers up to date with each other using a floppy, zip, or nowadays USB, drive.

It uses a timestamp directory to only copy files that are newer than what is on the recipient computer(s). The timestamp directory is updated after the files are written. Multiple volumes are easily handled, using GNU tar.

Rare and Useful Things Other People Have Written
I have not modified these very much, but they are useful, possibly used by other things on this page, and difficult to find otherwise.

LATEX helpers

lalaim
LAtex LAbel IMages

A perl script to create a LATEX file which will add coordinate labels to an image that needs them. Also handy for when you want a map to be labelled in the same font as the rest of your document, or when you just can't stand the font kvis uses.

It's like (and partially inspired by) the epslatex driver for gnuplot, or Xfig's .pstex, but for maps produced by an external program.

The (Plain Old) documentation is at the top of the script but otherwise it is not polished yet, because it works...i.e. it's new and I quit working on it as soon as it did what I immediately needed. The LATEX output isn't too hard to tweak, unless LATEX gives you the

! Dimension too large

error. What this means is that the numbers in the bounding box of your image are too large. LATEX can't handle bounding boxes (whose default units, BTW, are "big points" (bp), 1"/72) with lengths > 19 feet inside a picture environment, even if you are scaling it down to something smaller. Fortunately when you save the image as an encapsulated PostScript file in the GIMP, it lets you specify the size in inches or mm. Choose something < 19 feet, ideally the size you really want, and everything should work. If you need to scale it further, do so as normal in \includegraphics, and then adjust \unitlength to match.

gettransitions

A script I use to specify KeyJnote transitions for presentations made with beamer and LATEX. It looks for transition-specifying comments in presentation.tex and puts them in presentation.pdf.info for use by KeyJnote. This is much better than keeping track of slide numbers and maintaining presentation.pdf.info yourself.

Update (June 15, 2007): "Pino" pointed out that presentation.pdf.info can include information other than transitions, so gettransitions should not write over them. The current version now does the right thing if presentation.pdf.info is reasonably formatted.

filtlatex

A filter for running a LATEX file through a text filter while preserving the LATEX formatting, i.e. it separates the LATEX commands from the textual content, passes the textual content through the specified filter, and stitches the result with the LATEX commands.

chkref

Tries to check that all floats (figures and tables) in a LATEX file have labels, are referred to in the text (including references like Figures~\ref{fig:beginning} to \ref{fig:end}), and possibly whether the reference precedes the float. These are all style issues and therefore optional, but reviewers and referees might complain if you lose track of them.

email helpers

See also my email page.
editor

A simple script that sends its argument to emacsclient if emacsserver is running, and jed otherwise. It is most useful when the environment variable EDITOR is set to its location.

July 14, 2006: enhanced to work well in the case of editing something (i.e. mail) on a different computer than the one emacs is running on, but where both computers can see the file through a shared filesystem.

post mode
An emacs mode for composing email or Usenet messages with all the whizbang features you never knew you needed. Get it from my email page.
collofilt
Tries to make the Subject: line of a colloquium/seminar/lunch talk announcement/reminder email reasonably useful. Optimized for the NRAO/UVa astro environment circa December 2006. Get it and its accompanying procmail recipes from my email page.
splitsvn
Splits a daily digest email of svn checkins into an email for each checkin, which I find more digestible. I have no idea whether this works with non-CASA digests.
pprfilter
Cleans up and summarizes the text/plain part of Proofpoint's suspected spam reports. Get it from my email page.


Rob Reid, rreid shift-2 nrao period education without the positive ion

Last modified: Mon Feb 1 17:39:29 EST 2010 .