Skip to content

Instantly share code, notes, and snippets.

View atomicpapa's full-sized avatar

Glenn Morrison atomicpapa

  • San Antonio, TX
View GitHub Profile
@atomicpapa
atomicpapa / tuya_zigbee_mini_remote.yaml
Last active March 7, 2024 23:08
blueprint tutorial
blueprint:
name: Tuya Zigbee Mini Remote
description: "Blueprint for use with Tuya Zigbee Mini Remote (YSR-MINI-Z) on Zigbee2MQTT"
domain: automation
input:
switch:
name: Tuya Zigbee Mini Remote
description: Aqara switch to use
selector:
entity:
@atomicpapa
atomicpapa / crypto-more-page.txt
Last active August 20, 2021 02:29
Dwain's Dashboard Crypto More-page
## Created by Glenn Morrison
## More-page add-on: Crypto
## Version: 1.0.0
## This addon requires setting up the crypto tracker detailed here:
## https://community.home-assistant.io/t/how-to-track-crypto-in-home-assistant/316051?u=atomicpapa
## Additionally, the following Lovelace cards must be installed:
## Lovelace Card Mod
## Template Entity Row
@atomicpapa
atomicpapa / mp3 to m4b.md
Created August 14, 2021 22:06 — forked from butuzov/mp3 to m4b.md
Convert mp3's to m4b using `ffmpeg`

Let's imagine we have a lot of mp3 files ( forexample one of the pluralsite courses converted to mp3 ).

URL=https://www.pluralsight.com/courses/run-effective-meetings
PASS=pass
USER=user
OUTPUT="%(playlist_index)s. %(title)s-%(id)s.%(ext)s"
youtube-dl --username $USER --password $PASS -o $OUTPUT --extract-audio --audio-format mp3 $URL