Skip to content

Instantly share code, notes, and snippets.

@pauldougan
pauldougan / README.md
Created April 16, 2025 07:45
GOV.UK One Login flow A3 remix

GOV.UK One Login flow A3 remix

A remix of the DIAGRAM in the tech docs

I find it useful to have a version of the diagram to hand, so this is a version optimised for A3 with all manner of additional material

  • optimised for A3 printing :)
  • explicitly names HTTP methods
  • add examples of payloads
@pauldougan
pauldougan / README.md
Created February 25, 2025 22:27
GOV.UK One Login tech docs as a single pdf
@pauldougan
pauldougan / Test.md
Last active January 15, 2025 21:09
Codespace badge test

badge

@pauldougan
pauldougan / eno-77m-paintings.md
Last active January 1, 2025 12:44
Eno 77 Million Paintings

Running Brian Eno 77 Million Paintings (2006)

image

How to run the 2006 version of the Brian Eno generative software modern hardware using Wine on MacOS.

Prerequisites

@pauldougan
pauldougan / backchannel.mmd
Created November 26, 2024 11:22
Backchannel logout mermaid diagram
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pauldougan
pauldougan / Makefile
Last active February 27, 2025 12:05
Notes on the simulator
SHELL:=bash
edit: Makefile
vim $<
images:
docker images
build-simulator:
npm install
@pauldougan
pauldougan / README.md
Last active October 2, 2024 21:27
public_key example

example public key

create an RSA key pair

openssl genpkey -algorithm RSA -out private_key.pem -pkeyopt rsa_keygen_bits:2048
openssl rsa -pubout -in private_key.pem -out public_key.pem
openssl rsa -pubout -in private_key.pem -out public_key.der -outform DER 
openssl rsa -in public_key.der -inform DER -pubin  -text
openssl rsa -pubin -in public_key.pem -noout -exponent
@pauldougan
pauldougan / example_did.json
Created May 7, 2024 14:18
example_did.json
{
"@context": [
"https://www.w3.org/ns/did/v1",
"https://www.w3.org/ns/security/jwk/v1"
],
"id": "did:web:identity.account.gov.uk",
"assertionMethod": [
{
"id": "cfeebabeeac2d9749993523f143fbc3f8c83411853f2996323a2efbd7acda754",
"type": "JsonWebKey",