Angular 16 開發環境說明
為了能讓大家能夠順利的建立起 Angular 16 開發環境,以下是需要安裝的相關軟體與安裝步驟與說明。
[ 作業系統 ]
- Windows 10 以上版本
- Mac OS X 10.6 以上版本
using namespace System.Management.Automation | |
using namespace System.Management.Automation.Language | |
if ($host.Name -eq 'ConsoleHost') | |
{ | |
Import-Module PSReadLine | |
} | |
Set-PSReadLineOption -PredictionSource History | |
Set-PSReadLineOption -PredictionViewStyle ListView |
為了能讓大家能夠順利的建立起 Angular 16 開發環境,以下是需要安裝的相關軟體與安裝步驟與說明。
// ==UserScript== | |
// @name 中、英文網頁切換的瀏覽器書籤小工具 | |
// @namespace https://blog.miniasp.com/ | |
// @version 0.1 | |
// @description 按下 Alt+s 就會自動將目前網頁切換至中文或英文版 | |
// @license MIT | |
// @homepage https://blog.miniasp.com/ | |
// @homepageURL https://blog.miniasp.com/ | |
// @website https://www.facebook.com/will.fans | |
// @source https://github.com/miniasp/en-zh-bookmarklet |
public class DynamicJsonConverter : JsonConverter<dynamic> | |
{ | |
public override dynamic Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) | |
{ | |
if (reader.TokenType == JsonTokenType.True) | |
{ | |
return true; | |
} |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using System.Web.Http; | |
using System.Web.Mvc; | |
using System.Web.Optimization; | |
using System.Web.Routing; | |
namespace WebApiSample |
編號 | 繁體字 | Unicode | JavaScript | 簡體字 | Unicode | JavaScript |
---|---|---|---|---|---|---|
1 | 內 | U+5167 |
\u{5167} |
内 | U+5185 |
\u{5185} |
2 | 勻 | U+52FB |
\u{52FB} |
匀 | U+5300 |
\u{5300} |
3 | 弔 | U+5F14 |
\u{5F14} |
吊 | U+540A |
\u{540A} |
4 | 戶 | U+6236 |
\u{6236} |
户 | U+6237 |
\u{6237} |
5 | 冊 | U+518A |
\u{518A} |
册 | U+518C |
\u{518C} |
6 | 朮 | U+672E |
\u{672E} |
术 | U+672F |
\u{672F} |
7 | 氾 | U+6C3E |
\u{6C3E} |
泛 | U+6CDB |
\u{6CDB} |
8 | 丟 | U+4E1F |
\u{4E1F} |
丢 | U+4E22 |
\u{4E22} |
This powershell script modifies the Base Image, or the Virtual Hard Disk, which the Windows Sandbox launches upon startup. It will copy the required files to the sandbox and add a registry key which will install them upon startup. By default the script will install the latest stable release of Winget. You can specify to use the latest pre-release with the -PreRelease
switch.
When a new version of Winget is released, run this script again to update the installation in the sandbox to the latest version
# winget parameter completion | |
Register-ArgumentCompleter -Native -CommandName winget -ScriptBlock { | |
param($wordToComplete, $commandAst, $cursorPosition) | |
[Console]::InputEncoding = [Console]::OutputEncoding = $OutputEncoding = [System.Text.Utf8Encoding]::new() | |
$Local:word = $wordToComplete.Replace('"', '""') | |
$Local:ast = $commandAst.ToString().Replace('"', '""') | |
winget complete --word="$Local:word" --commandline "$Local:ast" --position $cursorPosition | ForEach-Object { | |
[System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterValue', $_) | |
} | |
} |
{ | |
"explorer.openEditors.visible": 0, | |
"workbench.colorTheme": "Default Light+", | |
"workbench.iconTheme": "vscode-simpler-icons", | |
"workbench.sideBar.location": "right", | |
// 需下載安裝 Fira Code 字型 (安裝 OTF 格式) | |
// https://github.com/tonsky/FiraCode/releases | |
// 需下載客製化過的 Microsoft YaHei Mono 字型 |
編輯 %UserProfile%\.wslconfig
檔案
Command Prompt
notepad %UserProfile%\.wslconfig
Windows PowerShell