Skip to content

Instantly share code, notes, and snippets.

@byterider
byterider / JcrQueryLibrary.md
Created November 25, 2022 10:50 — 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

@byterider
byterider / GitConfigHttpProxy.md
Created June 19, 2020 14:13 — forked from evantoli/GitConfigHttpProxy.md
Configure Git to use a proxy

Configure Git to use a proxy

In Brief

You may need to configure a proxy server if you're having trouble cloning or fetching from a remote repository or getting an error like unable to access '...' Couldn't resolve host '...'.

Consider something like:

@byterider
byterider / _nodes.txt
Created April 3, 2020 15:24 — forked from gabrielwalt/_nodes.txt
Passing request attributes with Sightly
/content
/example
@jcr:primaryType = "nt:unstructured"
@jcr:title = "Outer Component"
@sling:resourceType = "example/components/outer"
/one
@jcr:primaryType = "nt:unstructured"
@jcr:title = "Inner Component One"
@sling:resourceType = "example/components/inner"
/two
@byterider
byterider / keybase.md
Created September 26, 2014 08:04
keybase.io proof

Keybase proof

I hereby claim:

  • I am byterider on github.
  • I am byterider (https://keybase.io/byterider) on keybase.
  • I have a public key whose fingerprint is 80F0 6505 EBF7 C6AF CAA1 19BD DF2F 4FAB 2889 0382

To claim this, I am signing this object: