Skip to content

Instantly share code, notes, and snippets.

@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",
@pauldougan
pauldougan / README.md
Last active April 23, 2024 22:20
Run node.js from gist

Run node.js from a gist

npx https://gist.github.com/pauldougan/45e7e9324257a9b34d1f051b7805e513