I hereby claim:
- I am dariogriffo on github.
- I am dariogriffo (https://keybase.io/dariogriffo) on keybase.
- I have a public key ASCXXoQ3hpcOSknHpwvQnM-izxg1s4WKfg--nNs3Ncft4wo
To claim this, I am signing this object:
| using BenchmarkDotNet.Attributes; | |
| [MemoryDiagnoser] | |
| public class ABC | |
| { | |
| private string[] data; | |
| [Params(1000, 10000, 100000)] | |
| public int N; |
| using System.Text.Json; | |
| List<int> a = new() { 1, 2, 3 }; | |
| foreach (var i in a) | |
| { | |
| a.Add(i * 2); | |
| } | |
| Console.WriteLine(JsonSerializer.Serialize(a)); |
| public static class GuidSteganography | |
| { | |
| public static Guid Hide(this Guid id, short value) | |
| { | |
| byte[] span = id.ToByteArray(); | |
| int i = value * 16 - 15; | |
| span[7] = (byte)(span[7] + i); | |
| return new Guid(span); | |
| } |
| FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base | |
| WORKDIR /app | |
| EXPOSE 80 | |
| FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build | |
| WORKDIR /src | |
| COPY ["WebApi/WebApi.csproj", "WebApi/"] | |
| RUN dotnet restore "WebApi/WebApi.csproj" | |
| COPY . . | |
| WORKDIR "/src/WebApi" |
| using System; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| using Autofac; | |
| using RabbitMQ.Client.Framing.Impl; | |
| using Rebus.Bus; | |
| using Rebus.Config; | |
| using Rebus.Handlers; | |
| using Rebus.Routing.TypeBased; |
| namespace ConsoleApp7 | |
| { | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| using Autofac; | |
| using Autofac.Extensions.DependencyInjection; | |
| using Microsoft.Extensions.Hosting; | |
| using Rebus.Bus; | |
| using Rebus.Config; |
I hereby claim:
To claim this, I am signing this object: