Skip to content

Instantly share code, notes, and snippets.

Sylvester Keil inukshuk

Block or report user

Report or block inukshuk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View entities.rb.diff
101d100
< "rightleftharpoons" => "<mo>&#x21CC;</mo>",
179c178
< "eqslantgtr" => "<mo>&#x22DD;</mo>",
---
> #"eqslantgtr" => "<mo>&#x22DD;</mo>",
229d227
< "ntrianglelefteq" => "<mo>&#x22EC;</mo>",
245d242
< "nsupseteq" => "<mo>&#x2289;</mo>",
@inukshuk
inukshuk / duplicates
Last active Aug 29, 2015
Duplicate CSL Macros
View duplicates
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 style-gen.rb
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
@inukshuk
inukshuk / find-photos.sh
Created Nov 15, 2019
Find Missing Tropy Photos
View find-photos.sh
#!/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"
You can’t perform that action at this time.