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
""" | |
service: pyscript.vkusvill_get_orders | |
data: | |
token: <YOUR-TOKEN> | |
number: '<YOUR-CARD-NUMBER>' | |
var: 'input_boolean.vkusvill_delivery_in_progress' | |
""" | |
import aiohttp | |
import json |
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 Home Assistant Theme Changer | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Changes HTML tag based on minute value | |
// @match http://192.168.1.110:8123/* | |
// @grant none | |
// ==/UserScript== | |
(function() { |
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 Level Travel + Trip Advisor | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description Enhance Level Travel site with TripAdvisor ratings | |
// @author You | |
// @match https://level.travel/search/* | |
// @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
// ==UserScript== | |
// @name HamsterKombat Upgrades | |
// @namespace http://tampermonkey.net/ | |
// @version 0.4 | |
// @description Optimize upgrades based on profit/hour delta to price ratio | |
// @author You | |
// @match https://hamsterkombat.io/clicker/mine* | |
// @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
""" | |
service: pyscript.oico_get_counters | |
data: | |
address_id: 310379 | |
counters: | |
- counter_id: 123456 # электроэнергия | |
mqtt_topic1: 'oico/energy-meter/t1' | |
mqtt_topic2: 'oico/energy-meter/t2' | |
mqtt_topic3: 'oico/energy-meter/t3' | |
- counter_id: 7890123 # отопление |
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
""" | |
The script allows to modify internet availability schedule for particular device connected to Keenetic router. | |
Script to be used with Pyscript HACS custom integration (https://github.com/custom-components/pyscript). | |
The following configuration is required (at configuration.yaml): | |
pyscript: | |
allow_all_imports: true | |
apps: | |
keenetic: |
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
Show hidden characters
// http://www.sublimetext.com/docs/3/build_systems.html | |
{ | |
"keyfiles": ["plugin.yml"], | |
"quiet": true, | |
// "syntax": "Packages/ShellScript/Bash.sublime-syntax", | |
"variants": | |
[ | |
{ | |
"name": "Pack & upload plugin", | |
"shell_cmd": "/Users/andrey/Documents/Dev/Other/MinecraftPMMP/packPlugin.command $folder" |
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
%YAML 1.2 | |
--- | |
# See http://www.sublimetext.com/docs/3/syntax.html | |
name: YC Log | |
file_extensions: [log] | |
scope: source.example-c | |
contexts: | |
main: | |
# Request identifiers | |
- match: '\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2} (START|END|REPORT) RequestID: .*' |
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
// https://developers.home-assistant.io/docs/api/rest | |
// http://www.sublimetext.com/docs/3/build_systems.html | |
{ | |
"keyfiles": ["manifest.json"], | |
"quiet": true, | |
"syntax": "Packages/ShellScript/Bash.sublime-syntax", | |
"variants": | |
[ | |
{ | |
"name": "Restart Server", |
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
// https://developers.home-assistant.io/docs/api/rest | |
// http://www.sublimetext.com/docs/3/build_systems.html | |
{ | |
"keyfiles": ["manifest.json"], | |
"quiet": true, | |
"syntax": "Packages/ShellScript/Bash.sublime-syntax", | |
"variants": | |
[ | |
{ | |
"name": "Restart Server", |
NewerOlder