Thomas Rigby
Thomas Rigby
Thomas Rigby
A Gen-X/Millennial cusp (Xennial), I'm old enough to remember life before the internet but not (quite) old enough to have seen Nirvana live. Or, as my wife puts it, I adapt to technology like a Millennial but get angry about it like a Boomer.
Latest Posts
How to create a global .gitignore file to define a list of rules for ignoring files in every single Git repository on your computer
If there's one thing I've learned, it's that your code will go wrong. You need to accept that and catch your damn errors!
Semantic HTML is the process of using HTML5 tags to reinforce the meaning of the information contained within a webpage or application.
Forgotten the password to your local CMS? Can't email a password reset? Here's my tried-and-tested solution.
We all love writing code - that's why we're doing this - but sometimes we can seriously over-engineer things.
I don't mean to imply that I cut corners and churn out shoddy code. I just hate doing repetitive tasks that bore the bejesus out of me.
My other half is featured in the May edition of Pharma Times Magazine
I have a decent laptop and I'm lucky enough to have a strong, reliable internet connection. Not everyone does.
I occasionally find myself dumping stringified JSON into a <pre/> tag in my markup. It inevitably looks horrible. Here's how to prettify your JSON.stringify() output.
Today I had to send an "ID" in the body of my POST request. It turns out that the API doesn't care what the value is - it just needs to be alphanumeric, exactly 18 characters long, and not already in the system.
Why the rush? Whether you're faking an API response, introducing deliberate cognitive drain, or simply want to slow things down this function has got you, baby!
AKA Move the first item in an array to the end repeatedly
"filename exceeds the maximum upload size for this site" 🙄
Sometimes you just want to serve a static site without installing all kinds of stuff
If you get a CSS value but you want to do maths with it, what do you do? Let's find out!