View AppInsightsDataSize.kql
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
let since = ago(1d); | |
let bucket = 5m; | |
let dt = datatable(table: string)[]; | |
dt | |
| union (availabilityResults | where timestamp > since | summarize sum(estimate_data_size(*)) by bin(timestamp, bucket), cloud_RoleName | extend table = "availabilityResults") | |
| union (browserTimings | where timestamp > since | summarize sum(estimate_data_size(*)) by bin(timestamp, bucket), cloud_RoleName | extend table = "browserTimings") | |
| union (customEvents | where timestamp > since | summarize sum(estimate_data_size(*)) by bin(timestamp, bucket), cloud_RoleName | extend table = "customEvents") | |
| union (customMetrics | where timestamp > since | summarize sum(estimate_data_size(*)) by bin(timestamp, bucket), cloud_RoleName | extend table = "customMetrics") | |
| union (dependencies | where timestamp > since | summarize sum(estimate_data_size(*)) by bin(timestamp, bucket), cloud_RoleName | extend table = "dependencies") | |
| union (exceptions | where timestamp > since | summarize sum(estimate_data_size(*)) by bin(timestamp, bucket), clou |
View train-caged.lua
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
-- Marks all caged, trainable creatures for training. | |
-- Author: Joel Verhagen (@joelverhagen on GitHub) | |
local utils = require('utils') | |
function getTrainingAssignment(unit) | |
local training_assignment, _, _ = utils.binsearch( | |
df.global.plotinfo.equipment.training_assignments, | |
unit.id, | |
'animal_id') |
View Program.cs
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.Diagnostics; | |
using System.Net; | |
using System.Text; | |
var sw = Stopwatch.StartNew(); | |
string? previousRequest = null; | |
string? previousResponse = null; | |
while (true) | |
{ | |
using var httpClient = new HttpClient(); |
View Program.cs
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.Globalization; | |
using System.Net.Http.Headers; | |
using System.Text; | |
using System.Text.Json; | |
using System.Text.Json.Serialization; | |
using CsvHelper; | |
using CsvHelper.Configuration; | |
using CsvHelper.Configuration.Attributes; | |
using CsvHelper.TypeConversion; |
View npe-fails.csv
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
Id | Version | |
---|---|---|
2.0.0-alpha1 | 2.0.0-alpha1 | |
AbstractUltraGrid | 1.0.0 | |
AbstractUltraGrid | 1.0.1 | |
Acheve.AspNet.TestHost.Security | 1.0.0-rc1-final | |
Acr.BarCodes.TEMP | 3.2.0 | |
Adform.Advertising.SDK | 2.0.1 | |
Adform.Advertising.SDK | 2.0.2 | |
Adform.Advertising.SDK | 2.0.2.1 | |
Adform.Advertising.SDK | 2.0.3 |
View AuthHelper.cs
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.Threading.Tasks; | |
using Microsoft.AspNetCore.Http; | |
using Microsoft.Extensions.Logging; | |
using System.Security.Claims; | |
using Microsoft.IdentityModel.Protocols.OpenIdConnect; | |
using Microsoft.IdentityModel.Protocols; | |
using Microsoft.IdentityModel.Tokens; | |
using System.IdentityModel.Tokens.Jwt; | |
using System.Linq; | |
using System.Collections.Concurrent; |
View EntityLimitsEmulator.cs
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.Generic; | |
using System.Threading.Tasks; | |
using Microsoft.WindowsAzure.Storage; | |
using Microsoft.WindowsAzure.Storage.Table; | |
namespace EntityLimits | |
{ | |
class Program | |
{ |
View Output.txt
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
Size: 1048488 (1048576 - 1048488 = 88)... success! | |
Size: 1048489 (1048576 - 1048489 = 87)... Bad Request |
View AsyncDisposableTest.cs
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
public class AsyncDisposableTest : IAsyncDisposable, IDisposable | |
{ | |
private readonly ILogger<AsyncDisposableTest> _logger; | |
public AsyncDisposableTest(ILogger<AsyncDisposableTest> logger) | |
{ | |
_logger = logger; | |
_logger.LogWarning("CREATED"); | |
} |
NewerOlder