Disable tests when using AWS SAM Build

Before I start, disabling tests as part of your build pipeline is bad – I don’t recommend it. However, in this scenario, sam builds, especially when running sam sync –watch can take a bit of time, and the feedback loop (write some code, and quickly see it running) can be several minutes, rather than seconds…

Install GraalVM and Native-Image on an M1 Mac (Java11)

This is a quick guide on installing GraalVM on your M1 Mac – this guide also works for x86_64 Macs also. This will install GraalVM for Java11 – different Java versions are available here: https://github.com/graalvm/graalvm-ce-builds/releases Install GraalVM using Homebrew Give GraalVM permission to run Install using sdkman SDKMAN is a brilliant tool, you can install…

NPM: Maximum call stack size exceeded

You may have cloned a project and tried running ‘npm install’ only to find the following error message: There’s multiple ways I’ve found to fix this: The Safe ways: Force clear the NPM cache: Rebuild: Remove node_modules: The Nuclear way: As always, I hope this fixes your problem!

GitLab CI: failed to dial gRPC: cannot connect to the Docker daemon. Is ‘docker daemon’ running on this host?

The latest docker:dind has breaking changes. Here are two fixes if you are enchanting issues with GitLab CI and your runners. Fix 1: GitLab CI Config Add the following to your .gitlab-ci.yml Fix 2: Change runner config Alternatively, another fix is to change the runner: Modify to mach the following (specifically environment and volumes) Then…

Nginx Proxy WordPress Configuration

If you need to proxy your WordPress blog via Nginx. This is the configuration I have recently used. Update <server-name> with your intended domain name. <ip-address> and <port> with the WordPress servers details. server {         server_name <server-name>;         gzip on;         gzip_min_length 10240;    …