Skip to content

Instantly share code, notes, and snippets.

View skhanker's full-sized avatar
🐢
I may be slow to respond.

Stefan Khan-Kernahan skhanker

🐢
I may be slow to respond.
View GitHub Profile
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="Invoice"
elementFormDefault="qualified"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="BaseTypes.xsd" />
<xs:include schemaLocation="Account.xsd" />
<xs:include schemaLocation="Attachment.xsd" />
<xs:include schemaLocation="Contact.xsd" />
<xs:include schemaLocation="CurrencyCode.xsd" />
@skhanker
skhanker / faculty-pubs-chart.php
Last active March 3, 2016 19:17
faculty-pubs-chart
<!DOCTYPE html>
<meta charset="utf-8">
<style>
.bar {
fill: steelblue;
}
.bar:hover {
fill: brown;
@skhanker
skhanker / ubc-download-all-data.php
Created March 3, 2016 14:13
ubc-download-all-data
#!/usr/bin/php
<?php
###################################################################################
# Application Open Collections Unstructured Full Text Downloader
# Organization The University of British Columbia
# Author Stefan Khan-Kernahan
# Modifier Sean McNamara
# Project UBC Library Open Collections
#
# Purpose The following script allows you to download unstructured / flat full text from Open Collections
@skhanker
skhanker / ubc-faculty-pubs-histogram.json
Created March 3, 2016 04:51
UBC Faculty Publications - Histogram
{
"from": 0,
"size": 0,
"body": {
"query": {
"filtered": {
"query": {
"query_string": {
"default_operator": "AND",
"query": "*"