load_image_assets.rb
April 19th, 2007
Bulk loading image assets into mephisto. Fill out the $sites config hash and some other params near the top, and change the article.body assignment near the bottom if you want. This is just a quick hack, and could use generalization (and perhaps migration into a rake file as I originally intended), but it works as a stop-gap for me. Let me know if it's useful.
Requires:
require 'find'
require 'ftools'
require 'rubygems'
require 'image_science'
require 'active_record'
require 'exifr'
SaferCGI
August 15th, 2005
Small wrapper to CGI.pm to encourage the use of scrubbing input variables. SaferCGI.pm
libmacho
August 15th, 2005
libppcdasm
August 15th, 2005
PowerPC disassembler library. Still needs work:
- validation
- double-word rotate simplified mnemonics
- altivec
libds
August 14th, 2005
Data Structures library. The one that just keep growing and growing … Currently implementations are in C, I’ve ported to C++/Objective-C/Ruby/Perl, hopefully get all of them there eventually. Documentation in doxygen.
Currently implemented:
- bitstring
- dequeue
- list
- queue
- ringbuf
- sequential-strage list (dynarray)
- stack
- heap
- priority queue
- avl tree
- binary search tree
- digital search tree
- splay tree
- treap
In progress:
- binary queue
- b tree
- b+ tree
- patricia tree
- red-black tree
- trie
- static hash
- dynamic hash table (single hasgin, double hashing ordered probing, chaining, quadratic, …)
- n-trix (n-ary matrix)
- tri-trix (n-ary triangular matrix)
(Not-there-yet)
DBObject
August 14th, 2005
Simple class for (hopefully) conveniently implementing perl DBI wrappers. Not performance oriented, but ease-of-use. Define the table’s schema as documented in the DBObject perldoc, nad you’re ready to go.
Retrofit
July 19th, 2005
Code section is down for now. Still recovering cvs trees from drive crash.