See full details at setup K3S on Docker
Set-Alias docker podman
Set-Alias docker podman
| $dockerExists = Test-Path "c:\temp\docker" | |
| $podmanExists = Test-Path "c:\temp\podman" | |
| $gotoFolderPath = "$env:USERPROFILE\OneDrive\Goto\" | |
| $gotoFolderExists = Test-Path $gotoFolderPath | |
| $manageDevboxFilePath = "D:\Repos\Github\hasmukhlalpatel\dev-container-on-lxd-or-wsl\setup-devbox-on-wsl\manage-devbox.ps1" | |
| $manageDevboxExists = Test-Path $manageDevboxFilePath | |
| function get-file { | |
| param( |
| #!/bin/bash | |
| # Certificate Common Library | |
| # Shared functions for certificate management scripts | |
| # Usage: source ./cert_common.sh | |
| # Default configuration - can be overridden by environment variables | |
| GLOBAL_CERT_PATH="${GLOBAL_CERT_PATH:-$HOME/ssl/certs}" | |
| CA_FOLDER="${CA_FOLDER:-CA}" | |
| SERVER_FOLDER="${SERVER_FOLDER:-Server}" |
CorrelationIdMiddleware
public class CorrelationIdMiddleware
{
private readonly RequestDelegate _next;
public CorrelationIdMiddleware(RequestDelegate next)
{
_next = next;
}
| using System.Diagnostics; | |
| using Microsoft.AspNetCore.Http; | |
| using System.Threading.Tasks; | |
| public class TimingMiddleware | |
| { | |
| private readonly RequestDelegate _next; | |
| public TimingMiddleware(RequestDelegate next) | |
| { |
Copied from How to add more configuration files to a web application?
| #/boot/config.txt | |
| dtoverlay=pi3-disable-wifi | |
| dtoverlay=pi3-disable-bt | |
| arm_freq=900 | |
| arm_freq_max=900 | |
| arm_freq_min=150 | |
| gpu_freq=250 |