This file contains 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
// ==UserScript== | |
// @name Garmin Connect Workout - Filter By Target Muscle | |
// @namespace https://github.com/cobryan05 | |
// @version 2024-01-23 | |
// @description Filter workouts by target area | |
// @author cobryan05 | |
// @match https://connect.garmin.com/modern/workout/edit/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=garmin.com | |
// @grant GM_xmlhttpRequest | |
// ==/UserScript== |
This file contains 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 hassapi as hass | |
import asyncio | |
import colorsys | |
import json | |
""" | |
*BETA* - EXPECT ISSUES! | |
App to control a Smart Bulb using MQTT |
This file contains 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
# 2024-04-17: Stole changese from @Timmo on stackoverflow to get this working with Windows Apps | |
import winreg | |
class WebcamDetect: | |
REG_KEY = winreg.HKEY_CURRENT_USER | |
WEBCAM_REG_SUBKEY = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\CapabilityAccessManager\\ConsentStore\\webcam\\" | |
WEBCAM_TIMESTAMP_VALUE_NAME = "LastUsedTimeStop" | |
def __init__(self): |
This file contains 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
# Simple script to disable ASLR and make .nv_fatb sections read-only | |
# Requires: pefile ( python -m pip install pefile ) | |
# Usage: fixNvPe.py --input path/to/*.dll | |
import argparse | |
import pefile | |
import glob | |
import os | |
import shutil |
This file contains 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: Turn off unoccupied switches | |
source_url: https://gist.github.com/cobryan05/24f19bad93b642b7e0c5f8f1da0515d0 | |
description: Turn off a switch that has been left on with no motion | |
domain: automation | |
input: | |
motion_entity: | |
name: Motion Sensor | |
selector: | |
entity: |