Skip to content

Instantly share code, notes, and snippets.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed eu viverra tellus, in molestie erat. In tristique arcu nisl, non condimentum nulla dictum a. Duis accumsan feugiat enim a dictum. Integer semper odio arcu, et dapibus leo tincidunt blandit. Mauris elementum sem vel mauris bibendum faucibus. Nam quis consequat magna. Maecenas finibus nisi sem, at cursus arcu tristique id. Nam nec velit sodales ipsum rhoncus dictum. Vestibulum aliquam ipsum malesuada nisl sollicitudin, at blandit elit auctor. Vestibulum dignissim velit vitae libero ornare scelerisque.

Maecenas eleifend magna purus, sed tincidunt turpis tempus id. Suspendisse sit amet ex massa. Suspendisse luctus, quam eu condimentum dapibus, risus enim rhoncus diam, eu lacinia leo urna id risus. Nulla vestibulum elit ut interdum scelerisque. Mauris tempor egestas varius. Praesent vulputate orci eros, a convallis ex accumsan nec. Quisque eleifend, dui cursus efficitur luctus, ligula ante tempor tortor, id cursus ex elit at dui. Donec ultrices magna e

@pauldougan
pauldougan / gds-radar.csv
Last active June 3, 2019 13:02
GDS RADAR
We can make this file beautiful and searchable if this error is corrected: It looks like row 4 should actually have 5 columns, instead of 1 in line 3.
name,ring,quadrant,isNew,description
GSP,adopt, platforms, TRUE, "<p>The <a href=""https://github.com/alphagov/gsp-terraform-ignition"">GDS Supported Platform</a> is the TechOps strategic <a href=""https://kuberetes.io"">kubernetes</a> based hosting platform</p>"
Cypress,adopt,tools,TRUE,"<p>We keep receiving positive feedback on ""post-Selenium"" web UI testing tools such as <strong><a href=""http://www.cypress.io/"">Cypress</a></strong>, <a href=""/radar/tools/testcafe"">TestCafe</a> and <a href=""/radar/languages-and-frameworks/puppeteer"">Puppeteer</a>. Running end-to-end tests can present challenges, such as the long duration of the running process, the flakiness of some tests and the challenges of fixing failures in CI when running tests in headless mode. Our teams have had very good experiences with Cypress by solving common issues such as lack of performance and long wait time for responses and resources to load. Cypress has become the tool of choice for end-to-end testing within our teams.</p>"
Jupyt
@pauldougan
pauldougan / references-table.sh
Created September 27, 2019 16:50
Turn list of partials in dcs-pilot-docs into a markdown table
(echo standard,uri; sort source/partials/_links.erb | egrep "https" | gsed -E -e "s/^\[(.*)\]: +(.*)$/ \1,\2 /" -e "/^$/d" ) | csvlook | pbcopy
@pauldougan
pauldougan / references-table.sh
Created September 27, 2019 16:50
Turn list of partials in dcs-pilot-docs into a markdown table
(echo standard,uri; sort source/partials/_links.erb | egrep "https" | gsed -E -e "s/^\[(.*)\]: +(.*)$/ \1,\2 /" -e "/^$/d" ) | csvlook | pbcopy
title weight
Example Message Flow
4

Example Message Flow

This is an example of what the JWS/JWE setup for a passport request.

You will need:

@pauldougan
pauldougan / gist:792f8266c35229a22ae49b9b64493f4a
Last active November 22, 2019 09:34
how-to-run-drawio-cli.md

Problem

How to run use the drawio command line to generate diagrams

Context

I use the drawio app on ISX to create diagrams and store the XML output in GitHub.
I have to manually export SVG files for use in a middleman based tech docs website.

@pauldougan
pauldougan / hmrc-hello-world.md
Created November 26, 2019 16:00
HMRC Hello World

curl -v -s -H "Accept: application/vnd.hmrc.1.0+json" https://test-api.service.hmrc.gov.uk/hello/world | jq .

*   Trying 2.22.132.80...
* TCP_NODELAY set
* Connected to test-api.service.hmrc.gov.uk (2.22.132.80) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
@pauldougan
pauldougan / mxgraph-example1.md
Created November 26, 2019 22:34
mxgraph example

mxgraph example

date description uri
live
Deprecate Postgres 9.5
Support Postgres 12
SQS Broker
Autoscaler
Provide AWS S3 as a service https://github.com/alphagov/paas-roadmap/issues/5
service sharing
switch CDB broker to AWS cert manager
redis 5 support
@pauldougan
pauldougan / govuk-paas-python-notes.md
Last active May 27, 2020 12:04
python notes on GOV.UK PaaS