⚡ Familiar key bindings Set-PSReadLineOption -EditMode emacs ⚡ Default config file $PROFILE ⚡ Quick Start Get-Help Get-Member Where-Object (alias ?) ForEach-Object (alias %) Select-Object Format-List Out-GridView -PassThru ⚡ Gotchas Require , to separate multiple arguments: rm a, b, c ⚡ Count…
A collection of 19 articles
LxRunOffline is a full-featured utility for managing Windows Subsystem for Linux (WSL). LXRunOffline provides a uniform way to download various distributions and import them as WSL instances into any directories. Install LxRunOffline Scoop…
Aboboo is an English learning tool on Windows. Cheatsheet Ctrl + Left Click: Split Ctrl + Right Click at boundary: Merge Ctrl + Alt + Right Click: Delete In Wave window: Left Click: Set Repeat Start Right Click: Set Repeat End Playback Control:…
Telegram Set the Windows region to China, then Telegram will choose correct Chinese fonts. Alternatively, download FontMod.dll as winmm.dll and place it under the same directory with Telegram.exe. In my Windows 10, I’m using English locale and have to edit the FontMod.
As mentioned in ♯ Yubico for Windows, I used PuTTY/Plink instead of the OpenSSH client together with YubiKey because the OpenSSH Client does not support the socket file created by GnuPG. Plink does not work well in Windows Terminal. The Visual Studio Code SSH Remote does not support Plink as well, because it will pass some command line arguments that are not supported by Plink. So I decide to switch back to the OpenSSH client. Fortunately, the utility wsl-ssh-pageant can create a tunnel between a Windows pipe and the pageant socket, and the OpenSSH client can use the Windows pipe as SSH_AUTH_SOCK. This article is a tutorial to set up wsl-ssh-pageant.
System Proxy UWP Open PowerShell as admin (Win+X A), find the UWP package, for example, Microsoft Store Get-AppxPackage -Name '\*Store\*' Once the target app is located, get its package family name. $pkg = (Get-AppxPackage -Name Microsoft.
This post records how I set up Yubico Key in Windows, so I’ll not delve into too much details. I have the model YubiKey 5 NFC. I frequently use 2 GPG keys stored in the key, one for encryption, another for SSH authentication. The GPG encryption part is simple, GnuPG just works. Using the stored GPG key for SSH is a bit complex, because it requires collaboration between GnuPG and the SSH client. After experiment many different solutions, I decide to use the simplest one, using putty/plink as the SSH client and enabling thepageant support in GnuPG. See ♯ SSH Authentication Using a YubiKey on Windows And the OpenSSH Client how to use OpenSSH client with YubiKey.
Bootstrap Disassembler0/Win10-Initial-Setup-Script: PowerShell script for automation of routine tasks done after fresh installations of Windows 10 / Server 2016 / Server 2019 Posts ♯ Memory Tracing in Windows ♯ Vim Setup for Windows ♯ My Windows Environment Setup Index ♯ WSL ♯ Windows Chinese Environment ♯ Windows OpenSSH Server ♯ Windows Proxy Setting ♯ Windows Terminal
The article mainly refers Exercise 2 - Track User Mode Process Allocations | Microsoft Docs. 1. Install Windows Performance Recorder and Analyzer Download and install ADK from here. The windows build version can be checked by running “winver” via Win+r.
Following example moves the Ubuntu distribution to disk D:\WSL\Ubuntu.