Archive for the ‘site’ Category

Finally an update!

Friday, June 8th, 2007

I have been busy with work and other things and sport and cars and etc. well have actually been busy with work and thats about that :) , but anyway… I found a theme called sandbox the other day, as you can see it was not the design of it that impressed me but rather how it have “tagged” its html elements. Uses a better imo way of giving class & id attribute names than the original theme of wordpress making the progess of writing my own css for this theme so much easier.

I will work on the new looks & feels of this site this weekend, also got my hands in some nice 3d rendering program called cinema 4d, also looks forward at having a go on that while I am at it.

MySQL best practices by Jay Pipes

Wednesday, April 11th, 2007

When you work with PHP, you will surely have worked with MySQL also. I really like the MySQL DBMS, it is easy to work with, any question you have you can find the answer in the manual. But ofcourse not everything is nice about it, when working with load intensive systems, You might need to improve the speed of your queries.

If you want to know how to do these things perhaps looking at this video can help you.

Or if you rather want to read some thing similar go to 10 tips for optimizing mysql queries or a critic of the previous article 10 Tips for Optimizing MySQL Queries (That don’t suck), I would advise you to read the later of them as it has some more usefull advise compared to the first one. But as always, I will let you be the judge of that.

Harddrive malfunction

Monday, April 9th, 2007

Just yesterday my main harddrive in my stationary computer malfunctioned, so i lost around 300gb of date. and ofcourse everything of importance was on that drive. everything from personal document, cryptology keys for the netbank, music and the likes. I am currently looking into building some small raid system proberly 2×40-60gb ATA drives but if you got any advice on the matter please feel free to leave me a comment.

Meta Keyword Generator

Thursday, April 5th, 2007

Ever found your self sitting and trying to decide which meta keywords to put on your site. waste no more time on it! let the meta keyword generator do the boring job for you! Max was messing around with a plugin created by ludovic at http://lbcd78.fr that generated keywords based on the current pages title and content. I like the idea, it is easy to understand, quick to install and works like a charm. except his plugin was in his native tongue, french. Max had found an exclusion word list on the net, words that should be ignored, but it did still create alot of errors.

After looking through the code I decided to start from scratch using the old script as a base to work on and after a few hours I came up with this little nifty script.

  1. Copy the sourcecode into a new file called mkg.php
  2. Activate the plugin, go to Options > Meta Keyword Generator and tweak it to fit your requirements
  3. Insert the following line of code in your templates header file, proberly called header.php

<meta name="keywords" content="<?php mkg(); ?>" />

I have created a highlighted version of the source instead of updating and maintaining a zip archive. It can now be found right here

Blog Launched

Tuesday, April 3rd, 2007

So i finally settled on which system I wanted to use for my personal webpage. I have been through quite a few with the bests being Drupal, MODx and of course my final choice wordpress. The reasons why I choose wordpress is very simple, it is the best in what it does, it have a great community and is expanded every day, it is highly modifiable and I have worked with its underlying code before, helping out my very good mate, maxt.dk, when ever he seem to have hit a brick wall in his php coding.

It is currently easter and that gives me a few days to create a new, original and exciting theme for my personal blog. It should have a few unique key elements, that defines who I am and what I like to do. These “features” could perhaps be a random computer related quote, an array of images of me or things i like. These is of course not the only elements I have in mind. Site will contain 4 specific pages which are a Blog, About, Projects and Contact page. More on all of this later when I know more about what will be posted on this page.