This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import logging | |
import pywikibot | |
import csv | |
site = pywikibot.Site('wikidata', 'wikidata') | |
def load_data(): | |
with open('data.csv', newline='') as csvfile: | |
return list(csv.DictReader(csvfile)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this | |
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
//! Builds display lists from flows and fragments. | |
//! | |
//! Other browser engines sometimes call this "painting", but it is more accurately called display | |
//! list building, as the actual painting does not happen here—only deciding *what* we're going to | |
//! paint. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"thread": "MainThread", "level": "DEBUG", "pid": 11830, "component": "vcs", "source": "web-platform-tests", "time": 1537217745292, "action": "log", "message": "git rev-parse --show-toplevel"} | |
{"thread": "MainThread", "level": "DEBUG", "pid": 11830, "component": "vcs", "source": "web-platform-tests", "time": 1537217745295, "action": "log", "message": "git rev-parse --show-cdup"} | |
{"thread": "MainThread", "level": "DEBUG", "pid": 11830, "component": "vcs", "source": "web-platform-tests", "time": 1537217745299, "action": "log", "message": "git rev-parse HEAD"} | |
{"source": "web-platform-tests", "thread": "MainThread", "time": 1537217750089, "action": "log", "message": "Using 4 client processes", "level": "INFO", "pid": 11830} | |
{"thread": "MainThread", "level": "INFO", "pid": 11852, "source": "web-platform-tests", "time": 1537217750659, "action": "log", "message": "Starting http server on 127.0.0.1:8000"} | |
{"thread": "MainThread", "level": "INFO", "pid": 11854, "source": "web-platform-tests", "time": 1537217750670, " |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Display List from Epoch(0) | |
((0, 1), (1024, 1967.5834), [ | |
( | |
item: PushStackingContext(( | |
stacking_context: ( | |
scroll_policy: Scrollable, | |
transform: None, | |
transform_style: Flat, | |
perspective: None, | |
mix_blend_mode: Normal, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Display List from Epoch(1) | |
((0, 1), (600, 400), [ | |
( | |
item: PushStackingContext(( | |
stacking_context: ( | |
scroll_policy: Scrollable, | |
transform: None, | |
transform_style: Flat, | |
perspective: None, | |
mix_blend_mode: Normal, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error running mach: | |
['clean-cargo-cache'] | |
The error occurred in the implementation of the invoked mach command. | |
This should never occur and is likely a bug in the implementation of that | |
command. Consider filing a bug for this issue. | |
If filing a bug, please include the full output of mach, including this error |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (int i = 0; i < q; i++) { | |
for (int j = 0; j < q; j++) { | |
int I = q * coords[0] + i; | |
int J = q * coords[1] + j; | |
mat[i * q + j] = I * dim + J; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<style> | |
#foo { | |
width: 200px; | |
height: 200px; | |
border: solid; | |
background: linear-gradient(to bottom right, transparent 50%, #36c 50%); | |
background-size: 30px 30px; | |
background-position: 10px 10px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./mach build --dev -v | |
cargo build --manifest-path /home/michael/Dokumente/git/servo/ports/servo/Cargo.toml -v | |
Fresh either v1.1.0 | |
Fresh lazycell v0.4.0 | |
Fresh cfg-if v0.1.2 | |
Fresh same-file v0.1.3 | |
Fresh size_of_test v0.0.1 (file:///home/michael/Dokumente/git/servo/components/size_of_test) | |
Fresh khronos_api v2.0.0 | |
Fresh rustc-serialize v0.3.24 | |
Fresh half v1.0.0 |