Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
code --install-extension CoenraadS.bracket-pair-colorizer-2
code --install-extension DavidAnson.vscode-markdownlint
code --install-extension eamodio.gitlens
code --install-extension joelday.docthis
code --install-extension ms-vscode.powershell
code --install-extension PeterJausovec.vscode-docker
code --install-extension stkb.rewrap
code --install-extension streetsidesoftware.code-spell-checker
@apollux
apollux / boxstarter.ps1
Last active July 2, 2019 07:26
Boxstarter script
function Is-Installed( $program ) {
$x86 = ((Get-ChildItem "HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall") |
Where-Object { $_.GetValue( "DisplayName" ) -like "*$program*" } ).Length -gt 0;
$x64 = ((Get-ChildItem "HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall") |
Where-Object { $_.GetValue( "DisplayName" ) -like "*$program*" } ).Length -gt 0;
return $x86 -or $x64;
}