Skip to content

Instantly share code, notes, and snippets.

View foolip's full-sized avatar

Philip Jägenstedt foolip

View GitHub Profile
'use strict';
const util = require('util');
const fs = require('fs');
const readFile = util.promisify(fs.readFile);
const writeFile = util.promisify(fs.writeFile);
function fillBrowsers(data) {
const requiredBrowsers = ['chrome', 'edge', 'firefox', 'ie', 'opera', 'safari'];
function fill(__compat) {
import json
import sys
for filename in sys.argv[1:]:
with open(filename, "r") as f:
report = json.load(f)
report["run_info"]["product"] = "edge"
report["run_info"]["comment"] = "original report modified to set product to edge"
2019-01-31T00:53:40.7364157Z ##[section]Starting: Run tests
2019-01-31T00:53:40.7480119Z ==============================================================================
2019-01-31T00:53:40.7480251Z Task : Command Line
2019-01-31T00:53:40.7480349Z Description : Run a command line script using cmd.exe on Windows and bash on macOS and Linux.
2019-01-31T00:53:40.7480460Z Version : 2.146.1
2019-01-31T00:53:40.7480539Z Author : Microsoft Corporation
2019-01-31T00:53:40.7480651Z Help : [More Information](https://go.microsoft.com/fwlink/?LinkID=613735)
2019-01-31T00:53:40.7480750Z ==============================================================================
2019-01-31T00:53:41.5910154Z Generating script.
2019-01-31T00:53:41.6003705Z Script contents:
url,feature
http://bagusrezakharisma.blogspot.com/,6376.742
http://xsmk-bab7.blogspot.com/,6522.558
http://yoicin.blogspot.com/,7956.632
http://maja-literatura.blogspot.com/,7044.7
https://www.grimax.cz/,-3294.845
https://www.paew.gov.om/,9120.339
https://fullvirtuales.blogspot.com/,7650.958
https://svttoday.blogspot.com/,7489.864
http://noticiasncc.com/,-9054.655
Using 1 client processes
SUITE-START | Running 55 tests
Running reftest tests
STDOUT: http://localhost:4444/
PID 11556 | [12:44:13.627] - Listening on http://127.0.0.1:4444/
PID 11556 | [12:44:13.627] - Listening on http://[::1]:4444/
Starting runner
TEST-START | /infrastructure/assumptions/ahem.html
TEST-PASS | /infrastructure/assumptions/ahem.html | took 3031ms
TEST-START | /infrastructure/assumptions/blank.html

Ad-hoc analysis of which organization do the most work in web standards.

Data from day-to-day was used to get a list of active authors in the last 8 weeks. Conclusions up front:

  • Independent contractors or otherwise unaffiliated people are large contributors.
  • Google and Mozilla are the top contributors among browser vendors, roughly equally split.
  • W3C staff do a lot of spec work.
  • Intel is the top non-browser vendor.
Script used to count activity and map individuals to organizations
2019-01-23T11:16:58.2238050Z ##[section]Starting: Run tests
2019-01-23T11:16:58.2242050Z ==============================================================================
2019-01-23T11:16:58.2242150Z Task : Command Line
2019-01-23T11:16:58.2242280Z Description : Run a command line script using cmd.exe on Windows and bash on macOS and Linux.
2019-01-23T11:16:58.2242360Z Version : 2.146.1
2019-01-23T11:16:58.2242480Z Author : Microsoft Corporation
2019-01-23T11:16:58.2242580Z Help : [More Information](https://go.microsoft.com/fwlink/?LinkID=613735)
2019-01-23T11:16:58.2242710Z ==============================================================================
2019-01-23T11:16:58.3854010Z Generating script.
2019-01-23T11:16:58.3876370Z Script contents:
2019-01-15T13:56:13.9950820Z ##[section]Starting: Update manifest
2019-01-15T13:56:13.9954790Z ==============================================================================
2019-01-15T13:56:13.9954860Z Task : Command Line
2019-01-15T13:56:13.9955010Z Description : Run a command line script using cmd.exe on Windows and bash on macOS and Linux.
2019-01-15T13:56:13.9955050Z Version : 2.146.1
2019-01-15T13:56:13.9955090Z Author : Microsoft Corporation
2019-01-15T13:56:13.9955220Z Help : [More Information](https://go.microsoft.com/fwlink/?LinkID=613735)
2019-01-15T13:56:13.9955280Z ==============================================================================
2019-01-15T13:56:14.1500110Z Generating script.
2019-01-15T13:56:14.1521990Z Script contents:
import time
def sleep(secs):
t0 = time.time()
time.sleep(secs)
t1 = time.time()
return t1 - t0
for _ in range(10):
delta = sleep(0.25)
@foolip
foolip / Dockerfile
Last active December 14, 2018 19:58
Epiphany in Docker
FROM fedora:29
RUN dnf install -y \
epiphany \
git
#ADD https://webkitgtk.org/epiphany-tech-preview.flatpakref /tmp/
#RUN flatpak install -y /tmp/epiphany-tech-preview.flatpakref
RUN useradd test \