College Resource and Instructor Support Program


- CRISP Home
- Join Us
- Syllabi
- Learning Resources
- Links
- Contribute
- Contact Us
- Sun Student Developer Program

North Lake College Resources

Here are some things our students find handy.
They are in four different formats, Star Office, ASCII text, HTML, and even in Word 97...


Content Star Office ASCII Text Word 97 HTML
Printf Primer printf.sdw printf.txt printf.doc printf.html  
Redirection revealed redirct.sdw redirct.txt redirct.doc redirct.html
Regular expressions reguexpr.sdw reguexpr.txt reguexpr.doc reguexpr.html  
The ed editor ed.sdw ed.txt ed.doc ed.html
Base Conversion (2, 8, 10, 16) convert.sdw not available convert.doc convert.html

The HTML conversion document above has a link to a JavaScript based quiz on conversions and addition in different bases. This script was created with a really interesting JavaScript quiz creation Wizard called: jqwiz. If you are looking for a useful tool to create online testing, this just might be what you are looking for. Use this link, if you want to take the quiz! The quiz and the whole package to implement it on your site is available here. If you have questions or comments, please contact the management.

In addition to the student materials listed above, there are also a pair of scripts that we find useful for setting up and "putting away" student accounts on a Linux box. We also have a version for Sun OS.
The script to create student accounts, creates different user IDs depending on the semester, and the time of day. That way each class is in a different group.
add_user_l.sh -- Linux version
add_user_c.sh -- Sun OS version

In either case, also download:
add_user.gawk The required gawk file.

This script takes as input a file, the first line of the file is the semester and time, (documented within the script), and the rest of the lines are the student names, one per line, in First Name Last Name order. The script will create 3 character user IDs, of the form:
FLn
where F is the students first initial, L is the last initial and "n" is the number indicating the semester and time of day.
The script to flush the users also tars and compresses all of their files, (so you can recreate a student's work later if you need to), and is available from:
flush_user_tar.sh -- Linux version
flush_user_tar2.sh -- Sun OS version

This script takes as input a list, one per line, of user IDs to flush. It then tars, compresses, and stores the tar files in a specific directory. Since this script is set up for the NLC machine, you will need to change the path to point to your machine.
Now that they are "public", I will be cleaning them up. Look for new versions in the near future, but this can get you started.
Enjoy.

In addition, here is a little awk script, written by Ken Frazer, to help you build text documents for posting here. The problem with converting a StarOffice document to text format is that the lines are often too long and it is a pain to manually insert new lines. Ken's script will insert newlines into the lines, on word boundaries, at the line length you specify. (It defaults to 50 bytes). To use it do the following:
cat longfile | awk -f wrapline.awk 55 > fixedfile
(This will break the lines in longfile at or before byte 55 and store the modified lines in the file fixedfile.)
You can download the
wrapline.awk
script and use it on your box to "fix" the files. Thanks to Ken!

In as well as the great awk script, Ken has also given us three of his lecture presentations/notes. They are presented here in StarImpress, (sdd), Adobe (pdf) and powerpoint (ppt) formats.
Introduction to awk intro_to_awk.sdd intro_to_awk.pdf intro_to_awk.ppt
Introduction to sed intro_to_sed.sdd intro_to_sed.pdf intro_to_sed.ppt
Regular Expressions reg_exp.sdd reg_exp.pdf reg_exp.ppt


Another North Lake instructor, Brian Koontz, has created some class notes notes for his students, this list will grow, week by week, so check back and see what Brian and his class are up to.
These notes should follow along with the Nroth Lake College 1480 syallabus.

Suggestions, comments, ideas, please contact the management. We value your input!


  College Resource and Instructor Support Program (CRISP):
 SyllabiLearning ResourcesLinksJoin UsContact Us