Skip to content

Instantly share code, notes, and snippets.

View mkoertgen's full-sized avatar
💭
Mostly working on DevOps stuff (#azuredevops, #k8s)

Marcel Körtgen mkoertgen

💭
Mostly working on DevOps stuff (#azuredevops, #k8s)
View GitHub Profile
@mkoertgen
mkoertgen / README.md
Created December 16, 2023 11:25
Skip SSL Host verification with ElasticSearch Client

Skip SSL Host verification with ElasticSearch Client

When enabling ElasticSearch to use https for inter-component communication, it uses self-signed certs by default. These certs are generated by the eck-operator itself.

In case infrastructure and management processes for self-signed certs and truststore generation is not an option for you, disabling certificate verification seems to be an easy solution to the missing cert management part.

import org.springframework.boot.context.properties.ConfigurationProperties
@mkoertgen
mkoertgen / batch-merge-prs.md
Last active October 13, 2023 09:09
Accept all dependabot pull requests using GitHub CLI
@mkoertgen
mkoertgen / Update-AUPackages.md
Created August 27, 2022 14:26
Update-AUPackages.md
@mkoertgen
mkoertgen / pulsar-manager-set-super-user.yaml
Created February 19, 2022 12:01
Pulsar-Manager in k8s: Initialize super user
apiVersion: batch/v1
kind: Job
metadata:
name: "pulsar-manager-set-super-user"
namespace: "pulsar"
spec:
# https://kubernetes.io/docs/concepts/workloads/controllers/job/
backoffLimit: 0
ttlSecondsAfterFinished: 100
template:
@mkoertgen
mkoertgen / README.md
Last active June 3, 2021 16:40
Lookup Kibana Alias for Open Distro Tenant

Lookup Kibana Alias for Open Distro Tenant

The "Open Distro"-fork of Elasticsearch uses Tenants instead of Kibana Spaces where each tenant corresponds to a separate Kibana Index / Alias.

When provisioning Kibana Objects on an "Open Distro"-cluster using the Phil Bakers Terraform Elasticsearch community provider it will by default create resources in .kibana-index which corresponds to the global tenant.

For example after spinning up a single node cluster the different Kibana indexes may look like

@mkoertgen
mkoertgen / 2nd_teams.cmd
Last active June 19, 2023 12:12
msteams-hacks
@ECHO OFF
SET MSTEAMS_PROFILE=%1
if "%MSTEAMS_PROFILE%"=="" SET MSTEAMS_PROFILE=%~n0
ECHO - Using profile "%MSTEAMS_PROFILE%"
SET "OLD_USERPROFILE=%USERPROFILE%"
SET "USERPROFILE=%LOCALAPPDATA%\Microsoft\Teams\CustomProfiles\%MSTEAMS_PROFILE%"
ECHO - Launching MS Teams with profile %MSTEAMS_PROFILE%
@mkoertgen
mkoertgen / README.md
Last active July 15, 2023 02:40
Microsoft Teams Outlook AddIn Hacks

Microsoft Teams Outlook AddIn Hacks

In projects inclined to the Microsoft ecosystem, Teams is probably the best collaboration option, especially if your team members are dislocated. Probably because using different Office 365 accounts i had a hard time getting the Teams-Addin to work with Outlook. This is a know problem as you can find numerous articles on the web from people asking for help about this issue. Microsoft is working to enhance the Teams / Outlook experience.

One especially helpful article was Missing Teams Outlook Add-in by Michael LaMontagne (@RealTimeUC). Michael was the only one trying to dig deeper into the nitty-gritty details of COM-registration between Outlook and the Teams .NET application, deployed using Squirrel.Windows (as most Electron-based desktop-apps on Windows, e.g. Slack etc.).

He finally got the Teams-AddIn working by duplicating registry keys from a working machine. However, after reviewing the Teams & Teams

@mkoertgen
mkoertgen / README.md
Last active November 5, 2018 09:31
Fun with neo4j intersections

Fun with neo4j intersections

Suppose you are about to host an event and want to invite customers. The event is so extraordinary that you want to invite customers only having at least one department in Berlin and also in Munich.

Setup

First, setup some example customers (Tom, Dick & Harry):

@mkoertgen
mkoertgen / cloudSettings
Last active January 9, 2020 21:25
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-01-09T21:25:25.038Z","extensionVersion":"v3.4.3"}
@mkoertgen
mkoertgen / README.md
Last active May 21, 2017 22:14
hello.webrtc

hello.webrtc

Setting up a custom, private WebRTC server using Spreed WebRTC