Skip to main content

Recently Updated Pages

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

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

Template emails: rendering failures

Infrastructure (AWS) SES

If you have an error in one of your email templates, or any code that uses them, you may end up w...

Updated 1 year ago by Ant

VPC Endpoints: Gateways and Interfaces

Infrastructure (AWS) VPC

VPC Endpoints Not all AWS services can communicate with each other, as some are in a VPC and som...

Updated 1 year ago by Ant

SES

Infrastructure (AWS) IAM

Example permissions policy { "Version": "2012-10-17", "Statement": [ { ...

Updated 1 year ago by Ant

S3

Infrastructure (AWS) IAM

Example permissions policy This policy allows access to objects within a given bucket. The main...

Updated 1 year ago by Ant

Lambda

Infrastructure (AWS) IAM

Example permissions policy This policy grants access to create, update, delete and invoke Lambda...

Updated 1 year ago by Ant

Systems Manager / Parameter Store

Infrastructure (AWS) IAM

Example permissions policy This policy grants permission to create, delete and get Parameter Sto...

Updated 1 year ago by Ant