Skip to content

Instantly share code, notes, and snippets.

View jmanuelbr's full-sized avatar

Jose Berciano jmanuelbr

  • Cognifide
  • London
View GitHub Profile
@jmanuelbr
jmanuelbr / foundation-coral-3-snippets.js
Last active February 6, 2024 09:28
Foundation Coral UI 3 snippets
// Adapt window into UI Coral 3 object
let ui = $(window).adaptTo("foundation-ui");
/* API:
* 1. alert: function(title, message, type)
* 2. clearWait: function()
* 3. notify: function(title, message, type)
* 4. prompt: function(title, message, type, actions, callback)
* 5. wait: function(element)
* 6. waitTicker: function(title, message)
@jmanuelbr
jmanuelbr / JcrQueryLibrary.md
Created April 7, 2020 19:11 — forked from floriankraft/JcrQueryLibrary.md
Some useful JCR queries (XPATH, SQL2) for AEM/CQ development.

SQL2

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