Muffinresearch Labs by Stuart Colville

Minor CSS Reboot | Comments (0)

Posted in Muffin Research Labs on 1st November 2005, 1:51 am by Stuart

Ever since the May 1st Reboot I’ve wanted to change quite a lot about my site. This version has seen those changes implemented.

Though at first it looks like not much has happened visually, quite a lot of changes have taken place in this revision. To make the most of the screen size I have used floated columns which drop down as the size of the screen is reduced. To make sure the columns do not drop under the primary content I have used a wrapper div with a left margin.

Big chunks of the mark-up were ripped out and replaced with more meaningful and semantic code, at the same time I also amended the styles for the posts and comments to lose the boxy feel I had created for the previous version. The result is a smoother combination of colours and fonts. Gravatar support has now been added too.

On the backend I have switched to funky caching. When a request is made for a page if it doesn’t exist a custom 404 script looks in the database to see if it should exist. If a url matches in the database then the page is written out and displayed to the client at the same time. This means should I wish to change the templates all I have to is delete all of the archives.

The archives work in a similar way with custom scripts (instead of mod_rewrite) to provide results for urls based on category or date.

I have carried out a major revision of what used to be my projects pages and re-organised the content. I’m hoping to be able to spend more time providing quality in-depth content in the future to add to what’s there already.

If you have any comments or suggestions please let me know.

Please do get over to the CSS reboot site and check out the other amazing designs

Post Tools

Comments: Add yours







XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>



GNU screen: open tab in current working directory|(1)

A nice trick for having screen open a new tab in the same directory as the one you’re currently in. To use it add it to your .screenrc

# Open new window in current dir.
bind c stuff "screen -X chdir \$PWD;screen^M"
bind ^c stuff "screen -X chdir \$PWD;screen^M"

Hat tip: mteckert on SuperUser.com

Ubuntu: add-apt-repository: command not found|(2)

When you’re using a minimal Ubuntu install if you find the ‘add-apt-repository’ command is missing (it’s useful for adding PPAs and other repositories), then simply run:

sudo apt-get install python-software-properties

Photos on Flickr

© Copyright 2004-12 Stuart Colville, all rights reserved. May contain traces of Muffin. Powered by WordPress. Hosting by Slicehost.com This page was baked in 0.494s.