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 BenchmarkDotNet.Attributes; | |
using BenchmarkDotNet.Running; | |
using Microsoft.Extensions.Logging; | |
[MemoryDiagnoser(false)] | |
public class Program | |
{ | |
private const string template = "This is the {0} template with {1} valued at {2}"; | |
private readonly ILogger<StringBench> _logger; | |
private readonly ILoggerFactory _loggerFactory = LoggerFactory.Create(builder => |
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
05:54:44.062: CPU Name: AMD Ryzen Threadripper 3970X 32-Core Processor | |
05:54:44.062: CPU Speed: 3693MHz | |
05:54:44.062: Physical Cores: 32, Logical Cores: 64 | |
05:54:44.062: Physical Memory: 130950MB Total, 107672MB Free | |
05:54:44.062: Windows Version: 10.0 Build 19041 (release: 2004; revision: 508; 64-bit) | |
05:54:44.062: Running as administrator: true | |
05:54:44.062: Aero is Enabled (Aero is always on for windows 8 and above) | |
05:54:44.062: Windows 10 Gaming Features: | |
05:54:44.062: Game Bar: Off | |
05:54:44.062: Game DVR: Off |
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 LISTVIEW | |
<ListView Grid.Row="7" | |
Grid.ColumnSpan="2" | |
Background="Transparent" | |
BorderBrush="Transparent" | |
Foreground="Yellow" | |
dd:DragDrop.IsDragSource="True" | |
dd:DragDrop.IsDropTarget="True" | |
dd:DragDrop.DragAdornerTemplate="{StaticResource DragAdorner}" | |
ItemsSource="{Binding SelectedGroupMember.Loot}" |
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 Microsoft.IdentityModel.Clients.ActiveDirectory; | |
using Microsoft.PowerBI.Api.V2; | |
using Microsoft.PowerBI.Api.V2.Models; | |
using Microsoft.Rest; | |
using PowerBIEmbedded_AppOwnsData.AzureClients; | |
using PowerBIEmbedded_AppOwnsData.Models; | |
using System; | |
using System.Collections.Generic; | |
using System.Configuration; | |
using System.Linq; |
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 Microsoft.IdentityModel.Clients.ActiveDirectory; | |
using System; | |
using System.Net.Http; | |
using System.Net.Http.Headers; | |
using System.Threading.Tasks; | |
namespace ConsoleApp1 | |
{ | |
static void Main(string[] args) | |
{ |
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
#include <ESP8266WiFi.h> | |
#include <WiFiClient.h> | |
#include <ESP8266WebServer.h> | |
const char* DeviceId = "<<your sensor id>>"; | |
const char* WIFI_SSID = "<<your wifi SSID>>"; | |
const char* WIFI_SECRET = "<<your wifi password>>"; | |
ESP8266WebServer webServer(80); |