Skip to content

Instantly share code, notes, and snippets.

View peterstadler's full-sized avatar

Peter Stadler peterstadler

View GitHub Profile
@peterstadler
peterstadler / tei-database-rebuild.sh
Created September 15, 2014 10:14
updating p5subset.xml at the TEI's eXist db with curl
#!/bin/sh
LOCAL_PATH_P5SUBSET=/var/www/vhosts/tei-c.org/projects/tei/web/Vault/P5/current/xml/tei/odd/p5subset.xml
REMOTE_PATH_P5SUBSET=localhost:8080/exist/rest/db/TEI/p5subset.xml
LOCAL_PATH_INDEX_CONFIGURATION=/var/www/vhosts/tei-c.org/projects/tei/web/Vault/P5/current/xml/tei/xquery/index.xconf
REMOTE_PATH_INDEX_CONFIGURATION=localhost:8080/exist/rest/db/system/config/db/TEI/index.xconf
EXIST_USER=
EXIST_USER_PASS=
# All the parameters above can and shall be overwritten by a config file
@peterstadler
peterstadler / example-chamisso_2.xml
Last active August 29, 2015 14:06
A simple example for an alternative <ct:correspDesc> context and structure
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="https://raw.github.com/TEI-Correspondence-SIG/correspDesc/master/proposal_2.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0"
xmlns:ct="http://wiki.tei-c.org/index.php/SIG:Correspondence/task-force-correspDesc">
<teiHeader>
<fileDesc>
<titleStmt>
<title>Letter from Adelbert von Chamisso to Louis de La Foye</title>
<title type="sub">Example TEI document with the inclusion of the proposed ct:correspDesc element for the encoding of correspondence specific meta data</title>
<respStmt>
@peterstadler
peterstadler / ranges.json
Created April 15, 2014 09:40
Proposal for a SMuFL ranges.json in addition to the current meta data files
{
"U+E000–U+E00F": {
"desc": "Staff brackets and dividers",
"start": "U+E000",
"end": "U+E00F"
},
"U+E010–U+E02F": {
"desc": "Staves",
"start": "U+E010",
"end": "U+E02F"