Skip to content

Instantly share code, notes, and snippets.

View hcayless's full-sized avatar

Hugh A. Cayless hcayless

View GitHub Profile
@hcayless
hcayless / gist:2653676
Created May 10, 2012 14:54
Example standoff name markup
<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="http://www.stoa.org/epidoc/schema/latest/tei-epidoc.rng" type="xml"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" n="0029;;24" xml:id="o.leid.24" xml:lang="en">
<teiHeader>
<fileDesc>
<titleStmt>
<title>o.leid.24</title>
</titleStmt>
<publicationStmt>
<authority>NYU Digital Library Technology Services</authority>
@hcayless
hcayless / gist:2141231
Created March 20, 2012 20:57
New TM Names RDF
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:cito="http://purl.org/spar/cito/"
>
<rdf:Description rdf:about="http://www.trismegistos.org/ref/30558">
<rdfs:label>Τασῆμις</rdfs:label>
<dcterms:source rdf:resource="http://papyri.info/trismegistos/232"/>
@hcayless
hcayless / gist:2135938
Created March 20, 2012 14:02
isaw foaf
rapper: Parsing URI file:///Users/hcayless/Development/ISAW/testfoaf.rdf with parser rdfxml
rapper: Serializing with serializer ntriples
<http://isaw.nyu.edu> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/PersonalProfileDocument> .
<http://isaw.nyu.edu> <http://xmlns.com/foaf/0.1/maker> <file:///Users/hcayless/Development/ISAW/testfoaf.rdf#me> .
<http://isaw.nyu.edu> <http://xmlns.com/foaf/0.1/primaryTopic> <file:///Users/hcayless/Development/ISAW/testfoaf.rdf#me> .
<file:///Users/hcayless/Development/ISAW/testfoaf.rdf#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
<file:///Users/hcayless/Development/ISAW/testfoaf.rdf#me> <http://xmlns.com/foaf/0.1/name> "Christopher Warner" .
<file:///Users/hcayless/Development/ISAW/testfoaf.rdf#me> <http://xmlns.com/foaf/0.1/mbox> <mailto:christopher.warner@nyu.edu> .
<file:///Users/hcayless/Development/ISAW/testfoaf.rdf#me> <http://xmlns.com/foaf/0.1/phone> <tel:212-992-7845> .
<file:///Users/hcayle
@hcayless
hcayless / gist:1941583
Created February 29, 2012 15:26
Solr Exception
Feb 29, 2012 10:24:41 AM org.apache.solr.common.SolrException log
SEVERE: java.lang.NoClassDefFoundError: org/apache/lucene/queryParser/surround/parser/ParseException
at info.papyri.surround.SurroundQParserPlugin.createParser(SurroundQParserPlugin.java:41)
at org.apache.solr.search.QParser.getParser(QParser.java:317)
at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:113)
at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:173)
at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1372)
at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:356)
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:252)
@hcayless
hcayless / gist:1790438
Created February 10, 2012 15:55
TM RDF v3
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:gawd="http://gawd.atlantides.org/terms/"
>
<rdf:Description rdf:about="http://www.trismegistos.org/ref/30558">
<rdf:type rdf:resource="gawd:Attestation"/>
<rdfs:label>Τασῆμις</rdfs:label>
@hcayless
hcayless / gist:1780925
Created February 9, 2012 16:31
Revised TM RDF
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:cito="http://purl.org/spar/cito/"
>
<rdf:Description rdf:about="http://www.trismegistos.org/ref/30558">
<rdfs:label>Τασῆμις</rdfs:label>
<dcterms:source rdf:resource="http://papyri.info/trismegistos/232"/>
@hcayless
hcayless / gist:1780826
Created February 9, 2012 16:04
TM RDF
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:gawd="http://gawd.atlantides.org/terms/"
>
<rdf:Description rdf:about="http://papyri.info/trismegistos/232">
<gawd:attestsTo>
<rdf:Description rdf:about="http://www.trismegistos.org/ref/30558">
@hcayless
hcayless / gist:1732171
Created February 3, 2012 20:12
TM RDF
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:gawd="http://gawd.atlantides.org/terms/"
>
<rdf:Description rdf:about="http://papyri.info/trismegistos/232">
<gawd:attestsTo>
<rdf:Description rdf:about="http://www.trismegistos.org/refs/30558">
@hcayless
hcayless / gist:1351854
Created November 9, 2011 15:49
board rank
mysql> select * from boards\G
*************************** 1. row ***************************
id: 1
title: DDbDP Editorial Board
category: NULL
decree_id: NULL
created_at: 2010-03-05 13:03:52
updated_at: 2011-06-06 14:08:48
finalizer_user_id: NULL
identifier_classes: ---
@hcayless
hcayless / gist:1337711
Created November 3, 2011 20:35
log message
Malformed URL in retrieveRecords: no protocol: 4034Malformed URL in retrieveRecords: no protocol: 12362Malformed URL in retrieveRecords: no protocol: 61299Malformed URL in retrieveRecords: no protocol: 19417Malformed URL in retrieveRecords: no protocol: 75514Malformed URL in retrieveRecords: no protocol: 75509Malformed URL in retrieveRecords: no protocol: 20569Malformed URL in retrieveRecords: no protocol: 13891Malformed URL in retrieveRecords: no protocol: 3582Malformed URL in retrieveRecords: no protocol: 35950Malformed URL in retrieveRecords: no protocol: 17039Malformed URL in retrieveRecords: no protocol: 12587Malformed URL in retrieveRecords: no protocol: 12588Malformed URL in retrieveRecords: no protocol: 12591Malformed URL in retrieveRecords: no protocol: 13376