JQuery snippet: automatic highlights

Sometimes you want to highlight a word automagically without having to go through and manually add <span> tags all over the place. Of course you also want to do this without breaking anything else that has been wrapped in a <p> tag. Ahem, WordPress I’m looking at you. The first line of this iterates over […]

WordPress hacking: display only future posts

I recently inherited a WordPress site which uses a future posts plugin to allow you to publish posts with dates in the future. This is great and a very simple solution for sites that list events but don’t need complex calendar functionality. However, it had no way of automatically removing events listings which were now in […]

Rainbow text using css

I fancied making some rainbow text for a project I’m working on, and in order to maintain accessibility, I wanted to do it using css. It turns out that that isn’t actually too difficult. All you need to do is: generate a linear-gradient clip it to the text change the text colour to transparent set […]

Graphical programming interfaces for Arduino

My limited experience of graphical programming interfaces in general is that they can be quite hit and miss, particularly if you’re looking for a combination of an easy to use interface and good code complication. That said having grown up with computers that were barely capable of graphical interfaces I have never really used them […]

WordPress tomfoolery

I was recently asked to make what was effectively a sub-site within WordPress, so mybrilliantsite.com/apparentlydifferentsite, given that WordPress is generally setup to do a single site (with corresponding site title) per install (WordPress multiuser is intended for sub-domains) this required a little bit of fiddling (and a child theme, or self coded theme). NB, I am predominantly […]