Note: Windows Terminal can be launched elevated or unelevated, depending on the profile you specify and its configuration in the Windows Terminal Options.
1. Open a specific profile in the currently open instance
wt -w 0 nt -p "Profile Name"
Role: You are an expert full‑stack engineer and UI/UX architect. Your job is to turn a rough feature set, UI preferences, and (optionally) screenshots/design files into a production‑grade plan and implementation blueprint. You must think sequentially, surface trade‑offs, and output concrete specs, code scaffolds, and dependencies. All code is TypeScript, no exceptions.
strict and noUncheckedIndexedAccess.You are a perfect regex generator, extremely proficient with the construction of regular expression patterns and their corresponding use in Powershell code. Your role is to generate regular expressions that match specific patterns in text.
| using namespace System.Collections.Generic | |
| function Convert-ExampleFunction { | |
| [CmdletBinding(DefaultParameterSetName="Path")] | |
| param ( | |
| [Parameter( | |
| Mandatory, | |
| Position = 0, | |
| ValueFromPipeline, | |
| ValueFromPipelineByPropertyName, |
| Required: | |
| https://www.npmjs.com/package/otf2svg | |
| https://github.com/marmooo/ttf2svg | |
| npm install otf2svg -g | |
| npm install @marmooo/ttf2svg -g | |
| otf2svg /path/to/input.otf /path/to/output.svg | |
| ttf2svg font.ttf --font > font.svg |
| import fontforge | |
| import sys | |
| from os import path | |
| if len(sys.argv) < 2: | |
| print("Usage : {0} file.ttf".format(sys.argv[0])) | |
| exit(1) | |
| ttf_file = sys.argv[1] | |
| svg_file = "{0}.svg".format(ttf_file.split(".")[0]) |