Turning in homework online


The first time you do this, create the directory that will contain all 220a homework files and be visible to the outside world.

Soundfiles are potentially large and would clog our user-space server, so we maintain a second scratch directory with ample capacity for temporary work. Don't forget to copy anything you want to keep permanently back to your home directory.

For scratch (temporary work, automatically deleted on logout) use


Your web-visible directory already exists and has the following name [note that the ~ is short hand for your home directory, ~<user> is shorthand for another user, e.g., ~cc for mine]

cd ~/Library/Web

Anything under that directory can be hyperlinked for the world. See below for creating an (optional) personal homepage.

Remember, any good stuff that's on /zap needs to be copied before logging out. For our homeworks, each homework should have its own subdirectory within your web directory's 220a subdirectory, numbered respectively with the following names: hw1, hw2, hw3, hw4, hw5, fp.

When turning in homework to one of these subdirectories create an .html file of the same name e.g. ~/Library/Web/hw1.html -- that's the page that will display from the homework factory link. The soundfile for the homework (and any associated files) should also live in the directory. Link to them in your .html file.

To check if a file is properly placed you can
(list its parameters from a terminal)

ls -ls ~/Library/Web/220a/hw1.wav

(point a web browser at)

http://ccrma.stanford.edu/~<your login>/220a/hw1.wav

Need an html editor for homework pages or a homepage? (optional)

I use LibreOffice for editing most office biz these days. It's pretty good at doing these html formats, and inserting graphics, etc.

Operation is pretty straightforward and the help menu is useful when it's not. Create a new web document and save it with the name:


(to see the results point a web browser at)

http://ccrma.stanford.edu/~<your login>

-- Chris