User Tools

Site Tools


index

WhoopDeDo.org

If you’re looking for The Dromesday Book, the URL has changed to http://dromed.whoopdedo.org/. Please update your bookmarks.

About This Wiki

This wiki operates using a modified version of DokuWiki. The patches are relative to the “Angua” release.

Programming Work

DokuWiki Indexer Improvement Task

A rewrite of the DokuWiki search index. The primary goal was to make it faster. A secondary goal was to make the indexer extensible.

DokuWiki Plugins

Image Map Plugin. Create client-side image maps.

Emoji substitution plugin. Use emoji instead of DokuWiki’s traditional smileys.

PHP Profiling

Comparison of String Replacement Functions. To summarize, use strtr when the lengths of the old and new substrings are the same. Use str_replace when the length changes. Never use preg_replace if there is no pattern matching.

Lua Code samples

Finalizers. This pure Lua module lets you call a function when exiting a call. Useful for RAII among other things.

Nil as Lvalue. Makes the symbol nil a valid l-value. Expressions assigned to nil will be discarded.

Expression History. Fixes the history of the Lua interpreter to save what you really typed.

index.txt · Last modified: 2015/05/19 17:49 by ptbrown