PHP Bank Holidays, mainly Easter!

PHP

I need to calculate bank holidays in the UK as part of a project I’m working on. You might think this would be easy, but then you realise that Easter moves, Christmas and Boxing Day bank holidays rollover if they fall on a weekend etc.
(more…)

Building a Javascript Embedded Widget

As primarily an API / backend coder in recent years I’ve always thought that Javascript looks amazing when it works (and making it work when it seems such an ambiguous language is half the battle). However, recently I’ve had reason to write a lot more Javascript (and learn a lot along the way!), let’s start with the widget I’ve built.
(more…)

Using s3 storage in Laravel

Getting Amazon S3 storage working in Laravel has caused me a few headaches today, so I thought I’d blog about how I got it working for others (and future reference for myself!).

(more…)

Blocking the Big Bad Bots!

One of our sites recently was running out of bandwidth every 5-10 minutes, a quick look at the stats showed vast amount of traffic from bots/spiders, not necessarily bots that would be useful for us either!

(more…)

When is a backup not a backup?

It sounds like a bad joke doesn’t it? However the punchline isn’t funny at all.

You really don’t want to be on the receiving end when your backup procedure fails to give you the information you need, just when you need it most.

(more…)