Skip to content

Instantly share code, notes, and snippets.

Avatar
💫

Jon Heslop jonheslop

💫
View GitHub Profile
@jonheslop
jonheslop / error-log.txt
Created Jul 26, 2019
Error logs of datasette docker build
View error-log.txt
Collecting numpy>=1.9.0 (from pandas~=0.23.4->csvs-to-sqlite)
Downloading https://files.pythonhosted.org/packages/87/2d/e4656149cbadd3a8a0369fcd1a9c7d61cc7b87b3903b85389c70c989a696/numpy-1.16.4-cp36-cp36m-manylinux1_x86_64.whl (17.3MB)
Collecting h11==0.8.* (from uvicorn~=0.8.4->datasette)
Downloading https://files.pythonhosted.org/packages/f9/f3/8e4cf5fa1a3d8bda942a0b1cf92f87815494216fd439f82eb99073141ba0/h11-0.8.1-py2.py3-none-any.whl (55kB)
Collecting websockets==7.* (from uvicorn~=0.8.4->datasette)
@jonheslop
jonheslop / www.rapha.cc-desktop.json
Created Jan 18, 2019
Rapha desktop no throttling
View www.rapha.cc-desktop.json
{"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36","environment":{"networkUserAgent":"Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5 Build/MRA58N) AppleWebKit/537.36(KHTML, like Gecko) Chrome/71.0.3559.0 Mobile Safari/537.36","hostUserAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36","benchmarkIndex":1238},"lighthouseVersion":"3.2.0","fetchTime":"2019-01-18T11:07:01.013Z","requestedUrl":"https://www.rapha.cc/gb/en","finalUrl":"https://www.rapha.cc/gb/en","runWarnings":[],"runtimeError":{"code":"NO_ERROR","message":""},"audits":{"is-on-https":{"id":"is-on-https","title":"Uses HTTPS","description":"All sites should be protected with HTTPS, even ones that don't handle sensitive data. HTTPS prevents intruders from tampering with or passively listening in on the communications between your app and your users, and is a prerequisite for HTTP/2 and many new w
View www.rapha.cc-applied-3G.json
{"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36","environment":{"networkUserAgent":"Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5 Build/MRA58N) AppleWebKit/537.36(KHTML, like Gecko) Chrome/71.0.3559.0 Mobile Safari/537.36","hostUserAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36","benchmarkIndex":1099.8003992015967},"lighthouseVersion":"3.2.0","fetchTime":"2019-01-18T10:56:31.369Z","requestedUrl":"https://www.rapha.cc/gb/en","finalUrl":"https://www.rapha.cc/gb/en","runWarnings":[],"runtimeError":{"code":"NO_ERROR","message":""},"audits":{"is-on-https":{"id":"is-on-https","title":"Uses HTTPS","description":"All sites should be protected with HTTPS, even ones that don't handle sensitive data. HTTPS prevents intruders from tampering with or passively listening in on the communications between your app and your users, and is a prerequisite for HTTP/2
@jonheslop
jonheslop / example.html
Created Jan 4, 2019
Blogger meta tags for rich previews
View example.html
<!-- Facebook OpenGraph -->
<meta content='article' property='og:type'/>
<meta expr:content='data:blog.title' property='og:site_name'/>
<!-- Title, URL & Description -->
<meta expr:content='data:blog.pageName' property='og:title'/>
<meta expr:content='data:blog.canonicalUrl' property='og:url'/>
<b:if cond='data:blog.metaDescription'>
<meta expr:content='data:blog.metaDescription' name='og:description'/>
<b:else/>
<meta expr:content='data:post.snippet' name='og:description'/>
View govuk-pay-peformance-after-js-without-jquery.json
{"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3618.0 Safari/537.36","environment":{"networkUserAgent":"Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5 Build/MRA58N) AppleWebKit/537.36(KHTML, like Gecko) Chrome/71.0.3559.0 Mobile Safari/537.36","hostUserAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3618.0 Safari/537.36","benchmarkIndex":1208},"lighthouseVersion":"3.2.0","fetchTime":"2018-11-22T12:43:16.632Z","requestedUrl":"https://selfservice.payments.service.gov.uk/create-service/register","finalUrl":"https://selfservice.payments.service.gov.uk/create-service/register","runWarnings":[],"runtimeError":{"code":"NO_ERROR","message":""},"audits":{"is-on-https":{"id":"is-on-https","title":"Uses HTTPS","description":"All sites should be protected with HTTPS, even ones that don't handle sensitive data. HTTPS prevents intruders from tampering with or passively listening in on the communications
View govuk-pay-peformance-after-js-latest-chrome.json
{"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3617.0 Safari/537.36","environment":{"networkUserAgent":"Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5 Build/MRA58N) AppleWebKit/537.36(KHTML, like Gecko) Chrome/71.0.3559.0 Mobile Safari/537.36","hostUserAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3617.0 Safari/537.36","benchmarkIndex":1164},"lighthouseVersion":"3.2.0","fetchTime":"2018-11-21T10:07:21.180Z","requestedUrl":"https://selfservice.payments.service.gov.uk/create-service/register","finalUrl":"https://selfservice.payments.service.gov.uk/create-service/register","runWarnings":[],"runtimeError":{"code":"NO_ERROR","message":""},"audits":{"is-on-https":{"id":"is-on-https","title":"Uses HTTPS","description":"All sites should be protected with HTTPS, even ones that don't handle sensitive data. HTTPS prevents intruders from tampering with or passively listening in on the communications
View govuk-pay-peformance-after-js.json
{"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3615.0 Safari/537.36","environment":{"networkUserAgent":"Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5 Build/MRA58N) AppleWebKit/537.36(KHTML, like Gecko) Chrome/71.0.3559.0 Mobile Safari/537.36","hostUserAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3615.0 Safari/537.36","benchmarkIndex":1176},"lighthouseVersion":"3.2.0","fetchTime":"2018-11-20T17:05:50.150Z","requestedUrl":"https://selfservice.payments.service.gov.uk/create-service/register","finalUrl":"https://selfservice.payments.service.gov.uk/create-service/register","runWarnings":[],"runtimeError":{"code":"NO_ERROR","message":""},"audits":{"is-on-https":{"id":"is-on-https","title":"Uses HTTPS","description":"All sites should be protected with HTTPS, even ones that don't handle sensitive data. HTTPS prevents intruders from tampering with or passively listening in on the communications
@jonheslop
jonheslop / govuk-pay-peformance-after.json
Created Nov 19, 2018
Lighthouse report before migrating to GOV.UK Frontend
View govuk-pay-peformance-after.json
{"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3615.0 Safari/537.36","environment":{"networkUserAgent":"Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5 Build/MRA58N) AppleWebKit/537.36(KHTML, like Gecko) Chrome/71.0.3559.0 Mobile Safari/537.36","hostUserAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3615.0 Safari/537.36","benchmarkIndex":1182},"lighthouseVersion":"3.2.0","fetchTime":"2018-11-19T12:30:50.620Z","requestedUrl":"https://selfservice.payments.service.gov.uk/create-service/register","finalUrl":"https://selfservice.payments.service.gov.uk/create-service/register","runWarnings":[],"runtimeError":{"code":"NO_ERROR","message":""},"audits":{"is-on-https":{"id":"is-on-https","title":"Uses HTTPS","description":"All sites should be protected with HTTPS, even ones that don't handle sensitive data. HTTPS prevents intruders from tampering with or passively listening in on the communications
@jonheslop
jonheslop / govuk-pay-peformance-before.json
Last active Nov 29, 2018
Lighthouse report before migrating to GOV.UK Frontend
View govuk-pay-peformance-before.json
{"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3605.0 Safari/537.36","environment":{"networkUserAgent":"Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5 Build/MRA58N) AppleWebKit/537.36(KHTML, like Gecko) Chrome/71.0.3559.0 Mobile Safari/537.36","hostUserAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3605.0 Safari/537.36","benchmarkIndex":1080},"lighthouseVersion":"3.2.0","fetchTime":"2018-11-08T13:12:03.177Z","requestedUrl":"https://selfservice.payments.service.gov.uk/create-service/register","finalUrl":"https://selfservice.payments.service.gov.uk/create-service/register","runWarnings":[],"runtimeError":{"code":"NO_ERROR","message":""},"audits":{"is-on-https":{"id":"is-on-https","title":"Uses HTTPS","description":"All sites should be protected with HTTPS, even ones that don't handle sensitive data. HTTPS prevents intruders from tampering with or passively listening in on the communications
View keybase.md

Keybase proof

I hereby claim:

  • I am jonheslop on github.
  • I am jonheslop (https://keybase.io/jonheslop) on keybase.
  • I have a public key ASAmfff3c1xe45dcvphD7LEyq-RxZ3ykWSlVvekcKmliwwo

To claim this, I am signing this object: