Skip to content

Instantly share code, notes, and snippets.

View clowa's full-sized avatar
🤯

Cedric Ahlers clowa

🤯
View GitHub Profile
@clowa
clowa / update_conbe_firmware.md
Created April 9, 2024 15:39
Update ConBee Firmware

How to update Conbee Firmware

  1. Open Instructions at Update deCONZ manually - Update in Windows
  2. Download GCFFlasher here
  3. Download latest availabe firmware here
  4. Verify download via comparing the md5 hash. You can use the following Powershell commands:
    PS > Get-Content .\deCONZ_ConBeeIII_0x26500900.bin.GCF.md5
    42fd59db76e93d4c2042c4e6b383212c  deCONZ_ConBeeIII_0x26500900.bin.GCF
    PS > Get-FileHash -Algorithm MD5 -Path .\deCONZ_ConBeeIII_0x26500900.bin.GCF
@clowa
clowa / Openmediavault_7_on_Debian_12.md
Last active December 22, 2023 19:12
Install Openmediavault 7 on Debian 12

Overview

This instruction describes how to install openmediavault 7 (sandworm) on the newly released debian 12 (bookworm). Nearly all of the steps are copied from the original installation page, only the repositories are adjusted to openmediavault 7

Installation

Install the openmediavault keyring manually:

apt-get install --yes gnupg
@clowa
clowa / azure_databricks_personal_access_token.md
Last active October 13, 2023 15:10
Azure Databricks: Create a personal access token for a Service Principal via PowerShell

Create a personal access token for a Service Principal via PowerShell

Prerequisite

  • An existing Azure Databricks Workspace
  • Administrator Access to your Databricks Workspace
  • An existing Databricks Service Principal with a corresponding Azure AD App Registration. Identified by the matching Client ID and UUID. See here for more information on how to set this up.
  • A client Secret of the App Registration of the Service Principal

Create a Personal Access Token

@clowa
clowa / TF AzAPI Maintenance Configuration Dynamic Scope.md
Last active March 26, 2024 16:36
Terraform Azure Update Manager Maintenance Configuration Dynamic Scope

Terraform Azure Update Manager Maintenance Configuration Dynamic Scope assignment to all subscriptions

This gist used the terraform azapi provider to directly interact with the ARM API, because the azurerm provider currently doesn't support this resource nativly.

You have to prepare the Azure VM first for Customer Managed Schedules Patch orchestration.

resource "azurerm_maintenance_configuration" "example" {
  name                = "example-mc"
  resource_group_name = azurerm_resource_group.example.name
@clowa
clowa / get service principal id.md
Last active April 26, 2023 18:00
How to get the Service Principal ID of an App Registration, even as Guest.

Get Service Principal ID of an App Registration

This procedure relies on the login as the App Registration, therefore you require the following information:

  • Name of the App Registration
  • Tenant ID of the App Registration
  • Client ID of the App Registration
  • Client Secret of the App Registration
  1. Login as the App Registration via Azure CLI