cd C:\Users\${username}\AppData\Local\Microsoft\PowerToys\Keyboard Manager- Backup file existing one of
default.json - Download
default.jsonand add it to the current folder
| key |
|---|
| Esc |
| blueprint: | |
| name: ZHA - Moes Tuya Smart Knob (TS004F) controller for remote control devices | |
| description: Control remotes (e.g. volume up/down) with a Moes Tuya smart knob (the spinny ones). You can set functions for single press, rotating left, and rotating right. | |
| domain: automation | |
| source_url: https://gist.github.com/blizzrdof77/c30c388ca5f4ce7ed72752296767417d | |
| input: | |
| remote: | |
| name: Smart Knob Device | |
| description: Moes Tuya Smart Knob Device to use | |
| selector: |
| #!/usr/bin/env bash | |
| set -Eeuo pipefail | |
| trap cleanup SIGINT SIGTERM ERR EXIT | |
| script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P) | |
| usage() { | |
| cat <<EOF | |
| Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...] |
To copy access token to clipboard drag the bookmarklet to your bookmarks bar and then follow the following steps:
Code for the bookmarklet
javascript:!function(a){var b=document.createElement("textarea"),c=document.getSelection();b.textContent=a,document.body.appendChild(b),c.removeAllRanges(),b.select(),document.execCommand("copy"),c.removeAllRanges(),document.body.removeChild(b)}(window.adobeIMS.getAccessToken());
| #!/bin/bash | |
| ################################################################ | |
| ## @usage telnet-wrapper.sh "uptime" | |
| ## @usage telnet-wrapper.sh "ping -c1 10.0.0.2" | |
| ## @description Install Alpine packages and run telnet command | |
| ## @license MIT | |
| ## @author Dale Higgs <@dale3h> | |
| ################################################################ |
| // STOLEN FROM GOOGLE CODE REPO 01 NOV 2014 | |
| // MODIFIED FOR | |
| // + 1 Nov 2104 - READABILITY | |
| // + 3 NOV 2014 - use (content security policy) no-eval() approach, see filter() method | |
| // + 10 Dec 2014 - revised filter() with switch | |
| // + 23 Feb 2015 - revised operate() and compare() methods | |
| // + 28 July 2015 - bug fix: `attr` var in filter() wasn't `var'd` | |
| // + 9 May 2018 - show test output |