View one.py
#!/usr/bin/python3
import webbrowser
# starting from http://www.pythonchallenge.com/pc/def/0.html
new_path = 2 ** 38
new_url = "http://www.pythonchallenge.com/pc/def/{}.html".format(new_path)
webbrowser.open(new_url)
# takes me to http://www.pythonchallenge.com/pc/def/map.html
View 0001-Issue-2288.-Add-0.json-fixture.patch
From 817df78e5995b12908f5b758ccb68ea14f1f63b8 Mon Sep 17 00:00:00 2001
From: Mike Taylor <miketaylr@gmail.com>
Date: Thu, 26 Apr 2018 22:58:14 -0500
Subject: [PATCH] Issue #2288. Add "0.json" fixture.
---
.gitignore | 1 -
tests/fixtures/api/issues/0.json | 74 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 74 insertions(+), 1 deletion(-)
create mode 100644 tests/fixtures/api/issues/0.json
View gist:8827e0b916ade6883adf71a9a7ec2c2b
mitaylor at omg-5 in ~/dev/webcompat-metrics on issues/28
🐓 npm run test
> webcompat-metrics@1.0.0 test /Users/mitaylor/dev/webcompat-metrics
> npm run lint && npm run test:jest
> webcompat-metrics@1.0.0 lint /Users/mitaylor/dev/webcompat-metrics
> npm run lint:JS && npm run lint:CSS
View cssPropToIDL.js
function cssPropToIDL(prop, lowercaseFlag = false) {
let output = "";
let uppercaseNext;
if (lowercaseFlag) {
prop = prop.slice(1);
}
for (let char of prop) {
if (char === String.fromCodePoint("0x002D")) {
View gist:b0a4ad86ee440e2788b035472eebb3a7
[
{
"K": 0,
"id": null,
"lang": "und",
"contentType": "video",
"b": false,
"f": false,
"c": "rotated_cubemap",
"s": [
View gist:3c11c8c36e3592f93191c17268b4f47d
<div class="parsys pagestage section hidden-mobile">
<style type="text/css">
@media screen and (min-width: 960px) {
.inline-page-stage-contentwwwupccablecomchenteasersdefaultjcrcontentpromofullwidth1pagestage {
}
}
@media screen and (min-width: 640px) and (max-width: 959px) {
.inline-page-stage-contentwwwupccablecomchenteasersdefaultjcrcontentpromofullwidth1pagestage {
background: #FFFFFF;
background: -webkit-linear-gradient(left, #FFFFFF 0%, #FFFFFF 100%);
View milestones.json
[{"url":"https://api.github.com/repos/webcompat/webcompat-tests/milestones/2","html_url":"https://github.com/webcompat/webcompat-tests/milestone/2","labels_url":"https://api.github.com/repos/webcompat/webcompat-tests/milestones/2/labels","id":2744173,"number":2,"title":"needsdiagnosis","description":"Issues in the process of being diagnosed","creator":{"login":"karlcow","id":505230,"avatar_url":"https://avatars0.githubusercontent.com/u/505230?v=4","gravatar_id":"","url":"https://api.github.com/users/karlcow","html_url":"https://github.com/karlcow","followers_url":"https://api.github.com/users/karlcow/followers","following_url":"https://api.github.com/users/karlcow/following{/other_user}","gists_url":"https://api.github.com/users/karlcow/gists{/gist_id}","starred_url":"https://api.github.com/users/karlcow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlcow/subscriptions","organizations_url":"https://api.github.com/users/karlcow/orgs","repos_url":"https://api.github.com/users/karlc
View gist:749fb790af7283c78cf55014d3bae107
Process: Python [6503]
Path: /usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Identifier: Python
Version: 2.7.14 (2.7.14)
Code Type: X86-64 (Native)
Parent Process: Python [6479]
Responsible: Python [6503]
User ID: 501
Date/Time: 2017-09-29 17:17:26.356 -0500
View gist:7ee41d84fdf22aadcb5fe33c4cc0acb4
Index: Source/JavaScriptCore/runtime/LiteralParser.cpp
===================================================================
--- Source/JavaScriptCore/runtime/LiteralParser.cpp (revision 221395)
+++ Source/JavaScriptCore/runtime/LiteralParser.cpp (working copy)
@@ -272,7 +272,7 @@ template <ParserMode mode> TokenType Lit
if (*m_ptr == ';') {
token.type = TokSemi;
token.end = ++m_ptr;
- return TokAssign;
+ return TokSemi;
View gist:4becab632120c9bf83463f2eabf1272d
🐓 cd /Users/miket/dev/compat/webcompat.com; sleep 2; intern
The reporter ID "console" is deprecated. Use "Console" instead.
PASS: firefox on any platform - Reporting (non-auth) - Submit buttons are disabled (342ms)
PASS: firefox on any platform - Reporting (non-auth) - Wyciwyg bug workaround (200ms)
PASS: firefox on any platform - Reporting (non-auth) - Report button shows via GitHub (5196ms)
PASS: firefox on any platform - Reporting (non-auth) - URL validation (1564ms)
PASS: firefox on any platform - Reporting (non-auth) - Problem type validation (776ms)
PASS: firefox on any platform - Reporting (non-auth) - (optional) browser + os validation (691ms)
PASS: firefox on any platform - Reporting (non-auth) - Image extension validation (610ms)
PASS: firefox on any platform - Reporting (non-auth) - Submits are enabled (834ms)