Category Archives: Coding

Software code that I have written, or tips for doing computery type stuff.

Screen Shot 2012-10-11 at 6.52.09 PM

If at first you don’t succeed

…copy somebody’s code. Or at least your own from the past that works. I finally got the map to work for my Exhibit exhibit. See.   First I copied the tutorial here. When that was working, I carefully copied it to the file I wanted it to be in and… nothing. Still broken. So next [...]

Screen Shot 2011-09-27 at  Sep 27 10.18.02 AM

Making SMF static

We have a few legacy forums powered by the good software SMF (SimpleMachines Forum). Like many of the WordPress installs, it’s a pain and a security risk to keep these up-to-date when they are no longer needed as content creation platforms. So, once again I need to convert a web app into static HTML pages. [...]

CSV Parser

Convert CSV file to directories

A fellow co-worker had a need to turn a CSV file into a series of directories and files where the columns of the CSV file were the directories, and the contents of the cells for each row were made into a text file and placed in the appropriate folder corresponding to the column. For example [...]

php-httpd-php

Multiple PHP Instances With One Apache

  Long-winded Introduction It took me a couple of days to figure this out due to lack of decent tutorials and not enough confidence in my Linux skills to build programs from source. I think I have the hang of it now, and write this up with the intent on providing another, or the only, [...]

Major Update to Multiple SVN WordPress Installs

It’s been a while, but I thought it important to post an update to the wpupdate program I wrote to upgrade a whole mess of WordPress installs at one time. I took a cue from the program officially sponsored by WP, but think mine is much, much better. Here are some of the features: Specify [...]

MediaWiki’s version information

I spent way too long looking for MediaWiki’s version information. Most applications store the version info in a file or in the database. MediaWiki is a HUGE mess of code and database. I finally found it in a file. It’s in includes/DefaultSettings.php and is stored as a variable – wgVersion.  This is for post 1.3.7 [...]

THAT podcast

Check out THAT podcast (THAT = The Humanities And Technology). It’s a new video pod cast put on by a couple of co-workers at CHNM. They interview someone in the technical field about software that helps those of us in the humanities. The first episode includes an interview with Matt Mullenweg, creator of WordPress (the [...]