Based on @jugglinmike ExecutorCDP prototype
grep 'API status' tools/pyppeteer/ -r | grep -Eo "'[A-Z][A-Za-z]+\.[A-Za-z]+'" | sort | uniq -c | sort -rn5 'Input.dispatchMouseEvent'
4 'Runtime.releaseObject'
4 'Input.dispatchKeyEvent'
| # On the host VM (run as root): | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - | |
| add-apt-repository \ | |
| "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ | |
| $(lsb_release -cs) \ | |
| stable" | |
| apt-get install -qy docker-ce | |
| systemctl daemon-reload && systemctl start docker.service | |
| docker run -it ubuntu:latest bash |
| #!/usr/bin/env python3 | |
| import json | |
| import requests | |
| with open("github-credentials.json", "r") as f: | |
| creds = json.load(f) | |
| prs = open("pr-list", "r") | |
| with open("pr-errors", "w") as err: |
Based on @jugglinmike ExecutorCDP prototype
grep 'API status' tools/pyppeteer/ -r | grep -Eo "'[A-Z][A-Za-z]+\.[A-Za-z]+'" | sort | uniq -c | sort -rn5 'Input.dispatchMouseEvent'
4 'Runtime.releaseObject'
4 'Input.dispatchKeyEvent'
| from __future__ import print_function | |
| from collections import defaultdict | |
| import hashlib | |
| import re | |
| def main(): | |
| baselines = defaultdict(dict) | |
| f = open('baselines', 'r') | |
| regexp_head = re.compile(r'^\./(platform/[^/]+/)') |
| #!/usr/bin/python2 | |
| # Requirements: numpy & dateutil ( sudo apt install python-{numpy,dateutil} ) | |
| from __future__ import print_function | |
| from collections import defaultdict, namedtuple | |
| import dateutil.parser | |
| import json | |
| import re | |
| import numpy | |
| import os |
| #!/usr/bin/python2 | |
| # Based off https://gist.github.com/jeffcarp/f1fb015e38f50e82d30b8c69b67faa74 | |
| # Requirements: numpy & requests ( sudo apt install python-{numpy,requests} ) | |
| from __future__ import print_function | |
| from datetime import datetime | |
| import csv | |
| import collections | |
| import json | |
| import numpy |
| // Copyright 2015 The Chromium Authors. All rights reserved. | |
| // | |
| // Redistribution and use in source and binary forms, with or without | |
| // modification, are permitted provided that the following conditions are | |
| // met: | |
| // | |
| // * Redistributions of source code must retain the above copyright | |
| // notice, this list of conditions and the following disclaimer. | |
| // * Redistributions in binary form must reproduce the above | |
| // copyright notice, this list of conditions and the following disclaimer |
I hereby claim:
To claim this, I am signing this object:
| # .ycm_extra_conf.py for kernel | |
| import os | |
| # Attention: | |
| # File path not starting with / or = will be expanded. | |
| flags_c = [ | |
| '-Wall', | |
| '-Wundef', | |
| '-Wstrict-prototypes', |
| #!/usr/bin/env python3 | |
| from sys import argv | |
| from os import path, system | |
| from urllib.parse import unquote | |
| if len(argv) == 1: | |
| print("Usage: urldecode.py FILES...") | |
| exit |