Skip to content

Instantly share code, notes, and snippets.

It is MS Windows specific.
Adapt the paths, but use the same lower-/upper case scheme for maximum compatibility (m2eclipse or java itself - don't exactly remember which, but other variants broke my build reproducible - relies on exactly that way to write the path like in the M2_RUNTIME variable. You can determine the exact "syntax" for your system at the command line with the `dir` command).
I use it to have jdk installed as non-admin at non-standard place, to use maven the in the same manner and to use maven over ssl-encrypted connections, when server certificates need to be accepted. The env.MAVEN_OPTS_JRE_TAB_VM_ARGS variable belongs to the JVM arguments tab in the Eclipse launch configuration dialog then.
The other (default ones) settings in eclipse.ini stay...
>8---
-vm
h:/jdk1.6.0/bin/javaw.exe
--launcher.XXMaxPermSize
256m
-vmargs
@schatterjee4
schatterjee4 / http-delete-cookie.xml
Created July 26, 2017 04:39 — forked from lovuikeng/http-delete-cookie.xml
Spring Security 3.1 added features
@schatterjee4
schatterjee4 / introrx.md
Created July 30, 2017 08:25 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
* Downloaded or downloading
=============================
**http://kickass.to/infiniteskills-learning-jquery-mobile-working-files-t7967156.html
**http://kickass.to/lynda-bootstrap-3-advanced-web-development-2013-eng-t8167587.html
**http://kickass.to/lynda-css-advanced-typographic-techniques-t7928210.html
**http://kickass.to/lynda-html5-projects-interactive-charts-2013-eng-t8167670.html
**http://kickass.to/vtc-html5-css3-responsive-web-design-course-t7922533.html
*http://kickass.to/10gen-m101js-mongodb-for-node-js-developers-2013-eng-t8165205.html
*http://kickass.to/cbt-nuggets-amazon-web-services-aws-foundations-t7839734.html
@schatterjee4
schatterjee4 / ClonedReindexingInstructions.md
Created November 2, 2017 05:01 — forked from andrewmkhoury/ClonedReindexingInstructions.md
Reindexing Oak Async Indexes on a Clone AEM Instance

How to Reindex AEM on a Clone Instance and Sync over the Changes

  1. Install Oak 1.0.23 hotfix via the AEM package manager (Download from here https://files.acrobat.com/a/preview/40ddf9c0-83de-48b3-837b-602388e68b06)
  2. Validate that the hotfix is installed by going to /system/console/bundles UI and validate that oak-core version is now at 1.0.23. Also go to /crx/de/index.jsp and see the Oak version on the right side.
  3. Clone your AEM instance to another VM for reindexing
  4. Download these oak-run jars:
  1. Upload the oak-run jars to the clone server
  2. Stop AEM (stop all AEM instances if a cluster or cold standby)
@schatterjee4
schatterjee4 / jcr-locations.md
Created November 4, 2017 17:52 — forked from knennigtri/jcr-locations.md
Useful JCR Locations for AEM Templates and components
@schatterjee4
schatterjee4 / we-retail-etc-map-http.json
Created November 9, 2017 08:41 — forked from mickleroy/we-retail-etc-map-http.json
We.Retail Sling Mappings (/etc/map/http)
{
"jcr:primaryType": "sling:Folder",
"weretail.com": {
"jcr:primaryType": "sling:Mapping",
"sling:internalRedirect": [
"/content/we-retail/us/en"
],
"weretail_com_content": {
"jcr:primaryType": "sling:Mapping",
@schatterjee4
schatterjee4 / Free O'Reilly Books.md
Created November 11, 2017 12:02 — forked from augbog/Free O'Reilly Books.md
Free O'Reilly Books

Free O'Reilly books and convenient script to just download them.

Thanks /u/FallenAege/ and /u/ShPavel/ from this Reddit post

How to use:

  1. Take the download.sh file and put it into a directory where you want the files to be saved.
  2. cd into the directory and make sure that it has executable permissions (chmod +x download.sh should do it)
  3. Run ./download.sh and wee there it goes. Also if you do not want all the files, just simply comment the ones you do not want.
@schatterjee4
schatterjee4 / AEMDevResources
Created November 21, 2017 06:02 — forked from MikeNats/AEMDevResources
Adobe Experience Manager Resources for Developers
Documentation
-------------
AEM: http://docs.adobe.com
Recent updates: https://docs.adobe.com/docs/en/aem/recent-documentation-updates.html
AEM Docs daily changes: http://adobedocsdiff.headwire.com/sitediff/
API References
@schatterjee4
schatterjee4 / ConvertResourceToJSON.java
Created December 12, 2017 13:11 — forked from nateyolles/ConvertResourceToJSON.java
Easily turn an AEM/Sling Resource/Node into a JSONObject
package com.nateyolles.aem;
import org.apache.sling.api.resource.Resource;
import org.apache.sling.api.resource.ResourceResolver;
import org.apache.sling.commons.json.JSONException;
import org.apache.sling.commons.json.JSONObject;
import org.apache.sling.commons.json.jcr.JsonItemWriter;
import javax.jcr.Node;
import javax.jcr.RepositoryException;