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
using System; | |
using System.Collections.Generic; | |
namespace ObserverDesignPattern | |
{ | |
public class Program | |
{ | |
public static void Main() | |
{ | |
// our two users |
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
using System; | |
using System.Collections.Generic; | |
namespace IocContainer | |
{ | |
public class Program | |
{ | |
public static void Main() | |
{ | |
var containerBuilder = new ContainerBuilder(); |
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
using System; | |
using System.Linq; | |
public static class Program | |
{ | |
public static void Main() | |
{ | |
var movie = new Movie | |
{ | |
Title = "", |
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
##rabbitmq | |
docker run -d --name my-rabbit -p 15672:15672 -p 5672:5672 rabbitmq:3.8.9-management |
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
events { | |
} | |
http { | |
upstream myaspnetcoreapp { | |
server localhost:9002; | |
server localhost:9003; | |
server localhost:9001; | |
} |
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
code --js-flags="--maglev --maglev-inlining --max-opt=2 --concurrent-recompilation --concurrent-recompilation-queue-length=512 --turbo-move-optimization --wasm-opt --optimize-on-next-call-optimizes-to-maglev --optimize-on-next-call-optimizes-to-maglev --concurrent-sparkplug --concurrent-sparkplug-max-threads=0 --stress-concurrent-inlining-attach-code --turbo-string-builder --turbo-instruction-scheduling" |