Windows
- 在 Windows 上設定開發環境 | Microsoft Learn
- Windows Terminal - Microsoft Store 應用程式
- Moonlight + Sunshine + 外網連線安裝教學,Windows遠端串流玩遊戲 · Ivon的部落格
- Windows 11 剪貼簿無限閱讀: Windows 11 的新體驗 | 前端三分鐘 | 一起用三分鐘分享技術與知識
Win + R + winver:確認版本與組建號碼
Win + G: 開啟錄影工具,錄製當前程式畫面的操作
Win + .: 可以叫出表情符號
WSL
basic
- 設定 WSL 開發環境 | Microsoft Learn
- 用 WSL + VSCode 重新打造 Linux 開發環境 — 安德魯的部落格
- 使用 WSL 2 打造優質的多重 Linux 開發環境 | The Will Will Web
- 針對適用於 Linux 的 Windows 子系統進行疑難排解 | Microsoft Learn
- WSL 的基本命令 | Microsoft Learn
- 用 WSL 在 Windows 上打造 Linux 的開發體驗 - Luka 的 Python 筆記
- Neutrino's Blog: Windows 平台打造極致の程式開發工作環境
- Rebooting Ubuntu on Windows without rebooting Windows? - Super User
- In Ubuntu WSL, how can you store permanent environment variables? - Stack Overflow
- Getting started with RHEL on WSL | Red Hat Developer
- 不只Ubuntu!Windows WSL用Distrobox裝多重Linux容器 · Ivon的部落格
- 在 WSL2 中使用 Ubuntu 桌面環境
- WSL 加入設定的圖形介面 – Heresy's Space
config
- WSL 中的進階設定組態 | Microsoft Learn
- windows 10 - How do I change the DNS settings for WSL2? - Super User
- networking - WSL-2: Which ports are automatically forwarded? - Stack Overflow
docker
- WSL|在 WSL2 中安装 Docker - HackMD
- 使用WSL2在Windows下快速打造Linux開發環境(含Docker)
- 邁向 GPU 時代 - 在 WSL2 使用 CUDA-黑暗執行緒
$ curl -fsSL https://get.docker.com -o get-docker.sh
$ sudo sh get-docker.sh
$ sudo service docker start
systemd support
- Systemd support is now available in WSL! - Windows Command Line
- windows 11
- systemd 支援
- Systemd support is now available in WSL! - Windows Command Line
pycharm
- Getting PyCharm to recognize python on the windows linux subsystem (bash on windows) - Stack Overflow
- Can't make a virtual env in PyCharm using a WSL Python interpreter - Stack Overflow
- cant find WSL interpreter in Pycharm add python interpreter screen - Stack Overflow
- Compare PyCharm Professional vs. PyCharm Community - JetBrains IDE
- The Remote Interpreter feature is not available with the Community Edition
- Working with projects on WSL is extremely slow, basically not possible to work with : WI-63786
vscode
ssh key
wsl use lot of disk size
https://claude.ai/share/19541b59-b792-4e90-934e-ba9536409b62
- WSL2 and Docker Desktop store Linux files inside a single virtual hard disk file (ext4.vhdx).
- Even after you delete containers, images, or files inside Linux, the .vhdx file does not shrink automatically — it stays huge (e.g., 80 GB even if you’re only using 15 GB now).
- Optimize-VHD -Mode Full forces Windows to:
- Fill all the “deleted” space with zeros
- Tell your physical drive “this part is empty now” → Windows can finally shrink the file on disk.
# List VHDX paths
Get-ChildItem "$env:LOCALAPPDATA\Packages\" -Recurse -Include "*.vhdx" | Select FullName, @{Name="SizeGB";Expression={ "{0:N2}" -f ($_.Length/1GB) }}
# Then compact the big one, e.g.:
Optimize-VHD -Path "C:\Users\YourName\AppData\Local\Packages\CanonicalGroupLimited...\ext4.vhdx" -Mode Full
Hype-V
- 在 Windows 10 Creators Update 上使用 Hyper-V 建立虛擬機器 | Microsoft Learn
- How to access Guest PC folder from Host? - Microsoft Q&A
- Using Enhanced Mode Ubuntu 18.04 for Hyper-V on Windows 10 - Scott Hanselman's Blog
- virtual machine - Hyper-V Enhanced Session. Cannot share disk between Ubuntu and Windows 10 - Super User
OpenVPN
- OpenVPN-GUI-New – OpenVPN Community
- How To Add Users to the OpenVPN Administrators Group - Smart Home Pursuits
vscode
- Work in Windows Subsystem for Linux with Visual Studio Code
- Get Started Tutorial for Python in Visual Studio Code
- 使用 Dev Tunnels (開發人員通道) 快速打造一個對外公開的測試連結 | The Will Will Web
- VS Code 擴充推薦 — Rainbow CSV - MyApollo
- VS Code 擴充推薦 - Live Server - MyApollo
- Visual Studio Live Share: 即時程式碼共同作業工具
- Visual Studio Code - JSON Tools
- alt + M: Minify
- Python 可執行但 VSCode 警示找不到套件-黑暗執行緒
- Announcing a free GitHub Copilot for VS Code
ctrl + alt + 鍵盤上下: 同時編輯多游標 選取一段文字, shift + alt + I: 同時在行尾編輯多游標
ctrl + ` :terminal
ctrl + , (Control + comma): settings
SMB
工作檢視
Copilot
rsync
proxy
Server
DHCP server
- 在 Windows Server 上安裝和設置 DHCP 伺服器 | Microsoft Learn
- Installing and Configuring DHCP for PXE Boot on Windows Server 2016 2019 2022 - Knowledgebase 8.0 - Macrium Reflect Knowledgebase
- iPXE - open source boot firmware [howto:msdhcp]
- DHCP configuration - Windows Terminal Ware
- Windows Terminal Ware. Boot by network. dhcp and tftp services optimization.
003 Router 006 DNS Servers 015 DNS Domain Name 066 Boot Server Host Name => it seems like the next server(TFTP server) 067 Bootfile Name
Power shell
- caculate the size about sub directory
Get-ChildItem -Directory | ForEach-Object { $size = (Get-ChildItem $_.FullName -Recurse -File | Measure-Object -Property Length -Sum).Sum [PSCustomObject]@{ Directory = $_.Name SizeMB = [math]::Round($size/1MB, 2) SizeGB = [math]::Round($size/1GB, 2) } } | Sort-Object SizeMB -Descending | Format-Table -AutoSize