Skip to content

Instantly share code, notes, and snippets.

View blizzrdof77's full-sized avatar

Ben Wagner blizzrdof77

View GitHub Profile
@blizzrdof77
blizzrdof77 / gnome3_keybind_backup.sh
Last active May 12, 2025 19:33 — forked from termnml/gnome3_keybind_backup.sh
Backs up and restores gnome3 keybindings
#!/usr/bin/env bash
# Backs up and restores gnome3 keybindings
# Tested with Gnome 3.36.8
# by @peterrus, revisions by @blizzrdof77
set -e
# set -x
SCRIPT_NAME=$(basename "$0")
@blizzrdof77
blizzrdof77 / extensions
Last active May 9, 2025 23:23
Extensions Sync
{"[email protected]":{"/org/gnome/shell/extensions/wintile/":"[/]\ndelay=1000\ndistance=10\nnon-ultra-rows=1\nrows=1"},"[email protected]":{"/org/gnome/shell/extensions/systemd-manager/":"[/]\ncommand-method='pkexec'\nshow-mask=false\nsystemd=['{\"name\":\"Docker\",\"service\":\"docker.service\",\"type\":\"system\"}', '{\"name\":\"PostgreSQL\",\"service\":\"postgresql.service\",\"type\":\"system\"}', '{\"name\":\"TriggerCMD\",\"service\":\"triggercmdagent.service\",\"type\":\"system\"}', '{\"name\":\"Bluetooth\",\"service\":\"bluetooth.service\",\"type\":\"system\"}', '{\"name\":\"Apache\",\"service\":\"apache2.service\",\"type\":\"system\"}']"},"[email protected]":{"/org/gnome/shell/extensions/run-or-raise/":""},"[email protected]":{},"[email protected]":{"/org/gnome/shell/extensions/signalshell/":"[/]\ndefault-dark=true\nname=''"},"[email protected]":{"/org/gnome/shell/extensions/dash-to-dock/":"[/]\nalways-center-icons=true\nanimate-show-apps=true\nanimation
@blizzrdof77
blizzrdof77 / hue-event-lutron-aurora-dimmer-controller-advanced.yaml
Last active February 25, 2025 11:53
HASS Hue Event - Lutron Aurora Dimmer Controller Advanced Blueprint
blueprint:
name: Hue Event - Lutron Aurora Dimmer Controller Advanced Blueprint (v1.3.0)
description: Control lights with a Lutron Aurora Dimmer Pressing in the dimmer button will toggle lights regardless of dimmer status. Rotating the dimmer will increase and decrease the light brightness.
domain: automation
input:
remote:
name: Lutron Aurora Dimmer Switch
description: Lutron Aurora Z3-1BRL
selector:
device:
@blizzrdof77
blizzrdof77 / zha_lutron_aurora_blueprint - toggle.yaml
Created February 3, 2025 23:28 — forked from mitch-mcfarlane/zha_lutron_aurora_blueprint - toggle.yaml
Blueprint for Lutron Aurora automations in ZHA. Toggles light on each button press
blueprint:
name: ZHA - Lutron Aurora Dimmer Automation Improved
description: 'Control lights with a Lutron Aurora Dimmer Pressing in the dimmer
button will toggle lights regardless of dimmer status. Rotating the dimmer will increase and decrease the light brightness.
Adjust the sensitivity if updates from the dimmer are being sent too quickly. Adds the ability to dim to off and disable the button. (The button is unreliable for most people.) Based on the great work of bjpetit and richlee91!'
domain: automation
input:
remote:
name: Lutron Aurora Dimmer Switch
description: Lutron Aurora Z3-1BRL
@blizzrdof77
blizzrdof77 / binary-sensor-light-switch-controller.yaml
Last active May 2, 2025 12:59
Binary Sensor-activated Light Switch Controller Blueprint
blueprint:
name: Binary Sensor-activated Light Switch Controller
description: Turn on/off a light when binary sensor value turns on/off.
domain: automation
source_url: https://gist.github.com/blizzrdof77/07417204379764fd76fd8b8226190e4b
input:
trigger_entity:
name: Binary Sensor
selector:
entity:
@blizzrdof77
blizzrdof77 / automatic-turn-off.yaml
Last active January 12, 2024 03:08 — forked from tdiekel/automatic-turn-off.yaml
Automatic light or switch turn off after time
blueprint:
name: Automatic light or switch turn off after timeout
description: >
Given a switchable entity, when it is turned on, it will automatically turn off after a set timeout period off after a certain period of time.
Based on:
- [Turn Off Light After Time](https://gist.github.com/JonTheNiceGuy/5ac636739165dd593030c0fed16eb618) by [JonTheNiceGuy](https://gist.github.com/JonTheNiceGuy)
- [Automatic light or switch turn off after time](https://gist.github.com/tdiekel/88ac0967cf6d3002aa91e65e3768eb45) by [tdiekel](https://gist.github.com/tdiekel)
domain: automation
input:
entity:
This file is used to be tracked and identified by https://lrc-maker.github.io
@blizzrdof77
blizzrdof77 / strmod
Last active August 26, 2023 21:41
String Modification Utility
#!/usr/bin/env bash
script_name='strmod'
script_title='String Modification Utility'
version=0.44.0
updated='2023-08-25'
if [ -f "$(which batcat)" ] && [ ! -z "$(which batcat)" ] && [ -z "$(which bat)" ]; then
BatCat="$(command -v batcat) --language=Manpage"
elif [ -f "$(which bat)" ] && [ ! -z "$(which bat)" ]; then
This file is used to be tracked and identified by https://lrc-maker.github.io
@blizzrdof77
blizzrdof77 / go-upc-barcode-api-definition.yaml
Created January 30, 2023 20:29
Go-UPC Barcode API: Open API 3.0 Definition
openapi: 3.0.0
servers:
- description: Go-UPC Barcode-Lookup API
url: https://go-upc.com/api/v1
info:
version: 1.0.0
title: Go-UPC Barcode-Lookup API
description: Find information on products from around the globe. The API supports UPC, EAN, and ISBN barcode numbers, and info returned includes product name, description, brand, image URL, and more.
paths:
/code/{code}: