Stuff

The main category for everything and anything

Escaping Apostrophes in Sed

I’ve had a need to escape a literal apostrophe in an email and couldn’t figure out how to do it. Until I found this post on the Sed Yahoo Group: sed has supported apostrophe substitution for many years. Use the \xHH notation to indicate any hex character. Since the apostrophe is 0×27, you can do [...]

Post Reporting II

Post Reporting II

As promised in my first post reporting entry, this is a follow up article. I’m going to describe how to easily edit your theme template to insert PHP code rather than using shortcodes, well, mostly. I’m also going to show how to achieve the same effect for single posts by using a sidebar widget. If [...]

Post Reporting I

Post Reporting I

A couple of days ago I was chatting to Darren over at My Life in Leeds (running WordPress) and he asked if I knew a way that a visitor to his site could report changes to the factual content of articles. Darren publishes reviews of Leeds’ businesses and attractions and should one business change its [...]

Bexx On Her Way

Bexx On Her Way

You may be aware that my daughter, Rebecca, is going on a 6 month trip to Nakuru, in Kenya, where she’s going to be working in a school until July. Well, she set off this very morning. I don’t think either of us believed the day would actually come but through a combination of support, [...]