Overview No cloud needed. Build AI apps once and run them locally on Windows, macOS, & mobile. Get started with Foundry Local SDK. Lower latency, data privacy, and cost predictability. All in the box with Foundry Local. Start here. Build once, deploy everywhere.
See full details at setup K3S on Docker
Set-Alias docker podman
Found at: Dev.to
- Docker installed on your machine
- Basic knowledge of Docker and Kubernetes
- A terminal or command prompt
- Internet connection
- Sufficient system resources (CPU, RAM, Disk Space)
- Optional: Docker Compose installed for easier management of multi-container applications
This file contains hidden or 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
| $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( |
This file contains hidden or 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
| #!/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;
}
This file contains hidden or 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 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?
- appsettings.json
- appsettings{Environment}.json
- Environment variables
- Command line arguments
This file contains hidden or 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
| #/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 |
NewerOlder