Multiviews in nginx (sorta)

I use wsvn on my svn subdomain. Nginx doesn’t have real support for this, but there is a way to sorta do this. First we set this in our / location: #Sorta emulate multiviews. set $path_info “”; if ($uri ~ “^/wsvn/(.+)$”) { set $path_info “/$1”; rewrite ^(.+)$ /wsvn.php?$1 last; } Now I just need to …

SMF poster info on right

So I am a little bored.  I decided to figure out how much css it would take to make the poster info be on the right.  Turns out, actually not that much. .poster { float: right; width: 16em; } .postarea { margin: 0 15em 0 1em; } .post, .modifybutton { clear: left; } .moderatorbar { …

$smcFunc as a static method via overloading

This was more of something I wanted to play with.  I wanted to convert $smcFunc into a method.  So for instance lets say $smcFunc[‘db_quote’]() would be smcFunc::db_quote(). This wasn’t looking good at first.  I thought I could use __construct and just intercept what is going on.  But static calls do not use __construct.  So this …

Adobe with McAfee

I have another rant.  This time it is Adobe who has ticked me off. I rarely use Firefox or any web browser on my windows machine.  Mainly it sits there and has Windows Media Center full screen so I can watch TV.  Tonight I had to use Firefox on my windows machine. Firefox prompted for …

Automating modification packaing

Packaging mods is not the funnest part of building any mod.  So why should I do it manually?  I run Mac OS X which means I have a terminal and can run commands directly to accomplish the packaging process.  I just needed to build a script.  Easy to do and now its done, so I …