superfish.pem
contains:
- the Superfish certificate as found by both Chris Palmer and Matt Burke;
- the encrypted private key as found by Karl Koscher.
$ openssl x509 -in superfish.pem -text
Certificate:
Data:
Version: 3 (0x2)
superfish.pem
contains:
$ openssl x509 -in superfish.pem -text
Certificate:
Data:
Version: 3 (0x2)
'use strict'; | |
const pad = function(string) { | |
const totalCharacters = 4; | |
return string.length < totalCharacters ? | |
(Array(totalCharacters + 1).join('0') + string).slice(-totalCharacters) : | |
string; | |
} | |
const UNICODE_MIN = 0x0; |
#!/usr/bin/env bash | |
# https://code.google.com/p/chromium/issues/detail?id=226801 | |
url='https://chromium.googlesource.com/chromium/src/net/+/master/http/transport_security_state_static.json?format=TEXT'; | |
curl -#s "${url}" | \ | |
base64 --decode | \ | |
sed '/^ *\/\// d' | \ | |
sed '/^\s*$/d' > hsts.json; |
Looking for support tables for HTML/CSS/JavaScript features or details on their implementation status in major browsers?
And then there’s Can I use…?.
const compare = (versionA, versionB) => { | |
// TODO: Does there exist a path for which every single Unicode version | |
// gets new entries? If so, use that instead. | |
const path = 'General_Category/Other_Letter'; | |
const before = new Set(require( | |
`unicode-${ versionA }/${ path }/code-points.js` | |
)); | |
const after = require( | |
`unicode-${ versionB }/${ path }/code-points.js` | |
); |
node_modules | |
package-lock.json |
http://AI./ | |
└ IP: 209.59.119.34 | |
http://ARAB./ | |
└ IP: 127.0.53.53 | |
http://BH./ | |
└ IP: 10.10.10.10 | |
http://CM./ | |
└ IP: 195.24.205.60 | |
http://DK./ | |
└ IP: 193.163.102.58 |
// This object contains a string value that in contains a single quote, | |
// a double quote, a backtick, and a backslash. | |
const data = { foo: `a'b"c\`d\\e` }; | |
// Turn the data into its JSON-stringified form. | |
const json = JSON.stringify(data); | |
// Now, we want to insert the data into a script body as a JavaScript | |
// string literal per https://v8.dev/blog/cost-of-javascript-2019#json, | |
// escaping special characters like `"` in the data. |
const normalizeTimeZone = (timeZone) => { | |
const dtf = new Intl.DateTimeFormat('en-US', { timeZone }); | |
const normalized = dtf.resolvedOptions().timeZone; | |
console.log(`${timeZone} → ${normalized}`); | |
return normalized; | |
}; | |
// https://github.com/justingrant/proposal-canonical-tz#3-fix-out-of-date-canonicalizations-in-v8webkit | |
normalizeTimeZone('Africa/Asmara'); | |
normalizeTimeZone('Africa/Asmera'); |