Archives:
February 2009

Operator precedence – what does (i=1)*i-- - --i*(i=-3)*i++ + ++i equal and why?

I was looking at some code from a number of years ago and was horrified by the amount of ‘clever code’ in there. After decoding it, I immediately rewrote it. Then I set myself a challenge. Write the dirtiest expression ever to besmirch a hard-drive, then decode it in a blog post. I present to you with the fruit of my labour.

Exactly how to use CSS sprites

In what appears to be an unintentional reoccurring theme, I have found a video tutorial from Nettuts which should help to explain a bit more. I’m not usually one for screencasts, but as we’re all a bit different, you might find them useful, so enjoy!

How to stop pesky spam by blocking IP addresses from visiting your blog

I had a lot of spam from a particular IP *cough* 194.8.75.149 *cough* so I wanted to stop access to the site from the IP. Using only 3 lines in my htaccess file, I managed to cut down my spam by 4 an hour!

The H1 debate

Very interesting debate – should you use the h1 tag for logos on your page, or exclusively for the main title of your page? You can vote using twitter, which is very cool. Oh, by the way, I went for #h1logo.

15 jQuery Plugins to Fix and Beautify Browser Issues

As the title suggests, this page has links to 15 jQuery plugins to help out with cross-browser issues. Including rounded corners in our friend Internet Explorer, avoiding CSS hacks (which is something close to my heart) and vertically centreing elements.

Me on the intertubes

It wouldn't be right to have a web site, be a nerd, and not take this opportunity for a bit of shameless pluggery.

If you like all these weird and magic internet page things, you should try Coaster Nerd, Oxford Bloggers or, if you'd really like some unexplainable sourcery, is it the weekend yet.

Also you should follow me on Twitter ;)

Where to find me

I can be found fairly regularly at Oxford Geek Nights, OxTuttle and other general nerding out activities in and around Oxford.

I am also often found in my natural habitat which is anywhere that you can find an adreneline machine. I frequent English theme parks more often than is healthy, and take trips abroad to sample foreign rides.

From the aviary

Was having a decidedly crap day of development. Just got much better. It's nice when things go your way. #win 1 day ago

Subscribe

Slightlymore Posts RSS feed

Comedy disclaimer

These posts were written at the time of writing and may not still be accurate or reflect my opinions any more. In fact, they may not even be correct or representative at the time of writing. You see, when I write, I just write. I don't do that thing which they always told you to do at school and plan what you want to write first. Because of this, there will almost certainly be a load of typos, grammar errors and incorrect facts and references. If this makes you feel queasy, I apologise that you had to get to the bottom of the page to read this, and hope that some day, you'll learn to forgive me.

What's this site?

Slightlymore started off all too formally for my liking. In the depths of the archives, you'll find tutorials. However if you read the more recent posts, you'll find them a lot more playful and about fun and interesting stuff.

Annoyingly difficult to use tag cloud