$/
artifacts/
build/
docs/
lib/
packages/
samples/
src/
tests/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TODO: Set sound scheme to 'No sounds' | |
# Notepad++ TODOs: | |
# %appdata%\Notepad++\config.xml, /NotepadPlus/GUIConfigs/GUIConfig[name='TabSetting']/@replaceBySpace, 'yes' | |
# %appdata%\Notepad++\config.xml, /NotepadPlus/GUIConfigs/GUIConfig[name='auto-completion']/@autoCAction, 0 | |
# %appdata%\Notepad++\stylers.xml, /NotepadPlus/GlobalStyles/WidgetStyle[fontName='Courier New']/@fontName, 'Consolas' | |
# TODO: unpin Edge and Store and pin default apps | |
$ErrorActionPreference = 'Stop' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Delivery mechanism looks like this - if sender wants to reliably deliver payload to recipient | |
// using at-least-once delivery semantics, it sends that payload wrapped to Messenger actor, which | |
// is responsible for the persistence and redelivery: | |
// | |
// +--------+ +-----------+ +-----------+ | |
// | |--(DeliverOrder<T>)-->| |--(Delivery<T>:1)-->| | | |
// | | | | /* 2nd attempt */ | | | |
// | Sender | | Messenger |--(Delivery<T>:2)-->| Recipient | | |
// | | | | | | | |
// | | | |<----(Confirm:2)----| | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class EnumerablePatterns | |
{ | |
public static IEnumerable<T> Query<T>(this ICanTell self, object message = null) | |
{ | |
var provider = ResolveProvider(self); | |
if (provider == null) | |
throw new NotSupportedException("Unable to resolve the target Provider"); | |
var enumerable = new BlockingCollection<T>(); | |
var path = provider.TempPath(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace WebCrawler.AzureBootstrap | |
{ | |
public static class AzureRuntimeBootLoader | |
{ | |
public static async Task<Config> CreateRuntimeConfig(string seedRoleName, string akkaEndpoint) | |
{ | |
// Need to wait until at least 1 instance of our seed role is up and available | |
while(!IsSeedRoleAvailable(seedRoleName)) | |
{ | |
await Task.Delay(TimeSpan.FromSeconds(1.5)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class EventStorageBootStrap | |
{ | |
public static void BootStrap() | |
{ | |
... | |
var eventStore = Wireup.Init() | |
... | |
.UsingNewtonsoftJsonSerialization(new VersionedEventSerializationBinder()) | |
... | |
.Build(); |