Posts

2 min read

Installing Intune Portal on Ubuntu

#Azure #Intune #Linux #Ubuntu #Tutorial

Learn how to install the Intune Portal on Ubuntu to manage and enroll Linux devices in Microsoft Intune, including the required roles and permissions for device enrollment.

read more β†’

1 min read

SSH and port forward through Azure Bastion from the CLI

#Azure #CLI #Bastion #bash

Skip the portal and use Azure CLI to SSH or forward ports through Bastion directly from your terminal.

read more β†’

1 min read

Run Azure CLI commands across multiple subscriptions

#Azure #CLI #bash

A bash pattern to run any Azure CLI command across all your subscriptions in one go.

read more β†’

1 min read

Find large files in a git repository

#git #CLI #bash

A quick way to find the largest files in your git history when your repo has grown out of control.

read more β†’

2 min read

Install NVIDIA NemoClaw and run your first sandboxed AI agent

#AI #NVIDIA #Docker #Tutorial

Get started with NVIDIA NemoClaw β€” install, onboard an OpenClaw agent, and chat with it in a hardened sandbox.

read more β†’

1 min read

Endpoint filters in .NET minimal APIs

#dotnet #Tutorial

Use endpoint filters in .NET minimal APIs to add logging, validation, or auth logic without middleware.

read more β†’

1 min read

Purge old images from Azure Container Registry

#Azure #Docker #CLI

Use ACR tasks to automatically purge untagged and old container images.

read more β†’

1 min read

List all Azure resources with a specific tag

#Azure #CLI #bash

Use Azure CLI to quickly find all resources matching a specific tag, across resource groups or even subscriptions.

read more β†’

1 min read

Quickly decode Kubernetes secrets from the terminal

#Kubernetes #CLI #bash

A quick one-liner to decode Kubernetes secrets without copying values around.

read more β†’

1 min read

SSH config tips for managing many servers

#SSH #Linux #CLI

Use SSH config to create aliases, set jump hosts, and avoid typing long connection strings.

read more β†’

1 min read

Run PowerShell loops in parallel

#PowerShell #Tutorial

Speed up PowerShell scripts by running loop iterations in parallel with ForEach-Object -Parallel.

read more β†’

1 min read

Azure Private Endpoints and DNS β€” the essentials

#Azure #Networking #Tutorial

Understanding Private Endpoint DNS is the key to making private connectivity work in Azure.

read more β†’

1 min read

Find what's eating disk space on Linux

#Linux #CLI #bash

Use du and ncdu to hunt down what's consuming all the disk space.

read more β†’

1 min read

Add health checks to a .NET API

#dotnet #Kubernetes #Tutorial

Add /health and /ready endpoints to your .NET API for Kubernetes probes and load balancer checks.

read more β†’

1 min read

Switch between AKS clusters quickly

#Azure #Kubernetes #CLI

Quickly switch kubectl context between multiple AKS clusters using az aks get-credentials.

read more β†’

1 min read

Work on multiple branches simultaneously with git worktree

#git #CLI #Tutorial

Git worktrees let you have multiple branches checked out in separate directories without stashing or cloning.

read more β†’

1 min read

Use Azure Managed Identity locally during development

#Azure #Security #dotnet

DefaultAzureCredential lets you use your Azure CLI login locally and managed identity in production β€” zero code changes.

read more β†’

2 min read

Using Lookbehind with grep

#grep #CLI #Tutorial

Learn how to use lookbehind patterns with grep (or ggrep on macOS) to extract specific fields from JSON or log files.

read more β†’

1 min read

Stop multiple pipeline runs in Azure DevOps

#Azure DevOps #PowerShell

Learn how to stop multiple pipeline runs in Azure DevOps using REST API when the CLI doesn't provide a bulk option.

read more β†’

1 min read

Run commands in parallel with xargs

#bash #CLI #Tutorial

Use xargs with the -P flag to run shell commands in parallel and speed up batch tasks.

read more β†’

1 min read

Script to copy Key Vault secrets between Key Vaults

#Azure #PowerShell #Key Vault #Utility Scripts

A PowerShell script to efficiently copy secrets between Azure Key Vaults, even across different subscriptions.

read more β†’

2 min read

Example dotnet pipeline with private NuGet feeds and ACA deployment

#Azure Devops #Pipeline #Docker

This is an example pipeline to use with Azure DevOps

read more β†’

1 min read

Exec into an Azure Container App

#Azure #Container Apps #CLI

Use az containerapp exec to get a shell inside your running Container App for debugging.

read more β†’

1 min read

Container Apps Bicep Scaling Rules Example

#Azure #ACA #Bicep

Learn how to configure CPU-based scaling rules for Azure Container Apps using Bicep infrastructure as code.

read more β†’

1 min read

Remove Activity Logs Diagnostic Settings using Azure CLI

#Azure #Shell #Azure CLI

This script removes Activity Logs diagnostic settings from a filtered set of Azure subscriptions using Azure CLI.

read more β†’

1 min read

Move resources in Terraform state

#Terraform #IaC #CLI

Use terraform state mv to rename or reorganize resources without recreating them.

read more β†’

2 min read

Enabling application insights with containerized dotnet applications

#Azure #Application Insights #Tutorial

This is a guide to enable the application map, smart detection, Failures and Performance telemetry in Application insights using a DotNet application running in Azure Container Apps (ACA) to get the most out of Azures monitoring tool.

read more β†’

2 min read

PowerShell - Move Azure resources between resource groups in bulk

#Azure #PowerShell #Resource Management

This PowerShell script helps you move Azure resources between resource groups and different subscriptions. Resources will stay online during the operation.

read more β†’

1 min read

Debug a running pod in Kubernetes

#Kubernetes #CLI #Tutorial

Quick kubectl commands to inspect logs, exec into pods, and debug crashed containers.

read more β†’

3 min read

Cloud is equally about efficiency like it is for scale

#Azure #FinOps #Azure SQL

Azure (and cloud in general) can be expensive, but smart choices like selecting the correct performance SKUs and leveraging features like auto-pause on SQL servers can lead to significant savings β€” potentially millions for a large business. Common mistakes include overprovisioning resources to β€œbe on the safe side” and migrating databases to the cloud with excessive capacity, often due to lack of cost optimization focus. To avoid these pitfalls, regularly measure database efficiency, use auto-pause features in non-production environments, build a culture of cost-efficiency, set budget alerts, and ensure infrastructure as code (IAC) pipelines support different parameters for various environments. Remember, cloud is not just about scaling; it’s about efficiency too.

read more β†’

1 min read

Clean up git history with interactive rebase

#git #Tutorial

Use interactive rebase to squash messy commits into clean, logical units before pushing.

read more β†’

1 min read

Preview Azure deployments with Bicep what-if

#Azure #Bicep #IaC

Always preview infrastructure changes before deploying with az deployment what-if.

read more β†’

1 min read

Docker cleanup commands you'll actually use

#Docker #CLI

Quick commands to reclaim disk space from unused Docker images, containers, and volumes.

read more β†’

1 min read

Transform JSON on the command line with jq

#CLI #jq #bash

Common jq patterns for filtering, transforming, and reshaping JSON data.

read more β†’

1 min read

curl cheat sheet for API testing

#CLI #curl #bash

The most useful curl flags and patterns for quick API testing from the terminal.

read more β†’