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;    …

Test Nginx Configuration

To test your Nginx configuration files, run the following command: It will indicate if your configuration file syntax is correct. Configuration Check Failure root@proxy:/etc/nginx/sites-enabled# nginx -c /etc/nginx/nginx.conf -t nginx: [emerg] a duplicate default server for 0.0.0.0:80 in /etc/nginx/sites-enabled/test01:2 nginx: configuration file /etc/nginx/nginx.conf test failed Configuration Check Success root@proxy:/etc/nginx/sites-enabled# nginx -c /etc/nginx/nginx.conf -t nginx: the configuration…