This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: ZHA - Aqara Wireless Mini Switch Matter | |
description: Automate your Xiaomi Aqara Wireless Mini Switch using ZHA events. | |
domain: automation | |
input: | |
aqara_mini_switch: | |
name: Aqara Wireless Mini Switch | |
description: Aqara Wireless Mini Switch to use | |
selector: | |
device: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) | |
# Copyright (c) 2021-2024 tteck | |
# Author: tteck (tteckster) | |
# License: MIT | |
# https://github.com/tteck/Proxmox/raw/main/LICENSE | |
function header_info { | |
clear | |
cat <<"EOF" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.intellij.execution.configurations.GeneralCommandLine | |
import com.intellij.openapi.project.ProjectManager | |
import javax.swing.* | |
import java.awt.* | |
import java.io.* | |
import static liveplugin.PluginUtil.show | |
import static liveplugin.PluginUtil.registerToolWindow | |
static JPanel createPanelWithLogButtons() { | |
def panel = new JPanel(new BorderLayout()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# We don't need return codes for "$(command)", only stdout is needed. | |
# Allow `[[ -n "$(command)" ]]`, `func "$(command)"`, pipes, etc. | |
# shellcheck disable=SC2312 | |
set -u | |
abort() { | |
printf "%s\n" "$@" >&2 |