Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am aaronpeters on github.
  • I am aaronpetersnl (https://keybase.io/aaronpetersnl) on keybase.
  • I have a public key whose fingerprint is 0D54 8B70 B0E2 8EBE 3631 56CC 3A6A 2899 DE23 FE1D

To claim this, I am signing this object:

@aaronpeters
aaronpeters / openssl-check-stapled-OCSP-response
Last active February 5, 2020 14:56
Quickly check with openssl if a certificate contains a stapled OCSP response
# https://www.maxcdn.com/one/tutorial/check-ocsp-status/
echo QUIT | openssl s_client -servername www.maxcdn.com -connect www.maxcdn.com:443 -status 2> /dev/null | grep -A 17 'OCSP response:' | grep -B 17 'Next Update'
@aaronpeters
aaronpeters / nl-domains.txt
Last active February 18, 2020 22:07
List of NL domains of A-brand/high traffic websites (newline delimited)
accounts.magister.net
amslod.nl
cyso.com
d66.nl
deliveroo.nl
discountoffice.nl
fastnedcharging.com
fietsenconcurrent.nl
forumvoordemocratie.nl
groenlinks.nl
@aaronpeters
aaronpeters / ocsp-responders-ipv6-support.txt
Last active January 26, 2020 22:11
Which OCSP responders have IPv6 endpoints?
--- Sectigo ---
Sectigo RSA Extended Validation Secure Server CA
Sectigo RSA Organization Validation Secure Server CA
Sectigo RSA Domain Validation Secure Server CA
dig AAAA ocsp.sectigo.com
;; ANSWER SECTION:
ocsp.sectigo.com. 74 IN AAAA 2001:4de0:ac19::1:b:1a
@aaronpeters
aaronpeters / 3pc-domains.txt
Created February 4, 2020 15:05
Third party content providers, one domain each (based on the third-party-web repo's entities.json)
pagead2.googlesyndication.com
www.facebook.com
scontent.cdninstagram.com
ajax.googleapis.com
maps.google.com
accounts.google.com
firebasestorage.googleapis.com
www.google-analytics.com
ampcid.google.com
www.googletagmanager.com
@aaronpeters
aaronpeters / 3pc-domains-httparchive
Created February 4, 2020 21:25
Top 100 third party domains from the HTTP Archive
fonts.gstatic.com
www.facebook.com
www.google-analytics.com
googleads.g.doubleclick.net
www.google.com
fonts.googleapis.com
static.parastorage.com
cm.g.doubleclick.net
cdn.shopify.com
www.youtube.com
@aaronpeters
aaronpeters / countries-array.json
Last active May 8, 2020 10:13
List of countries, with for each country the ISO 3166-1 alpha-2 code and country name (in object and array formats)
[
{
"iso": "AD",
"name": "Andorra"
},
{
"iso": "AE",
"name": "United Arab Emirates"
},
{
@aaronpeters
aaronpeters / roy-preconnect-clickouts.js
Created May 11, 2020 13:49
Preconnect naar de origin van clickout destination links
function dynamicPreconnects(){
try {
// https://www.npmjs.com/package/preconnect
var preconnect = function() {
"use strict";
return function(n, e) {
var t, c, o = "link",
r = "preconnect",
i = "appendChild",
u = "createElement",
{
"weight": 2,
"date": "2018-06-10T00:00:00+07:00",
"title": "BaishanCloud",
"draft": false,
"name": "BaishanCloud",
"website": "https://en.baishancloud.com/",
"website_contact": "https://en.baishancloud.com/",
"logo_small": "baishan-logo-w240.png",
"prominent": {
@aaronpeters
aaronpeters / countries.json
Created May 20, 2020 09:04 — forked from sroye98/countries.json
countries.json
[
{
"CountryId": 1,
"CountryName": "Afghanistan",
"FIPS104": "AF",
"ISO2": "AF",
"ISO3": "AFG",
"ISON": "4",
"Internet": "AF",
"Capital": "Kabul ",