This file has been truncated, but you can view the full file.
This file contains hidden or 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
This file contains hidden or 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
| # with AJAX withCredentials=false (cookies NOT sent) | |
| Header always set Access-Control-Allow-Origin "*" | |
| Header always set Access-Control-Allow-Methods "POST, GET, PUT, OPTIONS, PATCH, DELETE" | |
| Header always set Access-Control-Allow-Headers "X-Accept-Charset,X-Accept,Content-Type" | |
| RewriteEngine On | |
| RewriteCond %{REQUEST_METHOD} OPTIONS | |
| RewriteRule ^(.*)$ $1 [R=200,L,E=HTTP_ORIGIN:%{HTTP:ORIGIN}]] | |
| # with AJAX withCredentials=true (cookies sent, SSL allowed...) | |
| SetEnvIfNoCase ORIGIN (.*) ORIGIN=$1 |
This file contains hidden or 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
| if (downloadRatio < 1.0) { | |
| self.debug.log("Download ratio is poor."); | |
| if (current > 0) { | |
| self.debug.log("We are not at the lowest bitrate, so switch down."); | |
| self.manifestExt.getRepresentationFor(current - 1, data).then( | |
| function (representation1) { | |
| self.manifestExt.getBandwidth(representation1).then( | |
| function (oneDownBandwidth) { | |
| self.manifestExt.getRepresentationFor(current, data).then( | |
| function (representation2) { |
This file contains hidden or 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/sh | |
| # | |
| # gen-webid-cert.sh: WebID Self-signed Certificate Generator | |
| # | |
| # This is free and unencumbered software released into the public domain. | |
| # | |
| # Anyone is free to copy, modify, publish, use, compile, sell, or | |
| # distribute this software, either in source code form or as a compiled | |
| # binary, for any purpose, commercial or non-commercial, and by any | |
| # means. |
This file contains hidden or 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/sh | |
| # this script sets some parameters to get a useable configuration | |
| # these changes are not persistent, you may want to include this in your autostart | |
| # 1 finger = left click, 2 finger = right click, 3 finger = middle click | |
| synclient TapButton2=3 | |
| synclient TapButton3=2 | |
| synclient ClickFinger2=3 | |
| synclient ClickFinger3=2 |
This file contains hidden or 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
| function AjaxError(jqXHR, textStatus, errorThrown) { | |
| this.name = "AjaxError"; | |
| this.message = textStatus; | |
| this.jqXHR = jqXHR; | |
| this.errorThrown = errorThrown; | |
| } | |
| AjaxError.prototype = new Error(); | |
| AjaxError.prototype.constructor = AjaxError; | |
| (function($) { |
This file contains hidden or 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
| * { | |
| font-size: 12pt; | |
| font-family: monospace; | |
| font-weight: normal; | |
| font-style: normal; | |
| text-decoration: none; | |
| color: black; | |
| cursor: default; | |
| } |
This file contains hidden or 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
| @prefix : <http://localhost/jena_example/#> . | |
| @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
| @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
| @prefix tdb: <http://jena.hpl.hp.com/2008/tdb#> . | |
| @prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> . | |
| @prefix text: <http://jena.apache.org/text#> . | |
| @prefix fuseki: <http://jena.apache.org/fuseki#> . | |
| ## Example of a TDB dataset and text index | |
| ## Initialize TDB |
This file contains hidden or 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
| s/biblio:Paper/schema:ScholarlyArticle/g | |
| s/bibo:shortTitle/schema:alternateName/g | |
| s/cal:dtend/schema:endDate/g | |
| s/cal:dtstart/schema:startDate/g | |
| s/cal:location/schema:location/g | |
| s/cal:Vevent/schema:Event/g | |
| s/cc:license/schema:license/g | |
| s/dcterms:abstract/schema:abstract/g | |
| s/dcterms:contributor/schema:contributor/g | |
| s/dcterms:creator/schema:creator/g |
This file contains hidden or 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
| <link-relations.html> <http://www.w3.org/1999/xhtml/vocab#stylesheet> <link-relations.html../_support/iana-registry.css> . | |
| <http://www.iana.org/assignments/link-relations/> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/02/skos/core#ConceptScheme> . | |
| <http://www.iana.org/assignments/relation/about> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/02/skos/core#Concept> . | |
| <http://www.iana.org/assignments/relation/about> <http://www.w3.org/2004/02/skos/core#inScheme> <http://www.iana.org/assignments/link-relations/> . | |
| <http://www.iana.org/assignments/relation/about> <http://purl.org/dc/terms/label> "about" . | |
| <http://www.iana.org/assignments/relation/about> <http://www.w3.org/2004/02/skos/core#prefLabel> "about" . | |
| <http://www.iana.org/assignments/relation/about> <http://purl.org/dc/terms/description> "Refers to a resource that is the subject of the link's context." . | |
| <http://www.iana.org/assignments/relation/alternate> <http://www.w3.org/1999/02/22-rdf-syntax-ns# |