Soren’s CS Lab Scripts
This repository lives in
~bjornsta/bin on the St. Olaf users directory. Anyone with lab access can copy or run scripts directly from that directory (just do
- cs241_setup: Bash version of the csh script for Hardware Design. (If you’re not sure what that is, you don’t need it.)
- fix_lockfiles: Delete old Firefox lockfiles preventing Firefox from opening without having to remember the directories or commands. Just run the script and try again.
- print_rns202: Works on Linux and will probably work on OS X. Copy this script onto your personal machine and set the
SSHTOvariable at the top of the file to the string you use to ssh to a CS lab computer (e.g.,
email@example.com). You can now use
print\_rns202 filenameto print a file directly to the CS lab printer from your personal machine.
- timer_table: For Algorithms, try running several executables with various input sizes and keep track of the number of cycles they take to run. See
timer_table --helpfor further information.
- warn_quota: Check to make sure you aren’t approaching your quota. The best way to use this is to put it in your
~/.bashrcso that it runs the check every time you open a terminal. (If you’re not close to your quota, there is no output at all, so it won’t be annoying.) You can just place
~bjornsta/bin/warn_quotaat the end of the file to start using it.
(Some of these scripts were renamed when I cleaned this up for StoDevX; all of those that I think other people were using have had aliases and warning messages added.)
Send bug reports or questions to