Skip to main content

Recently Updated Pages

Cross-browser behaviours: fractional pixels

Code Standards: Frontend HTML / JS / CSS notes

When manipulating CSS values directly, be careful of how precise your numbers are, as different b...

Updated 1 year ago by Ant

Client-side loading and updating

Code Standards: Frontend Site Themes Implementation

Text

Updated 1 year ago by Ant

Server-side loading

Code Standards: Frontend Site Themes Implementation

Text

Updated 1 year ago by Ant

Inconsistent image load event firing

Code Standards: Frontend HTML / JS / CSS notes

Due to some inconsistencies in browser event behaviour, trying to detect when an image has finish...

Updated 1 year ago by Ant

Fade animations on HTML elements

Code Standards: Frontend HTML / JS / CSS notes

Sometimes, fading in an element (for example, using jQuery's fadeIn() method, or setting an eleme...

Updated 1 year ago by Ant

HTML: Strict vs Quirks mode

Code Standards: Frontend HTML / JS / CSS notes

What even is "strict mode"? Strict mode is a declaration you make at the top of a HTML document,...

Updated 1 year ago by Ant

CSS relative colors

Code Standards: Frontend HTML / JS / CSS notes

Relative colors in CSS Until fairly recently, there was no way to define a CSS colour as being a...

Updated 1 year ago by Ant

The MariaDB Node.js connector

Infrastructure (AWS) RDS

Using the batch query function When using batch queries via conn.batch, be aware that attempting...

Updated 1 year ago by Ant

Misconfiguring Apache Rewrite directives

Webserver Documentation Configuring Apache

The mod_rewrite module is extremely powerful, but painful to debug. Here's some common pitfalls a...

Updated 1 year ago by Ant

Bunny Stream webhooks

Infrastructure (Non-AWS) Bunny Stream

The Bunny stream webhooks do not have a set list of IPs they originate from, making it hard to ut...

Updated 1 year ago by Ant

Excessively high webserver session counts

Infrastructure (AWS) EC2 (Elastic Compute Cloud)

Check the User-Agent header for incoming requests Depending on your load balancer, it will perio...

Updated 1 year ago by Ant

Incorrect connection cleanup

Infrastructure (AWS) RDS

If you fail to clean up connections properly, you can end up with functions taking a lot longer t...

Updated 1 year ago by Ant

SQL connection pools

Infrastructure (AWS) RDS

Connection pools take up connections even if they're not being used Your database server is goin...

Updated 1 year ago by Ant

grunt

Tech stack Build, dependency and code management

Homepage https://gruntjs.com/ What is it? A build and automation tool, for running tasks. Why...

Updated 1 year ago by Ant

gulp

Tech stack Build, dependency and code management

Homepage https://gulpjs.com/ What is it? A build and automation manager for JavaScript. Why d...

Updated 1 year ago by Ant

Node Package Manager (npm)

Tech stack Build, dependency and code management

Homepage https://www.npmjs.com/ What is it? A dependency and package manager for Node.js proje...

Updated 1 year ago by Ant

Exporting Redis backups

Infrastructure (AWS) Redis

When exporting backups of a Redis node or cluster to S3, you'll be greeted by a rather unhelpful ...

Updated 1 year ago by Ant

Flexible Timeframes

Infrastructure (AWS) EventBridge

The flexible timeframes feature on EventBridge is there to help avoid having e.g. a bunch of task...

Updated 1 year ago by Ant

Exporting an RDS Snapshot to S3

Infrastructure (AWS) RDS

If for whatever reason you need to restore a snapshot of an RDS database, there are a few possibl...

Updated 1 year ago by Ant

EventBridge

Infrastructure (AWS) IAM

EventBridge scheduler role An example IAM role for EventBridge schedules is below. The main poin...

Updated 1 year ago by Ant