Skip to content

Instantly share code, notes, and snippets.

@floriankraft
floriankraft / JcrQueryLibrary.md
Last active March 27, 2025 16:22
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

@asigner
asigner / uncluttered-proles-reporting-view.user.js
Last active January 27, 2020 10:18
User script removes unused Proles activities from reporting view
// ==UserScript==
// @author Andy Signer
// @name Simple Proles Reporting View
// @namespace https://gist.github.com/asigner
// @description Uncluttered Proles reporting view. Simplifies daily reporting by removing unused activities.
// @include https://www.app2.proles.ch/leistung/stundenerf.asp*
// @version 0.0.1
// @grant none
// ==/UserScript==
@willsthompson
willsthompson / sacd_ripping_guide.md
Last active April 23, 2025 10:10
SACD Ripping Guide
@mtigas
mtigas / signal_cli_mac.sh
Last active April 10, 2021 08:38
[macos] homebrew-installed signal w/v2 group support (fixes libzkgroup warning)
#!/usr/bin/env bash
set -e
set -x
brew install signal-cli || brew upgrade signal-cli
SIGNAL_LIBEXEC_LIBDIR="`brew --prefix signal-cli`/libexec/lib"
# zkgroup-java*.jar --- remove the linux x86_64 bundled lib