My code, organized by language.
PHP
- TV Guide and
TV Search
(source:
guide,
search,
display_functions) - A TV Guide. Uses a combination of SOAP and MySQL at the backend to make a database of shows on at Conn; these files display the data. Mouse over on a show from the guide for more details, or click on it from the search page.
- Scheduler (source) - A calendar generator. Gives you a graphical view of your own schedule; take a look. This is the biggest lump of code I've written that's not a final exam.
- edit.php (source: .phps) - This lets me update my page from anywhere with a web browser. (As with qsub.php, the linked version doesn't interact with my files.) I wrote it because I was having trouble working on the site with my laptop leeching the internet off a proxy server (since I can't get ICS to share the dial-up love).
- parse.php (source: .phps) - Jon was talking about his PHP parser for BBCode-esque stuff giving him trouble interpreting something like [color:ff0000]. I built a parser designed to make that sort of thing easy.
- qsub.php (source: .phps) - My quote-submit page. The sample link does everything except actually post to the database.
- quotes.php (source: .phps) - My quotes page source.
- vote.phps - The page that does the actual vote-reading for quotes.php.
Java
- wargame.jar (readme: .txt; source: .zip, .tgz) - My Com111 final project, a very silly wargame. I compiled wargame.jar with Java 1.5.0; if you have a different version (and by now, you probably should), try compiling it from source instead.
C
- grep.exe (source: .phps, .c)
- A very basic version of grep; I wrote this when I was learning C because my laptop was still running Windows, and I kept trying to ls | grep for my files. It has almost none of grep's features, except the one where it searches stdin for argv[1].
(It doesn't even check if argc == 2. In my defense, I wrote this before learning about text-searching algorithms. Hello, O(n2)...)