Systeme D - code snippets
Name Last modified Size Description
Parent Directory 02-Feb-2010 23:56 -
BusinessConnector.pm..> 03-Jun-2008 22:58 13k
Obex.pm.txt 03-Jun-2008 22:52 10k
ai2ming.pl.txt 03-Jun-2008 22:52 7k
amfdata.actually_php 03-Jun-2008 21:56 6k
convert-wps.cgi.txt 03-Jun-2008 21:53 3k
dashedline.as 05-Feb-2009 20:18 1k
eple.pl.txt 03-Jun-2008 23:08 6k
obextest.pl.txt 03-Jun-2008 22:52 1k
openwysiwyg_tables.zip 12-May-2009 18:48 53k
readfaredata.pl.txt 03-Jun-2008 23:02 1k
readrefdata.pl.txt 03-Jun-2008 23:02 1k
tridion_recurse.pl.txt 03-Jun-2008 22:58 2k
All code is public domain unless otherwise stated. .txt extensions etc. are because my webhost automatically blocks viewing of .pl and similar files. You'll need to remove them before use. Set your tab width to 4 to make any sense of these files. None of this code is production-quality - options, filepaths etc. are typically hard-coded, so you'll need to edit the files to suit your needs. ai2ming.pl Convert an Adobe Illustrator v3/v6 file to a set of Perl/Ming primitives. Useful for icon design etc. in Ming applications. amfdata.php An improved version of Musicman's original PHP AMF code, modified to cope with batched packets and MixedArrays - i.e. enough to claim to support AMF0 fully. There are plenty of AMF libraries around, of course, but this one is very "light". (GPL.) BusinessConnector.pm A slightly modified version of Toby Corkindale's Perl interface to the Tridion Business Connector, to support Tridion's Publish and GetListItems actions. See tridion_recurse.pl for a very useful recursive download/publish tool making use of these features. (GPL/Artistic.) convert-wps.cgi Convert a Microsoft Works .wps file to plain text. This version is designed to run as a simple webapp but it can be trivially hacked to run locally. eple.pl Create an Amstrad CPC .DSK image from a set of local files. Obex.pm Perl implementation of the Obex (ObjectExchange) protocol, used for communication with mobile phones. Put in an IO directory so you can 'use IO::Obex.pm'. See obextest.pl for an example. openwysiwyg_tables.zip Improved table-handling for the OpenWYSIWYG rich-text editor (www.openwebware.com). Files should be replaced over an existing OpenWYSIWYG install. Improvements include a new 'Modify Table' contextual menu command and fixes to table highlighting. (LGPL.) readfaredata.pl/readrefdata.pl A little never-completed hacking I did on the accidentally leaked Avantix railway fare database. Some other code I've released: http://svn.openstreetmap.org/applications/editors/potlatch/ Potlatch OpenStreetMap editor - includes some generic Actionscript UI code (pull-down menus, etc.) http://search.cpan.org/dist/Imager/samples/quad_to_square.pl An application of the Perl Imager library to transform an arbitrary quadrilateral to a square - useful for rectifying maps! http://wiki.openstreetmap.org/index.php/Exporting_to_Adobe_Illustrator http://wiki.openstreetmap.org/index.php/OSM_Map_On_Garmin/Cycle_map Miscellaneous OpenStreetMap export scripts.