Skip to content

Instantly share code, notes, and snippets.

View IntranetFactory's full-sized avatar

Martin Amm IntranetFactory

View GitHub Profile
@IntranetFactory
IntranetFactory / fetch_vcdist.py
Created January 25, 2024 19:45 — forked from donno/fetch_vcdist.py
Downloads and extract the Visual C++ Redistributables.
"""Downloads and extract the Visual C++ Redistributables.
This is useful when working with minidump files as the user may be running
with a new different version of the runtime. This script aims to maintain
a copy of the various versions.
Versions are normally added once I encounter them, in November 2022, I added
a rather large back catalogue of versions.
This requires dark.exe from Wix (http://wixtoolset.org/releases/) and
@IntranetFactory
IntranetFactory / EFRedisCacheProvider.cs
Last active August 17, 2024 20:26
EFCoreSecondLevelCacheInterceptor Distributed cached provider using Redis sentinel
using adenin.Platform.Configuration;
using adenin.Platform.Serialization.MessagePack;
using EFCoreSecondLevelCacheInterceptor;
using JetBrains.Annotations;
using MessagePack;
using MessagePack.Formatters;
using MessagePack.Resolvers;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;