Technical Lead based in Manchester, UK

Penny Saving Challenge using Starling Bank, Lambda and Node


I came across a money-saving Challenge called the ‘1p Challenge’. Basically you save an amount of money based on the day number in the year. For example, on January the 1st, you would save 1p. Towards the end of the year, say day 365, you would save £3.65 As you can imagine, this starts saving small but eventually ramps up so you will save around £667 over the year. The problem is, it’s incredibly hard to manage yourself.…
Read more ⟶

Convert a private key .ppk to .pem on Mac OSX


If you’ve used putty to generate your private key, you may need to convert it to a PEM file instead Firstly install putty via Homebrew $ brew install putty Then convert the file $ puttygen privatekey.ppk -O private-openssh -o privatekey.pem Install the key by moving the file to ~/.ssh $ mv privatekey.pem ~/.ssh …
Read more ⟶

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 variables: DOCKER_TLS_CERTDIR: "" Fix 2: Change runner config Alternatively, another fix is to change the runner: $ nano /etc/gitlab-runner/config.toml Modify to mach the following (specifically environment and volumes) [[runners]] environment = ["DOCKER_DRIVER=overlay2","DOCKER_TLS_VERIFY=1","DOCKER_CERT_PATH=/certs/client"] [runners.docker] image = "docker:dind" privileged = true disable_entrypoint_overwrite = false oom_kill_disable = false disable_cache = false volumes = ["/cache","/certs"] Then restart the gitlab runner…
Read more ⟶