Skip to content

Instantly share code, notes, and snippets.

@candrist
candrist / Office_kms
Created February 9, 2025 20:24 — forked from OkoyaUsman/Office_kms
KMS server Windows
cd\Program Files\Microsoft Office\Office16
cd\Program Files (x86)\Microsoft Office\Office16
cscript OSPP.VBS /sethst:kms.digiboy.ir
cscript OSPP.VBS /actcscript OSPP.VBS /dstatus
slmgr.vbs /ckms
@candrist
candrist / windows_and_office_kms_setup.adoc
Last active February 9, 2025 20:22 — forked from jerodg/windows_and_office_kms_setup.adoc
Activate Windows and Office Using KMS Server

Microsoft Windows and Office KMS Setup

@candrist
candrist / rmvNodesSOI.groovy
Last active January 20, 2023 16:05
SOI Index Fix
// AMS - Adobe Managed Services
// Chris Andrist
// 20230120
import org.apache.jackrabbit.oak.spi.commit.CommitInfo
import org.apache.jackrabbit.oak.spi.commit.EmptyHook
import org.apache.jackrabbit.oak.spi.state.NodeStore
import org.apache.jackrabbit.oak.commons.PathUtils
def rmNode(def session, String path) {
println "Removing node ${path}"
@candrist
candrist / 0-instructions.md
Last active October 31, 2022 16:32
Adobe Managed Services - Fix Index's on Marriott Stage Author

Login to AEM on Author

  1. /system/console/jmx/org.apache.jackrabbit.oak%3Aname%3Dasync%2Ctype%3DIndexStats
  2. /system/console/jmx/org.apache.jackrabbit.oak%3Aname%3Dasync-reindex%2Ctype%3DIndexStats
  3. /system/console/jmx/org.apache.jackrabbit.oak%3Aname%3Dfulltext-async%2Ctype%3DIndexStats
  • abortAndPause()
  1. /crx/de
  • /oak:index/lucene
    • remove carriage return from type