Skip to content

Instantly share code, notes, and snippets.

mongouri="mongodb://<hostname-or-IP>:<port#>"
db="OakAuthor"
cache="256"
nodeCachePercentage="25"
prevDocCachePercentage="4"
childrenCachePercentage="10"
diffCachePercentage="5"
docChildrenCachePercentage="3"
cacheSegmentCount="16"
cacheStackMoveDistance="16"
@knennigtri
knennigtri / instance-creator.scpt
Last active April 28, 2017 05:23
AEM Instance Creator. A Wizard to create AEM instance with pre-installed content packages
--This wizard allows you to configure an AEM instance with pre installed packages
--Make sure the "Instances" folder, "Content Packages" folder and license.properties file are siblings of this script
--Instances - Put any AEM instances you want to use with the tool in this folder
--Content Packages - Put any content packages you want installed on the AEM instance in this folder
set creatorPath to POSIX path of ((path to me as text) & "::")
--Put all AEM instances in "./Instances"
--Put all Content Packages in "./Content Packages"
@knennigtri
knennigtri / cp-install.sh
Created July 1, 2016 21:41
Upload and Install a content package via cURL
##
# This is a script to upload and install a list of packages to an AEM server. All Packages
# must be located in PACKAGE_LOCATION and then listed in the PACKAGES array. The package
# file name must be the same as the package name.
#
# Author:
# knennig213@gmail.com
# o--o
# Version 1.0.2
#
@knennigtri
knennigtri / mongo-init.sh
Last active April 28, 2017 05:23
Initializa and start a Mongo replset
##
# This script initializes and starts a Mongo replset on your local machine. All servers
# bind to your hostname for the replset. This script assumes the following folder structure
#
# + Top level folder
# - mongo-demo.sh
# + MONGODB_PATH[i]
# + db
# + logs
#