Skip to content

Instantly share code, notes, and snippets.

Note 1: The following CQ curl commands assumes a admin:admin username and password.
Note 2: For Windows/Powershell users: use two "" when doing a -F cURL command.
Example: -F"":operation=delete""
Note 3: Quotes around name of package (or name of zip file, or jar) should be included.
Uninstall a bundle (use http://localhost:4505/system/console/bundles to access the Apache Felix web console)
curl -u admin:admin -daction=uninstall http://localhost:4505/system/console/bundles/"name of bundle"
Upload a package AND install
curl -u admin:admin -F file=@"name of zip file" -F name="name of package"
# How to perform a release with git & maven following the git flow conventions
# ----------------------------------------------------------------------------
# Finding the next version: you can see the next version by looking at the
# version element in "pom.xml" and lopping off "-SNAPSHOT". To illustrate,
# if the pom's version read "0.0.2-SNAPSHOT", the following instructions would
# perform the release for version "0.0.2" and increment the development version
# of each project to "0.0.3-SNAPSHOT".
# branch from develop to a new release branch
git checkout develop
@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==
@asigner
asigner / aem-console-searchbox.user.js
Last active March 7, 2017 08:34
Adds a search box to the AEM WebConsole
// ==UserScript==
// @name AEM Web Console Search Box
// @namespace http://signer.info
// @version 0.1
// @description Adds a search box to the AEM WebConsole
// @author Andy Signer
// @match http://localhost:4502/system/console*
// @match http://localhost:4503/system/console*
// @grant none
// ==/UserScript==
# Function to create a journal entry for the day and open it in VSCode.
# The following structure is create in $HOME/wiki or $WIKI_ROOT when set.
#
# journal:
# - 2019:
# - 12-December:
# - 2020-12-24.md
# - 2020-12-25.md
# - 2020-12-26.md
# - 2020: