Notes

General notes on the following technologies:


SQL Server

When logs get big you can try this (from here):

DBCC SHRINKDATABASE (DataWarehouse, 10);
GO

Node

npm ls -g --depth=0 // List out top level global packages

Windows Terminal

Setup with Oh My Posh

Install Oh My Posh:

winget install JanDeDobbeleer.OhMyPosh

Next, select a Nerd Font and install that e.g.:

oh-my-posh font install Cousine

Install Powershell:

winget install Microsoft.Powershell

Change the terminal ‘default’ to Powershell (NOT WIndows Powershell)

Edit Profile -> Background image to whatever

Select one of the Oh My Posh Themes:

oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH/star.omp.json" | Invoke-Expression

The local copies of the Oh My Posh Themes are stored at: /AppData/Local/Programs/oh-my-posh/themes

  • drop custom ones in there

Ensure the profile is downloaded - theme must be set in file /Documents/Profile/Powershell/Microsoft.Powershall_profile.ps1


Azure

ACR (Azure Container Registry)

az acr repository show-tags --name <registry>.azurecr.io/<image>:<tag> --repository <repo>