Regex for UK postcodes, NI numbers, etc
I found an xsd defining loads of useful regular expressions on the HMRC website - http://www.hmrc.gov.uk/schemas/core-v2-0.xsd. I hope this helps someone as much as it helped me.
Add comment March 23rd, 2010
I found an xsd defining loads of useful regular expressions on the HMRC website - http://www.hmrc.gov.uk/schemas/core-v2-0.xsd. I hope this helps someone as much as it helped me.
Add comment March 23rd, 2010
Working for a digital agency as a developer is great, it really is. I do miss stretching my design muscles though, and I do want to get to grips with javascript better, so I’ve set myself the task of creating a new portfolio website. What I want most of all is for all of the information I want to display to be immediate, but I want to try and present it will enough to not need the feeling of ‘web pages’ and navigation. After all, all that a porfolio site should have is your work, a bit of information about yourself (including any twitter/whatever feeds that are relevant) and a link to your CV. Everything needs to feel categorised and exactly in it’s right place… I’m tempted to use Drupal, which is my current favourite toy, but I don’t need anything especially complicated and I’ve got enough Drupal projects going on at work…
Well with any luck now I’ve made a blog post about it I’ll start setting myself real deadlines and get this show on the road!
Add comment February 21st, 2010
1. Drupal is using jquery.
2.
sfHover = function() {
$(".primary-links li").mouseover(function() {
$(this).toggleClass("sfhover");
});
$(".primary-links li").mouseout(function() {
$(this).toggleClass("sfhover");
});
}
$(document).ready(sfHover);
In the header of page.tpl.php is all you need. You have to change $(”.primary-links li”) to whatever your navigation links are though (in this case class primary-links li items).
Add comment June 2nd, 2009
Note to remind myself that in the end what seems to work best is for IE6 to use a gif and set the div’s opacity, and in the rest just use a png. The AlphaImageLoader doesn’t let you position backgrounds so there’s no point trying to cram it all in. Fixed width stuff too, but doesn’t really matter if there are only 2 dropdowns.
February 4th, 2009
Actually after trying to think up that title I feel too drained to actually type anything.
December 15th, 2008
I am currently working for a company called 33above in london near liverpool street as a sort of general all purpose designer. I’ve been mocking up screenshots of a skin for their cms (which would be used by clients as well as themselves) and writing an xsl-fo parser in actionscript 3. It’s been very exciting. I’m also going to Costa Rica in a few weeks till December in a mad rush to avoid growing up and getting a permanent job - also to teach english as a foreign language and learn to surf and speak spanish.
Oh, and I miss living with my friends. <3 8 Church Close! The new soul calibur is pretty good though.
August 14th, 2008
Best Renaissance stage direction that doesn’t involve bears and exiting pursued by them?
It’s just GOT to be “He gets into a large tortoise-shell.”. Buahaha.
In slightly related news, I have stopped trying to read old english in the office when I am in a giggly mood (The canterbury tales [God bless the Gutenberg Project!], my brother and I used to listen to it as we went to sleep off a vinyl we got from the library - RETRO COOL GUYS, RETRO). It’s so immature, but when you feel like laughing already and you read:
“Of fustian he weared a gipon*,
Alle *besmotter’d with his habergeon,* ”
You just can’t help burst out laughing.
Oh, and while I’m at it, why don’t more text/code editors have split-screen options like jEdit? SciTE has a weird kind of thing a bit like it I guess, but it would make lots of sense for dreamweaver and other programs to have it as a function. I’ve needed to compare things loads of times.
4 comments March 6th, 2007
Rukaya1: So, Ruby is a pretty awesome language huh?
Rukaya2 (brightly): Yeah definitely! Anybody curious should definitely check out Why’s Poignant Guide to Ruby which is undoubtedly the best learner’s tutorial/introduction to a language I’ve come across.
Rukaya1: So, we’re trying to write a stuff in it, and one of the reasons we love it is because it lets us manipulate arrays and strings SO much more easily than php?
Rukaya2: That’s right, Rukaya1! Also, unrelatedly, we think everyone should make today the day to try and work in the sentence ‘Hey dudes, let’s tilt at those windmills like there’s no tomorrow!’ to something they write today.
Rukaya1 (chuckling): Now THERE’S a challenge, and we need them now seeing as Ruby has made life so easy!
Jingle plays and curtain goes down
2 comments March 6th, 2007
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Mar | ||||||
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | |||