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
Verifying that +webbson is my Bitcoin username. You can send me #bitcoin here: https://onename.io/webbson |
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
### Keybase proof | |
I hereby claim: | |
* I am webbson on github. | |
* I am webbson (https://keybase.io/webbson) on keybase. | |
* I have a public key whose fingerprint is 9095 01ED 219A 095B F765 78F9 D833 E590 E2C2 5927 | |
To claim this, I am signing this object: |
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
<?php | |
function processMessage($message) { | |
$groupchat = '-XXXX'; // Group chat id | |
// process incoming message | |
$message_id = $message["message_id"]; | |
$chat_id = $message["chat"]["id"]; | |
$response = array("chat_id" => $chat_id); | |
$plextoken = "YYYY"; // Plex token | |
$plexbaseurl = "https://ASFASFASF.plex.direct:32400"; // PLEX DIRECT URL |
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
Verifying my Blockstack ID is secured with the address 157sgkcu6teVWdEcgPWaPSWBX9qvNn7Tjm https://explorer.blockstack.org/address/157sgkcu6teVWdEcgPWaPSWBX9qvNn7Tjm |
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://esphome-configs.io/guides/tuya-convert/#introduction | |
substitutions: | |
plug_name: poolheater | |
# Higher value gives lower watt readout | |
current_res: "0.00221" | |
# Lower value gives lower voltage readout | |
voltage_div: "1910" | |
esphome: | |
name: ${plug_name} |
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
# Just change name here | |
substitutions: | |
plug: "Kitchen window" | |
plug_internal: kitchen_window | |
voltage_divider: "771" | |
current_resistor: "0.0012" | |
esphome: | |
name: ${plug_internal} | |
platform: ESP8266 |
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
substitutions: | |
plug: "Kitchen window" | |
plug_internal: kitchen_window | |
voltage_divider: "771" | |
current_resistor: "0.0012" | |
esphome: | |
name: $plug_internal | |
platform: ESP8266 | |
board: esp8285 |
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
<# | |
This script will remove old versions of items in all languages so that the items only contains a selected number of versions. | |
#> | |
$item = Get-Item -Path "master:\content" | |
$dialogProps = @{ | |
Parameters = @( | |
@{ Name = "item"; Title="Branch to analyse"; Root="/sitecore/content/Home"}, | |
@{ Name = "count"; Value=10; Title="Max number of versions"; Editor="number"}, | |
@{ Name = "remove"; Value=$False; Title="Do you wish to remove items?"; Editor="check"} |