Metadata in PDF files can be stored in at least two places:
- the Info Dictionary, a limited set of key/value pairs
- XMP packets, which contain RDF statements expressed as XML
<?php | |
set_include_path(get_include_path() . PATH_SEPARATOR . realpath(dirname(__FILE__) . '/Elastica/lib')); | |
function elasticsearch_autoload($class) { | |
$file = str_replace('_', '/', $class) . '.php'; | |
require_once $file; | |
} | |
spl_autoload_register('elasticsearch_autoload'); | |
defined('BASE_PATH') || define('BASE_PATH', realpath(dirname(__FILE__))); |
+-------------+----------+--------------------------------------------+ | |
| uploadcount | log_user | user_name | | |
+-------------+----------+--------------------------------------------+ | |
| 1687970 | 910182 | GeographBot | | |
| 893778 | 40038 | File Upload Bot (Magnus Manske) | | |
| 667641 | 344180 | BotMultichillT | | |
| 315174 | 102944 | GerWsUpload | | |
| 284299 | 2120548 | Slick-o-bot | | |
| 219123 | 152505 | Flickr upload bot | | |
| 132485 | 1560296 | FSII | |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from upload_tagged_photos import ImageUploader | |
def TestUploadWiki(): | |
url = "http://clevelandwiki.org/api/" | |
user_name = raw_input("What is your username?") | |
api_key = getpassword("What is your api_key?") |
#!/usr/bin/env python | |
# Authors: Legoktm, Betacommand | |
# License: MIT License | |
import datetime | |
import functools | |
import logging | |
import mwparserfromhell | |
import pywikibot |
# -*- coding: utf-8 -*- | |
# SUL audit thingy | |
# GPL v2 / MIT License | |
import calendar | |
import datetime | |
from collections import defaultdict, OrderedDict | |
import os | |
import time | |
import MySQLdb |
reedy@tin:~$ mwgrep --max-results 350 toolserver.org | |
afwiki MediaWiki:Gadget-popups.js | |
afwiki MediaWiki:GeoHack.js | |
alswiki MediaWiki:Common.js | |
alswiki MediaWiki:Gadget-toolserver-integration.js | |
arcwiki MediaWiki:Gadget-popups.js | |
aswiki MediaWiki:Gadget-citations.js | |
barwiki MediaWiki:Common.css | |
be_x_oldwiki MediaWiki:Gadget-Popups.js | |
be_x_oldwiki MediaWiki:RefToolbar.js |
#!/usr/bin/python | |
#-*- coding:utf8 -*- | |
import cairo | |
import pango | |
import pangocairo | |
surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, 600, 100) | |
context = cairo.Context(surface) | |
pc = pangocairo.CairoContext(context) |
The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Fri, 13 Dec 2013 15:07:05 GMT till Sat, 13 Dec 2014 15:07:05 GMT.
Only first 1000 GitHub users according to the count of followers are taken. This is because of limitations of GitHub search. Sorting algo in pseudocode:
githubUsers
.filter((user) -> user.followers > 11)