References:
- Microsoft Tutorial: Set up a custom prompt in Windows Terminal
- Scott Hanselman's Blog Post: Ultimate PowerShell Prompt with Oh My Posh and Windows Terminal
- Scott Hanselman's YouTube Video: How to make the ultimate Terminal Prompt on Windows 11 >
- Install the dashboard
- Run:
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.2.0/aio/deploy/recommended.yaml
- Run:
- Create admin-user
- Create a file named: dashboard-adminuser.yaml
- Add this content:
apiVersion: v1
kind: ServiceAccount
metadata:
- .NET SDK
- Visual Studio Code
- Exensions: WSL, C#, Docker, Yaml, Dapr, Bracket Pair Colorizer 2, Git History, Git Lens, Markdown (All-inOne, Shortcuts, Preview Enhanced)
- Preferences: Restore Windows (None)
- Git for Windows
- Select VS Code as default editor
- Enable Curl: add to user PATH env var "C:\Program Files\Git\mingw64\bin"
docker run --rm -p 4566:4566 -p 4571:4571 localstack/localstack
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
# escape=` | |
# Installer image | |
FROM mcr.microsoft.com/windows/servercore:1909 AS installer | |
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] | |
# Retrieve .NET Core Runtime | |
# USER ContainerAdministrator | |
RUN $dotnet_version = '3.1.5'; ` |
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
FROM mcr.microsoft.com/dotnet/core/runtime:3.1-nanoserver-1909 AS base | |
WORKDIR /app | |
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-nanoserver-1909 AS build | |
WORKDIR /src | |
COPY ["MyWpfConsoleApp.csproj", "./"] | |
RUN dotnet restore "./MyWpfConsoleApp.csproj" | |
COPY . . | |
WORKDIR "/src/." | |
RUN dotnet build "MyWpfConsoleApp.csproj" -c Release -o /app/build |
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
# escape=` | |
# Installer image | |
FROM mcr.microsoft.com/windows/servercore:1909 AS installer | |
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] | |
# Retrieve .NET Core Runtime | |
# USER ContainerAdministrator | |
RUN $dotnet_version = '3.1.5'; ` |
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.Windows.Media.Media3D; | |
namespace MyWpfConsoleApp | |
{ | |
public static class Program | |
{ | |
public static void Main() | |
{ | |
var point = new Point3D(1, 2, 3); |
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
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop"> | |
<PropertyGroup> | |
<TargetFramework>netcoreapp3.1</TargetFramework> | |
<UseWPF>true</UseWPF> | |
<OutputType>Exe</OutputType> | |
</PropertyGroup> | |
</Project> |
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
docker exec -it broker bash | |
cd /usr/bin | |
./kafka-console-producer --broker-list broker:29092 --topic "raw-events" |