Author Archives: abatishchev

How I started using MediatR and then how I stopped, part 1

This is a series of posts: Part 1 Introduction Handlers, commands and queries MediatR Back to injecting handlers Part 2 Another option: DecoratR Introduction Today I own the Service Fabric infrastructure piece in my team, to run applications and services … Continue reading

Posted in Programming | Tagged , | Leave a comment

How to deploy Traffic Manager to a Sovereign cloud using ARM template

On other day I tried to deploy Azure Traffic Manager profile to a sovereign aka national aka government cloud but got an error: Code: BadRequestMessage: A policy with the requested domain name could not be created because the name example.trafficmanager.net … Continue reading

Posted in Uncategorized | Leave a comment

How to combine Key Vault access policy for AAD application and user-assigned managed identity in single ARM template

On other day I was exploring how to grant access for a user-assigned managed identity to a key vault. But here’s a more advanced scenario: let’s say legacy code uses an AAD application to access the key vault and modern … Continue reading

Posted in Programming | Tagged , | Leave a comment

How to create user-assigned managed identity, Key Vault, assign access policy using ARM template

There is already a plenty of materials about managed identities in Azure. But how to create a user-assigned managed identity and grant it the access to a key vault using an ARM template? I tried to find any references but … Continue reading

Posted in Programming | Tagged , | 1 Comment

How to disable Night mode for Search bar on Android

Turn on Developer options Go to Developer options, switch Night mode to Always off

Posted in Uncategorized | Leave a comment

How to find out the latest ARM api version for given resource type

If you’d like to find this out, for instance, for Service Fabric applications, then use this query: ((Get-AzureRmResourceProvider -ProviderNamespace Microsoft.ServiceFabric).ResourceTypes | where { $_.ResourceTypeName -eq “clusters/applications” }).ApiVersions which would yield this result: 2017-07-01-preview2016-09-012016-03-01 what means that you now can go … Continue reading

Posted in Programming | Tagged , , | Leave a comment

Git aliases to combine fetch in the background and checkout/merge/rebase

I decided to write down few useful Git aliases I’m using every day. Or how it looks in .gitconfig:

Posted in Programming | Tagged | Leave a comment

Carnation Anapa Winery, part 3, day 51: Corking

I decided to do not cork shortly before going on vacation and instead wait little more. Now I came back from vacation, measure specific gravity the last time and finally cork. Petite Sirah: 0.992 (0.990 + 1/5) Mourvèdre: 0.992 (0.990 … Continue reading

Posted in Winemaking | Leave a comment

Carnation Anapa Winery, part 2, day 30: Re-measuring specific gravity

Before going on vacation for 2.5 weeks and leaving the carboys on their own, I’m re-measuring specific gravity to understand where we’re at and when it would be good time to bottle-and-cork: Petite Sirah: 0.994 (0.990 + 2/5) Mourvèdre: 0.992 … Continue reading

Posted in Winemaking | Leave a comment

Carnation Anapa Winery, part 2, day 13: Carboys

I estimate that 3 6-gallon half-full buckets will produce about 2 gallons of grape juice each. Unfortunately I couldn’t find 2-gallon carboys so I bought 6 1-gallon carboys at another local brewing supply store, Brewhouse Provisions in Redmond. I’m going … Continue reading

Posted in Winemaking | Leave a comment