Datamassage Open Code
Datamassage has been developing software for several years. A lot of this has been inspired by the work of the Free Software Foundation, linux, gnu, etc.
I'm now in the position of wanting to offer some things back to this community of open source/free software developers. As time goes by I'll be releasing more little tools and projects that we've made over the years. Most of it has been pretty useful, to me at least. Hopefully you'll think so too.
- patch to Thumbindex
- A cool little utility that I wrote over 3 years ago and have been using and tweaking ever since. Given a web page that has several other resources of a certain file type, grab will download all those files, and create a little index page for them. Here is the code.
grab [-e extension] [-i] [-r range] URL [directory to put files]
extension is the filename extension of the files you're grabbing. default is jpg or jpeg.
-i will prevent the generation of an index page.
range is is a range of numbers to put at the end of each url grabbed. if you use -r you must give the base url instead of the url of a page. This would be if you know that a certain directory contains a range of numbered files, like
foo.com/bar/photo1.jpg .... foo.com/bar/photo9.jpg.
directory will be created if it does not already exist. (optional, will place files in current directory if not given.)
- A CGI script that converts text to the colorful linenoise-like patois common amongst script kiddies and other net "elite"...
- This is for transferring bug reports from a Bugzilla system to a Sourceforge system. I'm not sure how often anyone will really need to do this, but it seems like it might be useful to somebody, so here it is. Note that the database mappings
from one system to another are fairly complicated. obviously, since Bugzilla
keeps track of a lot more data than SourceForge (Alexandria), some stuff will be lost. the only field that didn't directly map that I cared about was "severity", and i added that into the bug description (details). You may want to also do that with
other things that sourceforge has no fields for, like "platform", "version", "product", etc. The possibilities are many, but hopefully this gets you started.
here's the code.
- More coming soon....
- Remember the travesty script in the 2nd edition of Programming Perl? I've made a perl module out of it.
back to Datamassage front page
last updated Thu Dec 20 09:41:03 PST 2001