JOGL Rocks!

For the past few weeks I have been thinking seriously about heading back to uni to complete my honours degree.

Currently some of the team in Computer Science at Massey have been playing with JOGL.

I had a look at it the other day but didn’t get very far. Well tonight I decided to really get my hands dirty.

And it rocks! Im currently seeing if I can convert my traffic simulator to JOGL.

Will keep this blog posted on updates.

Two domains, one site, different pages served

I am currently working on a complex website that requires two different companies on two different domains to share the same website. I have just mananged to create a piece of php code to analyse the domain name typed in and redirect to the correct section of the site for that company. Awesome!

$url = $_SERVER['HTTP_HOST'];
if(strpos( strtolower($url), "site2" )!=FALSE) {
header('location:site2/index.php');
} else {
header('location:site1/index.php');
}

It is not often that code makes me happy.

100%

I am on cloud nine (to steal a commonly used quote from my GF).

I got informed today that for one of my papers last semester I scored 100%. In other words, 15/15 for Assignment One, 15/15 for Assignment Two, 70/70 for the Exam.

I am only the second person ever in the history of the paper to do this.

Now I just have to find a way to celebrate.