Create a .crt
file in the root of the API project that contains the CA certificates.
Use the following Dockerfile configuration:
FROM mcr.microsoft.com/dotnet/sdk:latest AS base
WORKDIR /app
(New-Guid).ToString() | Set-Clipboard |
<h1 class="mat-title m8">Home</h1> | |
<button mat-button class="m8" (click)="search()">Search</button> |
const string BaseData = "0xFFD8FFE0..." | |
await ConvertToImage("data", BaseData); | |
static async Task ConvertToImage(string file, string hex) | |
{ | |
string format = GetFormat(hex); | |
byte[] data = Convert.FromHexString(hex.Remove(0, 2)); | |
await File.WriteAllBytesAsync($"{file}{format}", data); | |
} |
<mat-tab-group [animationDuration]="180" | |
[selectedIndex]="tabIndex" | |
(selectedIndexChange)="changeTab($event)"> | |
<mat-tab label="One"> | |
Tab One | |
</mat-tab> | |
<mat-tab label="Two"> | |
Tab Two | |
</mat-tab> | |
<mat-tab label="Three"> |
The following illustrates how to convert MD to PDF
using Microsoft.Extensions.DependencyInjection; | |
namespace App.Services; | |
public class AppServiceRegistrant : ServiceRegistrant | |
{ | |
public AppServiceRegistrant(IServiceCollection services) | |
: base(services) { } | |
public override void Register() | |
{ |
ssh-keygen -t ed25519 -C "email@example.com"
# enter a file in which to save the key (/c/Users/YOU/.ssh/ed25519):[Press enter]
# enter passphrase(empty for no passphrase): [Type a passphrase]
# Enter same passphrase again: [Type passphrase again]
# from admin powershell
Get-Service -Name ssh-agent | Set-Service -StartupType Manual