This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Author : Jayan Kandathil | |
// Last Updated : May 19, 2017 | |
// Version : 0.1 | |
import java.lang.management.* | |
import javax.management.ObjectName | |
import javax.management.remote.JMXConnectorFactory as JmxFactory | |
import javax.management.remote.JMXServiceURL as JmxUrl | |
import java.text.DecimalFormat; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
net: | |
http: | |
RESTInterfaceEnabled: true | |
enabled: true | |
port: 27017 | |
processManagement: | |
pidFilePath: C:\Programs\MongoDB\Server\3.4\mongod.pid | |
storage: | |
engine: wiredTiger | |
dbPath: C:\Programs\MongoDB\Server\3.4\data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This PowerShell script assumes that your Azure subscription is integrated with your companny's SSO | |
# Trigger the SSO login dialog (a separate window will come up) | |
Login-AzureRmAccount | |
# Choose the subscription (account) you want to work with - you may have multiple subscriptions | |
Select-AzureRmSubscription -SubscriptionName your_subscription_name_here | |
# The line below is optional, if you already have a resource group defined along with a storage account | |
Set-AzureRmCurrentStorageAccount -ResourceGroupname "your_resourcegroup_name_here" -StorageAccountName "your_storageaccount_name_here" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Custom JMX | |
version: 1.0 | |
enabled: true | |
jmx: | |
- object_name: "java.lang:type=Threading" | |
metrics: | |
- attributes: ThreadCount, PeakThreadCount, DeamonThreadCount, TotalStartedThreadCount | |
- object_name: "org.apache.sling:type=queues,name=AllQueues" | |
metrics: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:: This script configures the start information for this server. | |
:: | |
:: The following variables may be used to override the defaults. | |
:: For one-time overrides the variable can be set as part of the command-line; e.g., | |
:: | |
:: SET CQ_PORT=1234 & ./start.bat | |
:: | |
setlocal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:: This script configures the start information for this server. | |
setlocal | |
::* TCP port used for stop and status scripts | |
set CQ_PORT=4502 | |
::* runmode(s) | |
::* will not be used if repository is already present |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
net: | |
http: | |
RESTInterfaceEnabled: true | |
enabled: true | |
port: 27017 | |
processManagement: | |
pidFilePath: C:\Programs\MongoDB\Server\3.0\mongod.pid | |
storage: | |
engine: wiredTiger | |
dbPath: C:\Programs\MongoDB\Server\3.0\data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Bash script to run AEM 6.0 and 6.1 Repository Check | |
# Author : Jayan Kandathil | |
# Version : 0.1 | |
# Last updated : July 6, 2015 | |
# Instructions : Copy to CQ's /bin folder, make necessary changes, enable the execute bit and run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Bash script to trigger AEM 6.0 Blob GC using curl via JMX | |
# Author : Jayan Kandathil | |
# Version : 0.1 | |
# Last updated : May 14, 2015 | |
# Instructions : Copy to CQ/AEM Linux instance's /tmp folder, make necessary changes, enable the execute bit and run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"s3:ListAllMyBuckets" | |
], | |
"Resource": "arn:aws:s3:::*" | |
}, |