View stb-html.xsl
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" ?> | |
<!-- Root element --> | |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<!-- Output element --> | |
<xsl:output | |
method="html" | |
encoding="UTF-8" | |
doctype-public="-//W3C//DTD HTML 4.01//EN" |
View find My diaries by trip testing sparql query
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
PREFIX trips: <http://travel.univ-rouen.fr/ontologies/trips/> | |
SELECT * WHERE { | |
?diary trips:associatedTrip <http://travel.univ-rouen.fr/triamh21667rza6r>; | |
trips:isCollaborative ?diary_isCollaborative; | |
trips:public ?diary_public; | |
trips:ownerId "ow4557de". | |
} |
View add_trips_and_diaries
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
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
PREFIX users: <http://travel.univ-rouen.fr/ontologies/users/> | |
PREFIX trips: <http://travel.univ-rouen.fr/ontologies/trips/> | |
PREFIX travelers: <http://travel.univ-rouen.fr/ontologies/travelers/> | |
PREFIX global: <http://travel.univ-rouen.fr/ontologies/global/> | |
PREFIX travel: <http://travel.univ-rouen.fr/> | |
PREFIX text: <http://jena.apache.org/text#> | |
PREFIX tr: <http://www.thomsonreuters.com/> |
View insertDummyDataset.rq
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
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
PREFIX users: <http://travel.univ-rouen.fr/ontologies/users/> | |
PREFIX trips: <http://travel.univ-rouen.fr/ontologies/trips/> | |
PREFIX travelers: <http://travel.univ-rouen.fr/ontologies/travelers/> | |
PREFIX global: <http://travel.univ-rouen.fr/ontologies/global/> | |
PREFIX travel: <http://travel.univ-rouen.fr/> | |
PREFIX text: <http://jena.apache.org/text#> | |
PREFIX tr: <http://www.thomsonreuters.com/> | |
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> |
View popup.js
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
// Copyright (c) 2014 The Chromium Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
/** | |
* Get the current URL. | |
* | |
* @param {function(string)} callback called when the URL of the current tab | |
* is found. | |
*/ |
View contentscriptUtils.js
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
'use strict'; | |
// ----- utils.js ----- | |
// CONSTANTS | |
/** | |
* Defines the tags on which the extension will be triggered. | |
*/ | |
const EDITABLE_TAGS = ['INPUT', 'TEXTAREA']; |
View ProcedureQueries.java
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
package mypackage; | |
import javax.persistence.EntityManager; | |
import javax.persistence.ParameterMode; | |
import javax.persistence.PersistenceContext; | |
import javax.persistence.StoredProcedureQuery; | |
import org.springframework.stereotype.Component; | |
@Component |
View Z Command example
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
# Accessing to some directories for the first time. | |
cd Repositories/watc/src/main/java/com/mohamedibrihen/watc/service | |
cd ../endpoint | |
cd ../utils | |
# Accessing quickly via the Z command | |
sangimed@ubuntu ~ z watc service | |
sangimed@ubuntu ~ /Repositories/watc/src/main/java/com/mohamedibrihen/watc/service | |
sangimed@ubuntu ~ z endpoint |
View Mirror of pixeltris' gist
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
# https://github.com/uBlockOrigin/uAssets/pull/3517 | |
twitch-videoad.js application/javascript | |
(function() { | |
if ( /(^|\.)twitch\.tv$/.test(document.location.hostname) === false ) { return; } | |
var realFetch = window.fetch; | |
window.fetch = function(input, init) { | |
if ( arguments.length >= 2 && typeof input === 'string' && input.includes('/access_token') ) { | |
var url = new URL(arguments[0]); | |
url.searchParams.forEach(function(value, key) { | |
url.searchParams.delete(key); |
View capture_device.txt
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
# Change dshow-adev and dshow-vdev values according to your Capture device name. | |
"C:\Program Files\VideoLAN\VLC\vlc.exe" dshow:// :dshow-size="1920x1080" :dshow-vdev="USB3.0 HD Video Capture" :dshow-adev="Microphone (USB3.0 HD Audio Capture)" :dshow-aspect-ratio="16:9" :dshow-audio-samplerate=48000 :dshow-audio-channels=2 :live-caching=0 :dshow-fps=60 |
OlderNewer