Skip to content

Instantly share code, notes, and snippets.

View ItGumby's full-sized avatar

Brian Street ItGumby

View GitHub Profile
ItGumby /
Created November 16, 2017 22:38 — forked from floriankraft/
Some useful JCR queries (XPATH, SQL2) for AEM/CQ development.


All nodes with a specific name

SELECT * FROM [nt:unstructured] AS node
WHERE ISDESCENDANTNODE(node, "/search/in/path")
AND NAME() = "nodeName"

All pages below content path

ItGumby / build.gradle
Last active October 11, 2017 07:28 — forked from ysb33r/gist:0c534d165863628a07cc
gradle build file for presentations from asciidoctor and deck.js
// You will need the VFS plugin
buildscript {
repositories {
dependencies {
classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.0'
classpath 'org.ysb33r.gradle:vfs-gradle-plugin:0.5'
classpath 'commons-httpclient:commons-httpclient:3.1'