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
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!
We tend to think of accessibility as being something we add to websites to help the disabled. This is a mindset we need to get out of.
Having multiple almost identical components is just very bad and wrong - let's fix it properly!
Convert a JavaScript number to a human-readable number the easy way.
I'm not a fan of chaining together lots of commands and, it turns out, neither are NPM!
In an effort to remove unnecessary references to slavery and replace them with more inclusive terms, many companies are opting to replace the term `master` as their main git branch name.
It is commonplace for designers to style both links and buttons to look like “buttons”. But just because something looks like a button, doesn’t mean it is a <button>.
How to achieve the ideal line length using css.