npx https://gist.github.com/pauldougan/45e7e9324257a9b34d1f051b7805e513
SHELL:=bash | |
edit: Makefile | |
vim $< | |
images: | |
docker images | |
build-simulator: | |
npm install |
We use the Node.js based GOV.UK prototype Kit to work with prototypes.
The GDS Way advises the use of LTS node versions.
The most recent Node.js LTS version is 20.11.0 released on 9 Jan 2024.
import java.security.SecureRandom; | |
import java.util.Base64.Encoder; | |
int ENTROPY_BYTES = 20; | |
SecureRandom RANDOM = new SecureRandom(); | |
Base64.Encoder ENCODER = Base64.getUrlEncoder().withoutPadding(); | |
byte[] buffer = new byte[ENTROPY_BYTES]; | |
RANDOM.nextBytes(buffer) | |
System.out.println(ENCODER.encodeToString(buffer)) |
I tend to wrangle a lot of spreadsheet data but don't always want to use use google sheets and habitually convert to csv and process them locally.
This is a list of some of my favourite tools, its non exhaustive and biased towards my preference for terminal based user interfaces
Cloud Foundry supports two models for running applications in containers:
- Cloud Foundry Buildpacks
- Cloud Foundry Docker support
Some tenants prefer one of the other and others mix and match.
Taking the first release v0.1.0 of korifi for a spin on a local single node kubernetes cluster. (FYI I recently tested this on 29th Sept 2022 with korifi v0.3.0 and these notes are still valid)
Not yet tested on v0.4.0 which brings helm packaging
TLDR; it can be installed in 14 minutes on a standard GDS macbook pro with 8GB of RAM