sem stuff, eh?
all code posted here is free to use if you'd like, just send me a note if you use it, and make a comment in your code where you got the stuff (so you can blame the person who's really responsible, eh? ;)
web stuff
client side / javascript
- easy form validation - easy form validation using javascript and adding a
validateattribute to htmlinputfields. - cross-browser date validation - date validation in javascript
- client side includes - use jQuery to do a client-side include when server-side includes aren't available
server side - python
- file upload - use django, python's imaging library and StringIO library to load a form-submitted file, convert it, and send the converted file back to the client, without reading or writing the files to the server's disk.
server side - .net
- vb reflection ORM - a simple ORM for visual basic using .Net's reflection library
- vbjson - really simple library for building JSON data in a VB.net web application
apple stuff
applescript turns out to be pretty useful for automating mac os x (not surprising, as that's what it's meant to do). as a language though, it's kinda ridiculous. so we use appscript to link into the apple events system, effectively replacing applescript with your choice of python, ruby, or objective c.
- nocterm.rb - toggles terminal settings when activating Nocturne.
- partitioning your mac - how to create a separate partition for your /Users directory under Mac OS X
school distractions
about four years ago i attended a local community college instead of high school. i was in a lot of computer programming (visual basic, et. al.) classes, and bored most of the time. this is how i entertained myself:
- quotes database - a database of over 900 quotes
- javascript calculator - a web-based calculator written in Javascript.
- decimal-to-english - a perl script from my unfortunate stay in a visual basic class. it translates a number from decimal to english, so for the decimal number 500, it gives "five hundred". this was my first perl program. i might make a web-based interface for it someday.
these were both unfortunately lost in a hard drive mishap a few years ago, but they lived long enough to help me with my math homework.
- matrix multiplier - One of my first "useful" programs. It was written in python.
- polynomials - finding the 0's of a polynomial's graph made easy. also python.
other stuff
- ZP4-ruby - a ruby interface to ZP4 address correction software. i made this for my job at the school district a few years ago; i needed more control than the ZP4 software gave, and luckily it provided a little documentation on writing your own programs to interface with it. i have no idea if it is still compatible or if it works. please send me a note if you find it useful at all.
- dtsxml.rb - automatic code generation for several microsoft, progress, and other database tools. i recently found the notebook i took notes in while reverse-engineering several of the file formats used by some of microsoft's database tools, and might get around to updating/posting some of it around here.