Skip to content

Instantly share code, notes, and snippets.

Dannes Wessels dizzzz

Block or report user

Report or block dizzzz

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
dizzzz / duplicates_in_sequence.xq
Last active Sep 4, 2018
xquery find duplicates in sequence
View duplicates_in_sequence.xq
(: wolfgang :)
for $i in (1, 5, 2, 4, 5)
group by $j := $i
    $j || ": " || count($i)
(: adam :)
let $seq := (1, 5, 2, 4, 5)
dizzzz / functionSignatureTests.xquery
Last active Apr 8, 2019
A script to generate function-signature-tests for xquery functions in eXist-db
View functionSignatureTests.xquery
xquery version "3.1";
module namespace xqfunctions="";
import module namespace inspect="" at "java:org.exist.xquery.functions.inspect.InspectionModule";
declare namespace test="";
declare function xqfunctions:cardinality($cardinality as xs:string) as xs:string {
dizzzz / log4j.xml
Created Nov 20, 2016
eXist-db v2.2: set messaging/replication loglevel to debug
View log4j.xml
<!-- messaging -->
<category name="com.exist.jms" additivity="false">
<priority value="debug"/>
<appender-ref ref="exist.core"/>
You can’t perform that action at this time.