Skip to content

Instantly share code, notes, and snippets.

@olegsych
olegsych / WinDbg.cmd
Last active March 7, 2025 00:53
Windows 11 cleanup
rem Make the folder tree
md C:\Symbols
md C:\Symbols\Src
md C:\Symbols\Sym
md C:\Symbols\SymCache
rem Create the 'Tier 2' Symbol cache Marker Files
echo Index2 > C:\Symbols\Sym\index2.txt
echo PingMe > C:\Symbols\Sym\pingme.txt
{
"devices": [
{
"device-id": "GSM5B09#4&17a0b355&0&UID224795_3840_2160_{00000000-0000-0000-0000-000000000000}",
"active-zoneset": {
"uuid": "{750F4B18-EDC6-4D6C-B1B4-02F2D2BCB801}",
"type": "custom"
},
"editor-show-spacing": true,
"editor-spacing": 16,
@olegsych
olegsych / Microsoft.PowerShell_profile.ps1
Last active August 21, 2024 18:17
Light color scheme for Windows Terminal, PowerShell and Git
# Make PowerShell mimic Visual Studio Light theme
# https://learn.microsoft.com/en-us/powershell/scripting/learn/shell/using-light-theme
# https://docs.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences#text-formatting
$options = Get-PSReadLineOption
$options.CommandColor = "`e[33m" # Foreground Yellow - VS User Methods
$options.CommentColor = "`e[32m" # Foreground Green - VS Comment
$options.ContinuationPromptColor = "`e[39m" # Foreground Default
$options.DefaultTokenColor = "`e[39m" # Foreground Default
$options.EmphasisColor = "`e[96m" # Bright Foreground Cyan
$options.ErrorColor = "`e[91m" # Bright Foreground Red - VS Error
@olegsych
olegsych / .gitignore
Last active February 4, 2022 00:59
Node + TypeScript
.vscode/
build/
typings/