Skip to content

Instantly share code, notes, and snippets.

View adam3smith's full-sized avatar

Sebastian Karcher adam3smith

View GitHub Profile
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" default-locale="de-DE" version="1.0" demote-non-dropping-particle="never">
<info>
<title>Title</title>
<id>http://www.zotero.org/styles/note-based-on-european-retail-research</id>
<link rel="self" href="http://www.zotero.org/styles/note-based-on-european-retail-research"/>
<author>
<name>tsolga</name>
</author>
<category citation-format="note"/>
@adam3smith
adam3smith / edited-book.csl
Last active February 27, 2016 00:54
Minimal demonstration of failure to inherit label when substitute elements are in a conditional.
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:res="http://purl.org/vocab/resourcelist/schema#"
xmlns:z="http://www.zotero.org/namespaces/export#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:address="http://schemas.talis.com/2005/address/schema#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:bibo="http://purl.org/ontology/bibo/">
<z:UserItem rdf:about="http://zotero.org/users/2433/items/7WJAW3IE">
<res:resource rdf:resource="urn:isbn:978-0-19-920648-3"/>
<!DOCTYPE html>
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Zotero Report</title>
<link rel="stylesheet" type="text/css" href="zotero://report/detail.css"/>
<link rel="stylesheet" type="text/css" media="screen,projection" href="zotero://report/detail_screen.css"/>
<link rel="stylesheet" type="text/css" media="print" href="zotero://report/detail_print.css"/>
</head>
<body>
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" default-locale="fr-FR" version="1.0" demote-non-dropping-particle="sort-only">
<info>
<title>BZR-17 (French)</title>
<id>http://www.zotero.org/styles/traces</id>
<link href="http://www.zotero.org/styles/traces" rel="self"/>
<author>
<name>Anton Perdoncin</name>
<email>anton.perdoncin@gmail.com</email>
</author>
@adam3smith
adam3smith / example1.txt
Created December 11, 2013 16:19
PRAGMA integrity_check; output of zotero.sqlite.damage
On tree page 55 cell 0: Bad ptr map entry key=133587 expected=(5,55) got=(5,117921)
On tree page 55 cell 1: Bad ptr map entry key=133588 expected=(5,55) got=(3,132541)
On tree page 55 cell 2: Bad ptr map entry key=133595 expected=(5,55) got=(3,133429)
On tree page 55 cell 3: Bad ptr map entry key=133599 expected=(5,55) got=(5,14)
On tree page 55 cell 4: Bad ptr map entry key=133602 expected=(5,55) got=(5,133076)
On tree page 55 cell 5: Bad ptr map entry key=133606 expected=(5,55) got=(5,4492)
On tree page 55 cell 6: Bad ptr map entry key=133610 expected=(5,55) got=(5,133395)
On page 55 at right child: Bad ptr map entry key=133614 expected=(5,55) got=(5,129943)
On tree page 112 cell 0: Bad ptr map entry key=133593 expected=(5,112) got=(3,118658)
On tree page 112 cell 1: Bad ptr map entry key=133594 expected=(5,112) got=(4,133593)
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-US">
<info>
<title>Emerald journals (Harvard)</title>
<id>http://www.zotero.org/styles/emerald-harvard</id>
<link href="http://www.zotero.org/styles/emerald-harvard" rel="self"/>
<link href="http://www.emeraldinsight.com/authors/guides/write/harvard.htm?part=2" rel="documentation"/>
<author>
<name>Sebastian Karcher</name>
</author>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:res="http://purl.org/vocab/resourcelist/schema#"
xmlns:z="http://www.zotero.org/namespaces/export#"
xmlns:ctag="http://commontag.org/ns#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:bibo="http://purl.org/ontology/bibo/"
xmlns:sioct="http://rdfs.org/sioc/types#"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<z:UserItem rdf:about="http://zotero.org/users/2433/items/JZ8XT7XC">
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:res="http://purl.org/vocab/resourcelist/schema#"
xmlns:z="http://www.zotero.org/namespaces/export#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:bibo="http://purl.org/ontology/bibo/"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<z:UserItem rdf:about="http://zotero.org/users/2433/items/BCWPT28V">
<res:resource rdf:resource="info:doi/10.1088/1748-0221/7/03/P03012"/>
</z:UserItem>
{
"translatorID": "248bebf1-46ab-4067-9f93-ec3d2960d0cd",
"label": "Scannable Cite",
"creator": "Scott Campbell, Avram Lyon, Nathan Schneider, Sebastian Karcher, Frank Bennett",
"target": "html",
"minVersion": "3.0",
"maxVersion": "",
"priority": 100,
"displayOptions": {
"exportCharset": "UTF-8"