Rolling in Style

written by edavis on October 13th, 2005 @ 12:20 PM

I finally got off my arse last night and started working on my own theme for Typo. It is a simple Azure mod and is now visable here.

This should buy me enough time to do some more plugins and maybe a brand new Typo theme.

Eric

Server Stats v0.2 released

written by edavis on October 8th, 2005 @ 12:53 PM

Well I am happy to announce that I am releasing version 0.2 of the server_stats sidebar plugin for Typo. You can find all the project files in the server_stats bin.

This should be considered to be alpha software. It works, I have ran it here on this site ever since I developed it but I will make no warranties as to it’s use.

UPDATE: I have checked and this runs prefectly fine of the current TRUNK (667).

README

CHANGELOG

Direct Download

Eric

Using Scripts to Automate SQL

written by edavis on October 8th, 2005 @ 11:50 AM

Well I am getting my svk setup here to do some development on a few projects and I decided to try to get some automation in the setup. Seeing as I am currently hacking on Typo, I wanted someway for me to checkout the code from svk, setup my configs, and then put some test data into the databases.

Well using bash and some nice SQL I got a single script that will grab my database.yml config and then insert all my test data into my databases.

#!/bin/bash
# Script to setup my Typo development env.

cp /Users/eric/Development/Projects/\
typo-local/config/database.yml \config/database.yml

echo "Done with Configs"

mysql -u root --password=root typo_testing \


So now for some sample SQL :

DROP TABLE IF EXISTS `settings`;
CREATE TABLE IF NOT EXISTS `settings` (
  `id` int(11) NOT NULL auto_increment,
  `name` varchar(255) default NULL,
  `value` varchar(255) default NULL,
  PRIMARY KEY  (`id`)
) TYPE=InnoDB;

So this SQL will drop the table settings and then insert the new one. This will make sure I have fresh data and works fine on all three databases (development, production, tests).

So now after I checkout and patch my next source for testing I just run

typo-setup.sh

And my databases and configs are ready to go, just fire up Webrick and go at it.

Later I will post on my new svk setup.

Eric

eXPlainPMT Guest Patch v0.0.0.0.1/2

written by edavis on October 2nd, 2005 @ 10:58 AM

I just finished working on a patch for Railfrog’s eXPlainPMT so we can have a read only guest access. It took me a bit of time but it is done…. by done I mean I have stopped to work on it today.

It is rather hackish and has 0 tests added but it provides the overall features needed. I had to touch the database, which sucks a bit but it is only one column so upgrades shouldn’t be too hard.

Well you can find it here at my dropbox

Eric

You might be a geek if...

written by edavis on October 2nd, 2005 @ 07:50 AM

…your phone’s startup screen display’s OOP code in it…

Powered by Ruby

Phone.startup.show_splash

Eric