Skip to content

Instantly share code, notes, and snippets.

Marcel Ruiz Forns marcelrf

View GitHub Profile
View gist:2d5c33a27c5bb170260b7d71aac6c5bb
#!/usr/bin/python3
# -*- coding: utf-8 -*-
from collections import defaultdict
import argparse
import itertools
import random
import sys
BOOTSTRAP_SAMPLES = 100
View article-comparison.html
<!--
This is a sample application that shows how to use the Pageview API.
Read more here: https://wikitech.wikimedia.org/wiki/Analytics/AQS/Pageview_API
The most important code is inside the updateChart function, towards the end of the file.
The rest of the code is just html, css and input setup.
Disclaimer: This is just sample code, it has not been tested in all browsers/devices.
Distributed under the Unlicense: http://unlicense.org/
-->
You can’t perform that action at this time.