Skip to content

Instantly share code, notes, and snippets.

@derflocki
derflocki / acs_downgrade_amp_module.js
Created March 12, 2024 10:50 — forked from aitseitz/acs_downgrade_amp_module.js
ACS: How to downgrade an AMP-Module like alfresco-aos-module
// Based on Tech Article:
// https://community.hyland.com/tskb/000013140-how-to-downgrade-the-outlook-integration-module-after-installing-unsupported-amp-version
// the correct uuid for the amp module needs to be identified via the node browser inside the system://system Store
var sysNodeUUID = "system://system/8b6df670-9bb3-462b-8483-9b156e2621fd";
var newVersionString = "1.0.0";
/**
* Searches for the target node and sets a fix Version for "module:currentVersion"
* @param sysNodeUUID {String} module node string e.g. "system://system/uuid"
@derflocki
derflocki / .env
Last active September 13, 2018 09:41
docker-compse .env file resolution
COMPOSE_PROJECT_NAME=bug
<?php
/**
* php PID checker class for linux, using /proc/$PID/ for is-alive-check
* $pidchecker = new PIDChecker("/tmp/boku_accman_set_boku_mailbox.pid");
* try {
* $pidchecker->check();
* } catch(Exception $e) {
* print($e->getMessage())."\n";
* die();
* }
@derflocki
derflocki / ssdp.py
Last active November 15, 2016 02:34 — forked from dankrause/ssdp.py
# Copyright 2014 Dan Krause
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,