Skip to content

Instantly share code, notes, and snippets.

View kaipm's full-sized avatar

Martin Kaip kaipm

View GitHub Profile

Windows Terminal

  1. Install Windows Terminal via Store

  2. Download & install PowerShell Core

  3. Download & install Font Cascadia Code PL (it's a free font)

  4. Open Windows Terminal, go to Settings

    • Set PowerShell Core GUID in the defaultProfile
  • Under profiles add defaults
@kaipm
kaipm / dotnet-core-cheat-sheet.md
Last active December 3, 2020 07:38
.NET Cheat Sheet

.NET Cheat Sheet

Revert to default templates

Removes all custom installed templates and reverts to .NET Core default templates.

dotnet new --debug:reinit

Converting or upgrading projects

Checking compatibility for converting from .NET Framework to .NET

@kaipm
kaipm / linux-ubuntu-cheat-sheet.md
Last active May 10, 2022 17:09
Ubuntu Linux cheat sheet

SSH

Login via ssh username@server-or-ip. Copy files via SSH with the command scp source destination. You can use user@server:path for remote sources or destinations.

Host name

Set the desired host name via hostnamectl set-hostname abc

  • /etc/hosts usually has the entry 127.0.1.1 hostname, change this accordingly