Skip to content

Instantly share code, notes, and snippets.

@vanuyshka
vanuyshka / profile.ps1
Created November 5, 2023 06:52
PowerShell Profile
# Git
# Install-Module -Name Posh-Git -Scope CurrentUser -Force
# Install-Module -Name PSScriptAnalyzer -Scope CurrentUser -Force
Import-Module Posh-Git
function Edit-Profile { code $PROFILE.CurrentUserAllHosts }
function Get-CmdletAlias ($cmdletname) {
Get-Alias |
Where-Object -FilterScript { $_.Definition -like "$cmdletname" } |
@vanuyshka
vanuyshka / settings.json
Last active November 5, 2023 06:50
VSCode Settings
{
"diffEditor.ignoreTrimWhitespace": false,
"docker.showStartPage": false,
"editor.accessibilitySupport": "off",
"editor.cursorStyle": "block",
"editor.dragAndDrop": false,
"editor.fontFamily": "'Fira Code', Iosevka, Menlo, Monaco, 'Courier New', monospace",
"editor.fontLigatures": true,
"editor.fontSize": 13,
"editor.inlineSuggest.enabled": true,