UNIX Shell

simpdftexnodel: A simpdftex that is compatible with Skim 0.5+ autorefreshes from disk.

Description:
The simpdftex that comes with most LaTeX distributions is not compatible with the auto-refresh features of Skim version 0.5 and up.
This simpdftexnodel (where "nodel" is short for "no delete") is compatible with Skim.

Author's Email:
ted@tedpavlic.com

Author's Full Name:
Ted Pavlic

Author's Homepage:
http://phaseportrait.blogspot.com/2007/07/skim-automatic-refreshes-and-simpdftex.html

Script File:
simpdftexnodel.gz (7.63 KB)

logging the memory for the core image of a process

Description:
This script logs the size of the core image for a process with name $1 at a sampling rate of $2 into a file $3. The file can easily be plotted with gnuplot. The command './musa job 15s log' will write the size of the core image of the process called job at 15s intervalls into the file log. It uses a bash shell and requires awk.

Author's Full Name:
Juerg Hauser

Author's Homepage:

Script File:
musa.sh.tar.gz (481 bytes)

command-line Xsan quota (script)

Description:
Xsan has no support for the OS X default command-line quota tool. There is a Xsan quota GUI tool, but for supercomputing (or other remote-only SSH access) that isn't so useful. So here's a little script that along with some crontab 'cvadmin -F -e repquota;cp .../quota_report.csv /Volumes//' can let your users see their quotas.

Author's Email:
jbooth@uiuc.edu

Author's Full Name:
Jonathan Booth

Author's Homepage:

Script File:
quota.sh.zip (2.4 KB)

Generate cvlabel label file

Description:
This little tcl script (not really unix shell, but hey you don't have a tcl category!) will take a mapping of your WWIDs for your Xserve RAIDs and human-readable names you'd like to apply to them. It will then spit out a label file that is appropriate to feed to cvlabel to label all of your luns without the hassal of using Xsan Admin and looking up each WWID as you come across it.

Author's Email:
jbooth@uiuc.edu

Author's Full Name:
Jonathan Booth

Author's Homepage:

Script File:
generate_label_file.tcl (3.96 KB)

xgridcc - Distributed Compilation with Xgrid

Description:
This script can be used to perform distributed compilation with Xgrid and gcc, much like distcc in Xcode. It is basically intended for demonstrative purposes, but could be adapted and used in a real project, and even with different compilers and programming languages (unlike distcc).
To use it, fill a directory with some source files, and pass the file names on the command line, like so

xgridcc *.c

Author's Email:
drewmccormack@mac.com

Author's Full Name:
Drew McCormack

Author's Homepage:
http://www.maniacalextent.com

Script File:
xgridcc.zip (1.06 KB)

Xgrid ADF Submission

Description:
This is a simple shell script that prepares input files for the quantum chemistry package ADF (http://www.scm.com), and submits a serial job with Xgrid. The script could also be used as a basis for writing Xgrid submission scripts for other quantum chemistry packages.

Author's Email:
drewmccormack@mac.com

Author's Full Name:
Drew McCormack

Author's Homepage:
http://www.maniacalextent.com

Script File:
xgrid_adf_submit.sh.zip (720 bytes)

Simple NCBI Data Fetching Script

Description::
This script was constructed from the simple scripting example I discussed in the automation article I wrote a while back. This script will take a list of accession numbers from a file, download the associated sequences, and create a FASTA formatted file using the fetched sequence data. This is a great learning script for someone who is new to UNIX shell scripting on OS X.

Author's Full Name:
Joel Dudley

Author's Homepage:
http://www.joeldudley.com

Script File:
ncbi_fetch.tar.gz (798 bytes)