Skip to content

Instantly share code, notes, and snippets.

@sideshowbarker
sideshowbarker / quote.md
Last active February 10, 2024 09:50
So that the room will be empty
We couldn’t find that file to show.
@sideshowbarker
sideshowbarker / github-issue-labeler-log.txt
Created May 23, 2022 02:45
Raw log for github/issue-labeler workflow run when labeler added a label as expected but the unexpectedly immediately removed the label
2022-05-21T16:27:57.4712369Z Requested labels: ubuntu-latest
2022-05-21T16:27:57.4712502Z Job defined at: mdn/content/.github/workflows/issue-regex-labeler.yml@refs/heads/main
2022-05-21T16:27:57.4712537Z Waiting for a runner to pick up this job...
2022-05-21T16:27:57.8056131Z Job is waiting for a hosted runner to come online.
2022-05-21T16:28:02.1689353Z Job is about to start running on the hosted runner: GitHub Actions 2 (hosted)
2022-05-21T16:28:04.5055277Z Current runner version: '2.291.1'
2022-05-21T16:28:04.5081833Z ##[group]Operating System
2022-05-21T16:28:04.5082338Z Ubuntu
2022-05-21T16:28:04.5082636Z 20.04.4
2022-05-21T16:28:04.5082907Z LTS
@sideshowbarker
sideshowbarker / github-repos-with-more-than-2000-contributors.md
Last active April 25, 2022 04:53
GitHub repos with more than 2000 contributors
#!/usr/bin/env node
/* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/ */
'use strict';
const chalk = require('chalk');
const fs = require('fs');
const request = require('sync-request');
const PATH = require('path');
const URL = require('url');
@sideshowbarker
sideshowbarker / bcd-es-multipage-spec-urls.js
Last active May 24, 2021 16:20
Script for changing all BCD spec URLs for the ES spec to use the multipage version of the spec
// multipageMap is from https://tc39.es/ecma262/multipage/multipage.js
const multipageMap = JSON.parse(`{"index":["metadata-block","sec-intro","ecma-logo","_ref_0","_ref_1041","_ref_1042","_ref_1043","_ref_1044"],"scope":["sec-scope"],"conformance":["sec-conformance","_ref_1","_ref_2","_ref_1045","_ref_1046","_ref_1047","sec-conformance.normative-optional","_ref_1048"],"normative-references":["sec-normative-references"],"overview":["sec-overview","_ref_1049","_ref_1050","_ref_1051","_ref_1052","sec-web-scripting","_ref_1053","_ref_1054","_ref_1055","_ref_1056","sec-hosts-and-implementations","_ref_1057","_ref_1058","implementation","_ref_3","_ref_1059","_ref_1060","implementation-defined","implementation-approximated","_ref_4","_ref_1061","host","_ref_5","_ref_1062","_ref_1063","_ref_1064","_ref_6","_ref_1065","_ref_1066","host-hook","_ref_1067","_ref_7","host-defined","_ref_8","_ref_1068","host-environment","_ref_1069","_ref_1070","_ref_1071","_ref_1072","_ref_1073","_ref_1074","_ref_1075","sec-ecmascript-ov

Keybase proof

I hereby claim:

  • I am sideshowbarker on github.
  • I am sideshowbarker (https://keybase.io/sideshowbarker) on keybase.
  • I have a public key whose fingerprint is D487 5856 415E 6396 4D87 4451 87D1 7477 BC3A 4B95

To claim this, I am signing this object:

num lang
475968 en
27270 ja
24918 es
19600 pt
17792 ru
17683 fr
15262 de
9602 it
9296 pl
num lang
402022 en
64916 en-us
26782 ja
17777 es
14013 fr
12622 ru
12405 pt
11996 de
7908 pl
--- rash-html.rng 2015-03-07 02:32:38.000000000 +0900
+++ rash-html-fixed.rng 2015-03-08 13:39:07.000000000 +0900
@@ -14,7 +14,7 @@
Under the following terms:
* Attribution - You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
-->
-<grammar
+<grammar ns="http://www.w3.org/1999/xhtml"
xmlns="http://relaxng.org/ns/structure/1.0"
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
"file:/opt/workspace/web-platform-tests/conformance-checkers/html/elements/picture/srcset-microsyntax-h-novalid.html": error: Expected "Bad value “x 1h” for attribute “srcset” on element “img”: Expected number followed by “w” or “x” but found “1h” at “x 1h”." but instead encountered "Bad value “x 1h” for attribute “srcset” on element “img”: Expected width descriptor but found “1h” at “x 1h”. (When the “sizes” attribute is present, all image candidate strings must specify a width.)".
"file:/opt/workspace/web-platform-tests/conformance-checkers/html/elements/picture/srcset-microsyntax-uppercase-w-novalid.html": error: Expected "Bad value “x 1W” for attribute “srcset” on element “img”: Expected number followed by “w” or “x” but found “1W” at “x 1W”." but instead encountered "Bad value “x 1W” for attribute “srcset” on element “img”: Expected width descriptor but found “1W” at “x 1W”. (When the “sizes” attribute is present, all image candidate strings must specify a width.)".
"file:/opt/workspace/web-platform-te