Skip to content

Instantly share code, notes, and snippets.

View lenepags's full-sized avatar

Lene lenepags

View GitHub Profile
@joemaffia
joemaffia / AEM cURL
Last active February 27, 2025 19:28
AEM cURL commands
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"
Install a bundle
curl -u admin:admin -F action=install -F bundlestartlevel=20 -F
bundlefile=@"name of jar.jar" http://localhost:4505/system/console/bundles
Build a bundle
curl -u admin:admin -F bundleHome=/apps/centrica/bundles/name of bundle -F
descriptor=/apps/centrica/bundles/com.centrica.cq.wcm.core-bundle/name_of_bundle.bnd
@ugocei
ugocei / MailFormProcessor.java
Created March 11, 2015 10:07
How to avoid SlingRepository.loginAdministrative
package com.geometrixx.consulting.website.components.mailform;
public interface MailFormProcessor {
void processMailRequest(String to, String subject, String message) throws Exception;
}
@dergachev
dergachev / GIF-Screencast-OSX.md
Last active October 31, 2025 16:45
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application: