Skip to content

Instantly share code, notes, and snippets.

View kirschbombe's full-sized avatar

Dawn Childress kirschbombe

  • UCLA Digital Library Program | Director, Sinai Manuscripts Digital Library | IIIF Editor
  • Los Angeles, CA
  • X @kirschbombe
View GitHub Profile
@kirschbombe
kirschbombe / calisphere_browser_qc.py
Created November 29, 2018 02:17 — forked from ngeraci/calisphere_browser_qc.py
for a given collection, open a random sample of calisphere-test pages in a web browser (for qc)
"""
This script takes a collection's CDL registry number and the number of items in a collection, and
opens calisphere-test tabs in a web browser representing a specified percentage of the collection's
total pages.
"""
import argparse
import math
import random
import sys
import webbrowser as wb
@kirschbombe
kirschbombe / LICENSE.txt
Created June 4, 2018 21:57 — forked from mejackreed/LICENSE.txt
Leaflet-IIIF Basic Example
MIT License
Copyright (c) 2016 Jack Reed
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@kirschbombe
kirschbombe / modstemplate.xml
Created April 25, 2018 00:35 — forked from sallain/modstemplate.xml
MODS Template for Open Refine
<!-- For Prefix -->
<?xml version="1.0" encoding="UTF-8"?>
<modsCollection xmlns="http://www.loc.gov/mods/v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-4.xsd">
<!-- For Row Template -->
<mods xmlns="http://www.loc.gov/mods/v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-4.xsd">
<titleInfo>
<title>{{jsonize(cells["Title"].value)}}</title>