This file contains hidden or 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.Concurrent; | |
| using System.Collections.Generic; | |
| using System.ComponentModel; | |
| using System.Timers; | |
| namespace DebounceUtils | |
| { | |
| /// <summary> | |
| /// Event debouncer helps to prevent calling the same event handler too often (like mark Dirty or Invalidate) |
This file contains hidden or 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
| package main | |
| import ( | |
| "bytes" | |
| "crypto/sha256" | |
| "crypto/tls" | |
| "crypto/x509" | |
| "log" | |
| "net" | |
| "net/http" |
This file contains hidden or 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
| """ | |
| MQTT publisher for all Home Assistant states. | |
| Copyright (c) 2016 Fabian Affolter <fabian@affolter-engineering.ch> | |
| Licensed under MIT | |
| For questions and issues please use https://community.home-assistant.io | |
| To use this component you will need to add something like the | |
| following to your configuration.yaml file. |
This file contains hidden or 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
| enum SizeMatching { | |
| case Width, Height, Both, None | |
| } | |
| class IKScrollView: UIScrollView { | |
| //MARK: - Outlets | |
| @IBOutlet private var contentView: UIView? | |
| //MARK: - Properties | |
| @IBInspectable var sizeMatching = SizeMatching.Width |