Skip to content

Instantly share code, notes, and snippets.

@br2490
br2490 / Object1.ttl
Last active July 26, 2016 15:16
CLAW object set for testing, ttls.
@prefix pcdm: <http://pcdm.org/models#> .
@prefix nfo: <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo/v1.2/> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
<> a pcdm:Object ;
dc:title "Object 1" ;
dc:author "Batch Ingest" ;
nfo:uuid "17f21a95-9411-4550-88da-4d48546708c1" .
@zross
zross / businesses.json
Last active April 29, 2022 02:42
Leaflet.js Tips, Step 2 (getJSON)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"Envelope" : {
"WARC-Header-Length" : "578",
"Block-Digest" : "sha1:YHKQUSBOS4CLYFEKQDVGJ457OAPD6IJO",
"Format" : "WARC",
"Actual-Content-Length" : "43428",
"WARC-Header-Metadata" : {
"WARC-Record-ID" : "<urn:uuid:ffbfb0c0-6456-42b0-af03-3867be6fc09f>",
"WARC-Warcinfo-ID" : "<urn:uuid:3169ca8e-39a6-42e9-a4e3-9f001f067bdf>",
"Content-Length" : "43428",
$view = new view();
$view->name = 'allan_robb_fleming';
$view->description = '';
$view->tag = 'default';
$view->base_table = 'islandora_solr';
$view->human_name = 'Allan Robb Fleming';
$view->core = 7;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
@peaeater
peaeater / jp22jpg.ps1
Created March 19, 2014 16:57
Produces a JPG per JP2, given an input directory. Output size defaults to 1000px width, and output name mirrors source JP2s. Requires imagemagick.
# convert .jp2 to .jpg
# requires imagemagick
Param(
[int]$size = 1000,
[string]$indir = ".",
[string]$outdir = ".\jpg"
)
if (!(test-path $outdir)) {