Skip to content

Instantly share code, notes, and snippets.


Marcel Ruiz Forns marcelrf

  • Wikimedia Foundation
  • Spain
View GitHub Profile
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from phabricator import Phabricator
from datetime import datetime, timedelta
class Task(object):
def __init__(self, maniphest, transactions, project, default_column, base_url):
View gist:2d5c33a27c5bb170260b7d71aac6c5bb
# -*- coding: utf-8 -*-
from collections import defaultdict
import argparse
import itertools
import random
import sys
View article-comparison.html
This is a sample application that shows how to use the Pageview API.
Read more here:
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: