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
# Realtime solar display (similar to that shown in SolarEdge app) | |
# | |
# Install [Power-Flow-Card-Plus](https://github.com/flixlix/power-flow-card-plus) using HACS | |
# | |
# See https://gist.github.com/Ashpork/f80fb0d3cb22356a12ed24734065061c for original | |
# | |
type: custom:power-flow-card-plus | |
title: Power Flow | |
entities: | |
home: |
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
[package] | |
name = "apocraphy" | |
version = "0.1.0" | |
edition = "2018" | |
readme = "README.md" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
[dependencies] | |
unic-langid = { version = "0.9", features = ["macros"] } |
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.Concurrent; | |
using System.Collections.Generic; | |
using System.Collections.ObjectModel; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Numerics; | |
using System.Reflection.Metadata.Ecma335; | |
using System.Threading; |
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
// Licensed under the Apache License, Version 2.0 (the "License"). | |
// See the LICENSE file in the project root for more information. | |
using System; | |
using System.Collections.Concurrent; | |
using System.Collections.Generic; | |
using System.Reactive; | |
using System.Reactive.Disposables; | |
using System.Runtime.CompilerServices; | |
using Microsoft.Extensions.Logging; |
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
// Licensed to the .NET Foundation under one or more agreements. | |
// The .NET Foundation licenses this file to you under the MIT license. | |
// See the LICENSE file in the project root for more information. | |
namespace System.Buffers | |
{ | |
using System.Runtime.CompilerServices; | |
public static class BuffersExtensions | |
{ |
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
/// <summary> | |
/// Represents an input value to a batched program call. | |
/// </summary> | |
/// <typeparam name="T">The type of the value.</typeparam> | |
public struct Input<T> | |
{ | |
private readonly object _value; | |
/// <summary> | |
/// Gets the value, if not <see cref="IsOutputValue"/>. |
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
<Query Kind="Program"> | |
<Reference><RuntimeDirectory>\System.Runtime.InteropServices.dll</Reference> | |
<Namespace>Microsoft.Win32.SafeHandles</Namespace> | |
<Namespace>System.IO.MemoryMappedFiles</Namespace> | |
<Namespace>System.Runtime.InteropServices</Namespace> | |
</Query> | |
void Main() | |
{ |