sym's blog

T-Shirt request

I would love a T-Shirt that says:

“Pareidolia is in the eyes of the beholder”

I’m not sure I’d ever wear it though.

There's a change in the weather

For there’s a change in the weather
There’s a change in the sea
So from now on there’ll be in change in me
My walk will be different, my talk and my name
Nothin’ about me is going to be the same
I’m goin’ to change my wayof livin’
If that ain’t enough
Then I’ll change the way that I strut my stuff

CSS Super selectors

Something I would find useful for CSS in the future. Maybe in version 4 (due some time in 2100?).

#content { p { color:#999999; } a { text-decoration:none; color:#333333; } a:hover { text-decoration:underline color:#666666; } }

In other words, CSS super classes / IDs. This would be really good for situations when you have a load of definitions that all target the same ID or class at the root (like the #content ID above). This could be extended to include files:

Frosty morning

The photos aren’t the best, but this was the view from my front door at about 7.20 this morning :)

frosty morning

frosty morning - sunrise

Root path based CSS in drupal

Sometimes I have wanted to make some simple changes to a drupal theme based on the current root path. The sections module does this, but I wanted a simpler way of changing elements in the CSS based on the current root path.

function _phptemplate_variables($hook, $vars = array()) { switch ($hook) { case 'page': if (module_exists('path')) { $alias = drupal_get_path_alias($_GET['q']); if ($alias != $_GET['q']) { foreach (explode('/', $alias) as $path_part) { $classes[] = $path_part; } }

New Hudson bike

I got this New Husdon bike the other day, it’s in a bad way but I want to try and restore it. I think I’ll need to rechrome the handle bars and other chromed parts; they are very rusty. I’ll respray the black after sanding it all down - it should be a fun project!

Porridge

I love porridge. Who doesn’t? I don’t think there is a better breakfast on a cold winters morning. It turns out that my MP, Richard Bacon loves it too. He loves it so much that he started talking about it in Parliament yesterday. So thoughtful is this man, that he wants to make sure that our beloved criminals get the chance to enjoy the golden syrup topped food for breakfast every day.

Polar Bears for Christmas

Today Jo and I went in to Newbury to go and see an exhibition on at the Corn exchange called “The Best of Newbury”. It’s basically a collection of photos of local people who are well known in the community.

As I’m quite new here I didn’t know many of the people, but there were a few including David Rendel. It seems like quite a good idea, although I wouldn’t want to decide who is ‘important’ enough to get in the gallery!

Syndicate content