Home
Reset your code
Cancel

6 steps to pimp my terminal

Tools My current setup is mixed of tools from following list: oh-my-posh + powerlevel10k_rainbow (with mods) theme + custom font posh-git Set-PSReadlineKeyHandler for “bash style” search +...

Make PowerShell with k8s great again

So, like me, you’re using Windows. WSL isn’t always reliable (e.g. VPN problems), yet you’re working with Kubernetes and require autocomplete tools. I’m the same way :) Kubectl autocomplete With ...

Improve the performance of git on WSL2

I’ve returned to Windows after a year on the Mac. I built up pwsh and added a lot of tools, but I still need some Linux/MacOS ones, such as envsubst. Of course, WSL2 comes to the rescue, but you’ll...

Obsidian backup with OneDrive

I decided to try Obsidian as my new work notes tools. Looks really good, but I note there internal company stuff, so store it in the cloud is not an option. Fortunately my company uses OneDrive, so...

Reduce OMS logs for AKS

What’s going on? Every week my team is trying to check our bill for Azure. This week OMS won the battle. We have a small AKS cluster, and logs are one of the most expensive part of it. Usage | whe...

Azure DevOps CLI to the rescue

I need to migrate a lot of repositories from one Azure DevOps to another. Migration! Don’t ask why, please. Let’s assume it was much more simple than other options. I was thinking that I will have...

Restart, start and stop all Azure Web Apps in resource group using PowerShell

This post is short but useful. We need just two lines (we can combine it to one): $allSites = Get-AzureRmWebApp -ResourceGroupName resource-group-name @($allSites).GetEnumerator() | Restart-AzureRm...

Running bash script in Azure DevOps on Windows machine

I know that title sound ridiculous, but you know in IT sometimes strange things just happen. In my case was migrating agents from Windows to Linux, and I want to have compatibility between them. Y...

Using SOAP security in dotnet core

During last week, I was migrating some projects to the dotnet core. One of the most irritating parts of such migration is lack of full WebService and WCF support in dotnet core. For example when yo...

3 simple tips for handling environment variables in JavaScript

So you have a SPA application and you are proud of it. And suddenly a random developer comes and say: “In a test environment, we need a bit different URL/variable/routine/stupid thing/…” In big com...