Skip to content

Instantly share code, notes, and snippets.

View Salamandar's full-sized avatar

Salamandar Salamandar

View GitHub Profile
blueprint:
name: ZHA - Moes Smart Knob for lights
description: |
Control lights with a Moes Smart Knob.
Rotating left/right will change the brightness smoothly of the selected light.
Inspired from https://gist.github.com/seamus65/939a147634942dd885c8704334627f93
domain: automation
input:
remote:
name: Remote
@Salamandar
Salamandar / build_mongodb.sh
Last active January 27, 2024 11:43
Build mongodb on Debian without AVX
#!/usr/bin/env bash
sudo apt install git python-dev-is-python3 libssl-dev lld liblzma-dev python3-poetry
sudo apt install llvm clang lld
git clone https://github.com/GermanAizek/mongodb-without-avx
pushd mongodb-without-avx
pushd mongo
# Disable AVX requirements