View july21.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<dataset> | |
<sequence><author>Mathews, Jay</author><date>(2009):</date><title>Work Hard. Be Nice.: How Two Inspired Teachers Created the Most Promising Schools in America.</title><location>Chapel Hill:</location><publisher>Alconquin Books</publisher><date>2009</date><edition>Kindle Edition</edition><note>Mathews, Jay: Work Hard. Be Nice.: How Two Inspired Teachers Created the Most Promising Schools in America. Chapel Hill: Alconquin Books. Kindle Edition.</note></sequence> | |
<sequence><author>Maier, Uwe/ Hofmann, Florian/ Zeitler, Sigrid</author><date>(2012):</date><title>Formative Leistungsdiagnostik. Grundlagen und Praxisbeispiele.</title><location>München:</location><publisher>Oldenbourg.</publisher><journal>In: Schulmanagement Handbuch 141.</journal></sequence> | |
<sequence><author>Maier, Uwe</author><date>(2010):</date><title>Formative Assessment - Ein erfolgversprechendes Konzept zur Reform von Unterricht und Leistungsmessung?</title><journal>In: Zeitschrift für Erziehung |
View tropy-items-simplified-for-import.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"@type": "Item", | |
"template": "https://tropy.org/v1/templates/dc", | |
"http://purl.org/dc/elements/1.1/title": "Veduta di Castel St Angelo. S. Pietro", | |
"http://purl.org/dc/elements/1.1/creator": " Eugène Constant", | |
"http://purl.org/dc/elements/1.1/type": "Foto", | |
"http://purl.org/dc/elements/1.1/source": " Gilman Collection, Museum Purchase, 2005 ", | |
"http://purl.org/dc/elements/1.1/rights": "Public Domain", | |
"http://purl.org/dc/elements/1.1/identifier": "2005.100.799 (9)", |
View convert.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'json' | |
input = ARGV[0] | |
items = [] | |
def create_item(title) | |
{ | |
'template' => 'https://tropy.org/v1/templates/generic', |
View find-photos.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
if [ $# -lt 2 ]; then | |
echo | |
echo "Usage: $0 PROJECT SEARCH_PATH" | |
echo "Find missing photos in your Tropy project" | |
echo | |
echo "Please specify the Tropy PROJECT file and a folder as the SEARCH_PATH" |
View style-gen.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'anystyle' | |
require 'citeproc/ruby' | |
require 'csl/styles' | |
# Load all dependent CSL styles and create a Renderer | |
# Those should be cached! | |
styles = CSL::Style.list.map { |id| CSL::Style.load id }.reject { |s| s.bibliography.nil? } | |
cp = CiteProc::Ruby::Renderer.new | |
# Parse a reference to CSL/JSON |
View duplicates
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
the-open-university-numeric-superscript#publisher bulletin-de-la-societe-prehistorique-francaise#publisher who-europe-harvard#publisher the-open-university-numeric#publisher archeologie-medievale#publisher universita-pontificia-salesiana-es#publisher universita-pontificia-salesiana-it#publisher harvard-university-of-wolverhampton#publisher revista-de-filologia-espanola#publisher harvard-university-of-greenwich#publisher indoor-air#publisher organization-science#publisher harvard-leeds-metropolitan-university#publisher the-journal-of-eukaryotic-microbiology#publisher universita-pontificia-salesiana-pt-br#publisher universita-pontificia-salesiana-fr#publisher traces#publisher universita-di-bologna-lettere#publisher gallia#publisher who-europe-numeric#publisher universita-pontificia-salesiana#publisher the-open-university-harvard#publisher the-open-university-a251#publisher water-science-and-technology#publisher socio-economic-review#publisher oxford-the-university-of-new-south-wales#publisher universita-pontifi |
View entities.rb.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
101d100 | |
< "rightleftharpoons" => "<mo>⇌</mo>", | |
179c178 | |
< "eqslantgtr" => "<mo>⋝</mo>", | |
--- | |
> #"eqslantgtr" => "<mo>⋝</mo>", | |
229d227 | |
< "ntrianglelefteq" => "<mo>⋬</mo>", | |
245d242 | |
< "nsupseteq" => "<mo>⊉</mo>", |
View _config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gems: | |
- 'jekyll/scholar' | |
scholar: | |
bibliography_template: "{{ reference | replace_first: 'Zelle, R. M.', '<b>Zelle, R. M.</b>' }}" |
View predict.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'csl/styles' | |
require 'citeproc/ruby' | |
require 'httparty' | |
require 'thread' | |
API_KEY = '' # Add your key here! | |
exit if API_KEY.empty? |
View expand.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'csl/styles' | |
require 'citeproc/ruby' | |
r = CiteProc::Ruby::Renderer.new | |
while input = gets | |
puts r.format_page_range input, 'expanded' | |
end |
NewerOlder