Skip to content

Instantly share code, notes, and snippets.

View cm3's full-sized avatar

KAMEDA Akihiro cm3

  • National Museum of Japanese History
  • Chiba, Japan
  • X @cm3
View GitHub Profile
@stain
stain / example.xml
Created January 28, 2013 16:54
XSLT for translating OWL ontologies in RDF/XML format (specifically from OWL API/Protege) to a simplistic HTML, with a hyperlink to documentation.html. To use, modify the XML headers of the OWL file as in the example.xml below.
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="owl2html.xslt"?>
<rdf:RDF xmlns="http://example.com/ontology/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:dct="http://purl.org/dc/terms/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
@zonuexe
zonuexe / nanorc.keybindings
Last active October 10, 2015 22:28
nano editorでWindows風のキーバインドなの
# Windows (notepad) like keybinding for nano editor
# written by zonuexe, license under GPLv3 or NYSL(0.9982)
# lastupdate: h240921
#
# how to install
# a. rename and move this file to $HOME/.nanorc
# % mv nanorc.keybindings $HOME/.nanorc
# b. concatenate this file with tail of $HOME/.nanorc
# % cat nanorc.keybindings >> $HOME/.nanorc