Skip to content

Instantly share code, notes, and snippets.

View markdon's full-sized avatar

Mark Donnellon markdon

View GitHub Profile
@markdon
markdon / numbers.json
Created October 19, 2022 05:44
sametime numbers json
{
"US": [
"(512) 359-0571 x020",
"(794) 305-2757 x27099",
"246-503-0629",
"615-871-5249",
"533-670-2967 x1999",
"(437) 285-1985"
],
"AU": "571-711-7378 x54153",

Release around Engage

What is MVP?

Verse has some integrations already. Could be enough. Expand verse extensions to include attachments. Increase visibility of the Huddo Boards extension point. What can we do with Sametime+Boards+Verse calendar?

Sametime needs some integrations.

proxy_1 | 2022-10-11 04:52:22.936 ERROR 1 --- [nio-8080-exec-6] com.hcl.sametime.proxy.STServerSession : DuplicateObjectException
proxy_1 |
proxy_1 | com.lotus.sametime.core.comparch.DuplicateObjectException: Session STSession {_STSession80}is already registered
proxy_1 | at com.lotus.sametime.core.comparch.SessionTable.registerSession(SessionTable.java:96) ~[stcommsrvrtk-12.0.1-SNAPSHOT.jar:na]
proxy_1 | at com.lotus.sametime.core.comparch.STSession.<init>(STSession.java:205) ~[stcommsrvrtk-12.0.1-SNAPSHOT.jar:na]
proxy_1 | at com.lotus.sametime.core.comparch.STSession.<init>(STSession.java:142) ~[stcommsrvrtk-12.0.1-SNAPSHOT.jar:na]
proxy_1 | at com.hcl.sametime.proxy.STServerSession.<init>(STServerSession.java:27) ~[classes/:12.0.1]
proxy_1 | at com.hcl.sametime.proxy.STServerSession.get(STServerSession.java:54) ~[classes/:12.0.1]
proxy_1 | at com.hcl.sametime.proxy.STAbstractService.buil
@markdon
markdon / ccm-redirector.js
Last active August 26, 2022 01:26
ccm js redirector
// ==UserScript==
// @name CCM URL Redirector
// @namespace http://tampermonkey.net/
// @version 1.0.0
// @description Redirects matching CCM pages to the redirector application
// @author Mark Donnellon <mdonnellon@isw.net.au>
// @match https://devconn6.internal.isw.net.au/*
// @match https://dev.onefluor.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=hclconnections.net
// @grant none
@markdon
markdon / getSkypeTeamsMeetingUrl.ts
Created January 27, 2022 04:00
Outlook add-in get SkypeTeamsMeetingUrl from EWS
export default async function getSkypeTeamsMeetingUrl(
itemId: string
): Promise<string | undefined> {
console.log("getSkypeTeamsMeetingUrl itemId", itemId);
const xml = `<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header>
@markdon
markdon / ews-SkypeTeamsMeetingUrl.xml
Created January 25, 2022 05:07
EWS get SkypeTeamsMeetingUrl property
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header>
<t:RequestServerVersion Version="Exchange2010_SP1"/>
</soap:Header>
<soap:Body>
<GetItem xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"
@markdon
markdon / Get required attendees (Appointment Attendee).OUTLOOK.yaml
Created May 19, 2021 05:12
Gets the required attendees in Appointment Attendee mode.
name: Get required attendees (Appointment Attendee)
description: Gets the required attendees in Appointment Attendee mode.
host: OUTLOOK
api_set: {}
script:
content: |
$("#get-required-attendees").click(getRequiredAttendees);
function getRequiredAttendees() {
var apptRequiredAttendees = Office.context.mailbox.item.requiredAttendees.getAsync((result) => {
@markdon
markdon / swap-displays.sh
Created September 28, 2020 23:34
Automate swapping position of two external displays with displayplacer. You will need to customise your builtin ID and displayplacer commands.
#!/bin/bash
BASEDIR=$(dirname "$0");
CONFIG_FILE=$BASEDIR/SWAP_DISPLAY_CONFIG;
DISPLAY_CONFIG=`cat $CONFIG_FILE`;
if [ -z "$DISPLAY_CONFIG" ]
then DISPLAY_CONFIG=0;
fi
if [ "$DISPLAY_CONFIG" == "0" ]
@markdon
markdon / appium.log
Created January 9, 2020 03:52
HelloCordova appium switchContext hang
2020-01-09 03:33:13:744 - [HTTP] --> POST /wd/hub/session
2020-01-09 03:33:13:744 - [HTTP] {"capabilities":{"alwaysMatch":{"platformName":"iOS","platformVersion":"13.3","app":"/var/tmp/Debug-iphonesimulator/HelloCordova.app","deviceName":"iPhone 11","newCommandTimeout":360000},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"iOS","platformVersion":"13.3","app":"/var/tmp/Debug-iphonesimulator/HelloCordova.app","deviceName":"iPhone 11","newCommandTimeout":360000}}
2020-01-09 03:33:13:746 - [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"iOS","platformVersion":"13.3","app":"/var/tmp/Debug-iphonesimulator/HelloCordova.app","deviceName":"iPhone 11","newCommandTimeout":360000},null,{"alwaysMatch":{"platformName":"iOS","platformVersion":"13.3","app":"/var/tmp/Debug-iphonesimulator/HelloCordova.app","deviceName":"iPhone 11","newCommandTimeout":360000},"firstMatch":[{}]}]
2020-01-09 03:33:13:746 - [debug] [3
@markdon
markdon / ibm-cnx-register-oauth-app.py
Last active July 4, 2019 00:44
[CNX Register OAuth App] a wsadmin jython script that will register a new oauth application. It may be pasted straight into wsadmin terminal after customising.
import base64
# https://www.ibm.com/support/knowledgecenter/en/SSYGQH_6.0.0/admin/admin/r_admin_common_oauth_manage_list.html
# Remove an incorrectly registered app with OAuthApplicationRegistrationService.deleteApplication(String appId)
# these four properties should be customised according to your setup
cnxDomain = 'connections.example.com'
boardsDomain = 'kudosboards.com'
appId = 'kudosboards'
appName = 'Kudos Boards'