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
var chrome = {}; | |
chrome.devtools = {}; | |
chrome.declarativeWebRequest = {}; | |
//#region Types | |
//#region Chrome.AccessibilityObject | |
chrome.AccessibilityObject = function () { | |
/// <field name='type' type='string'>The type of this object, which determines the contents of 'details'.</field> | |
/// <field name='name' type='string'>The localized name of the object, like OK or Password. Do not rely on an exact string match because the text will be in the user's language and may change in the future.</field> | |
/// <field name='context' type='string'>The localized name of the context for the object, like the name of the surrounding toolbar or group of controls.</field> | |
/// <field name='details' type=''>Other details like the state, depending on the type of object.</field> |
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 guide will go over how to install Home Assistant (Supervised) on Rasbian. | |
Pre-installation Steps | |
Step 1: Becoming Root | |
Before we start, you must make sure you are logged in as root, so in order to become root type: | |
----------------------------------- | |
sudo su | |
----------------------------------- |
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
{ | |
"version": 1, | |
"minor_version": 1, | |
"key": "broadlink_remote_ec0bae6a933d_codes", | |
"data": { | |
"logitech_z906": { | |
"power": "JgBYAAABJJAUERU0FRAVDxQRFBEVDxUQFBEUERQQFRAUERQ1FBEUNRQRFBAVEBQRFBEUEBUQFDUVNBU1FDUUNRQ1FDUUNRUQFAAF2wABKEgUAAxNAAEqRRYADQU=", | |
"volume_down": "JgBQAAABJY8WDxYzFg8WDhYPFg8WDxYOFg8WDxYOFg8WDxYzFg8WMxYPFjMWDxYzFg8WMxYzFg8WMxYOFjQWDhYzFg8WDxYzFgAF2QABKkYWAA0FAAAAAAAAAAA=", | |
"volume_up": "JgBQAAABIpIUERM2ExITEhMSExETEhMSExEUERMSExITERQ1FBETNhQRFDYTERM2ExITNhMSEzYTNhMSEzYTEhM2ExITNhMRFAAF3AABKEcVAA0FAAAAAAAAAAA=", | |
"mute": "JgBQAAABI5EUERQ1FBEUERMRFBEUERQRFBAUERMSFBEUEBQ1FBEUNRQREzYUERQ1FBETNhM2FDUUNRQRFDUUERQ1FBETEhMRFAAF3AABKEcTAA0FAAAAAAAAAAA=", |
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
// Example: | |
// var amount = 52163215.23m; | |
// Clipboard.Clear(); | |
// Clipboard.SetText(amount.ToString()); | |
// ExcelClipboard.SetDataNumber(amount) | |
public static class ExcelClipboard | |
{ | |
/// <summary> | |
/// Returns if the current value is of numeric type. |
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
using System; | |
using System.Threading; | |
using System.Windows.Threading; | |
using System.Windows.Forms; | |
namespace Gh61 | |
{ | |
/// <summary> | |
/// Class for creating debounced variant of given Action, delay for given milliseconds. | |
/// Every <see cref="Invoke()"/> call will start the delay counting again. |
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
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
namespace Gh61 | |
{ | |
public static class LazyLinq | |
{ | |
/// <summary> |