Matt Can Code  

2026年1月17日

摘要: Tdd is about showing external observable behavior, it is a design tool and rely on your test to dictate how your structure your code. [TestMethod] pub 阅读全文
posted @ 2026-01-17 18:55 Matt Yeung 阅读(18) 评论(0) 推荐(0)
 
摘要: Setup rabbitmq using Docker [root@szsit148 ~]# docker run --name rabbitmq -d -p 5672:5672 -p 15672:15672 --h ostname rabbitmq rabbitmq:3-management [r 阅读全文
posted @ 2026-01-17 18:55 Matt Yeung 阅读(30) 评论(0) 推荐(0)
 
摘要: Source code https://github.com/mattcoder2017/CoreTypescript/tree/master/WebApplication1 AngularIO: https://angular.io/ Nodejs vs angular compatiblity 阅读全文
posted @ 2026-01-17 18:55 Matt Yeung 阅读(33) 评论(0) 推荐(0)
 
摘要: ,General topic : https://www.cnblogs.com/Mattcoder/p/8878481.html Unit Test Integration Test - NetCore Integration Test - Net4.5 Unit Test at all laye 阅读全文
posted @ 2026-01-17 18:55 Matt Yeung 阅读(26) 评论(0) 推荐(0)
 
摘要: No web browser Organize your test early on - could be base on user stories Small granularity so you know what is slow Adding Validatation Rule All hav 阅读全文
posted @ 2026-01-17 18:53 Matt Yeung 阅读(23) 评论(0) 推荐(0)
 
摘要: Bus is to be used to inform or broadcast the mutated state and command that need to be processed by multiple services Scenario 1 ProductService receiv 阅读全文
posted @ 2026-01-17 18:53 Matt Yeung 阅读(11) 评论(0) 推荐(0)
 
摘要: https://www.youtube.com/watch?v=MeRHetCMiHg 阅读全文
posted @ 2026-01-17 18:52 Matt Yeung 阅读(3) 评论(0) 推荐(0)
 
摘要: { "app": { "name": "order-service" }, "elk": { "enabled": false, "url": "http://10.89.24.148:9200", "indexFormat": "products-service-{0:yyyy.MM.dd}", 阅读全文
posted @ 2026-01-17 18:52 Matt Yeung 阅读(10) 评论(0) 推荐(0)
 
摘要: OpenTrace take a tracer instance (e.g. Jaeger) to post the metrics via UDP to the remote Jaeger instance for display OpenTrace then can be acquired in 阅读全文
posted @ 2026-01-17 18:51 Matt Yeung 阅读(16) 评论(0) 推荐(0)
 
摘要: https://www.techrepublic.com/article/how-to-install-a-kubernetes-cluster-on-centos-7/ https://www.youtube.com/watch?v=MgXh2HpNBtk&t=30s kubectl create 阅读全文
posted @ 2026-01-17 18:51 Matt Yeung 阅读(29) 评论(0) 推荐(0)
 
摘要: Remove all inactive dockers : docker container prune -f Copy files in inactive docker to host server: docker container cp 5f9c2f1893c4:/app/migrator/ 阅读全文
posted @ 2026-01-17 18:51 Matt Yeung 阅读(37) 评论(0) 推荐(0)
 
摘要: kubectl apply -f /home/Asdf1234/pod.ymlkubectl get podskubectl port-forward nanoservice-pod 5000:5000kubectl describe pod nanoservice-pod kubectl dele 阅读全文
posted @ 2026-01-17 18:50 Matt Yeung 阅读(34) 评论(0) 推荐(0)
 
摘要: using System; using App.Metrics; using App.Metrics.AspNetCore; using App.Metrics.AspNetCore.Health; using App.Metrics.Formatters.Prometheus; using Mic 阅读全文
posted @ 2026-01-17 18:49 Matt Yeung 阅读(16) 评论(0) 推荐(0)
 
摘要: This provides a clean and plug and play architecture for a microservices to opt for different messaging technology, Azure service bus at one hand can 阅读全文
posted @ 2026-01-17 18:49 Matt Yeung 阅读(10) 评论(0) 推荐(0)
 
摘要: Discover existence of metric server https://github.com/kubernetes-incubator/metrics-server/ edit deployment/v1.8/metrics-server-deployment.yaml Kubect 阅读全文
posted @ 2026-01-17 18:49 Matt Yeung 阅读(12) 评论(0) 推荐(0)
 
摘要: retag the image to make it azure friendly 阅读全文
posted @ 2026-01-17 18:48 Matt Yeung 阅读(10) 评论(0) 推荐(0)
 
摘要: SSD is good from random read, HDD is good for sequential read and cheaper. 阅读全文
posted @ 2026-01-17 18:48 Matt Yeung 阅读(7) 评论(0) 推荐(0)
 
摘要: Simonyeung2020@gmail.com (user command "gcloud init" if you want to switch to annother account) https://console.cloud.google.com/home/dashboard?authus 阅读全文
posted @ 2026-01-17 11:15 Matt Yeung 阅读(5) 评论(0) 推荐(0)
 
摘要: Installation: https://www.decodingdevops.com/how-to-install-terraform-on-windows-10-or-8-or-7/ Create a .tf file provider "aws" { region = "us-east-1" 阅读全文
posted @ 2026-01-17 11:14 Matt Yeung 阅读(5) 评论(0) 推荐(0)
 
摘要: https://dev.azure.com/mattyang0322/ user:matt.yang@commscope.com/Qazw1@34 Create a new project - Create github repo using method defined in https://ww 阅读全文
posted @ 2026-01-17 11:14 Matt Yeung 阅读(5) 评论(0) 推荐(0)
 
摘要: Create EKS using github terraform module template module "in28minutes-cluster" { source = "terraform-aws-modules/eks/aws" cluster_name = "in28minutes- 阅读全文
posted @ 2026-01-17 11:12 Matt Yeung 阅读(6) 评论(0) 推荐(0)
 
摘要: https://colin-scott.github.io/personal_website/research/interactive_latency.html Tutorial https://commscope1.udemy.com/course/pragmatic-system-design/ 阅读全文
posted @ 2026-01-17 10:56 Matt Yeung 阅读(6) 评论(0) 推荐(0)
 
摘要: 最基础的认证方案——HTTP Basic 认证为例来介绍认证是如何工作的。HTTP Basic 认证是一种主要以演示为目的的认证方案,也应用于一些不要求安全性的场合,譬如家里的路由器登录等。Basic 认证产生用户身份凭证的方法是让用户输入用户名和密码,经过 Base64 编码“加密”后作为身份凭证 阅读全文
posted @ 2026-01-17 10:56 Matt Yeung 阅读(0) 评论(0) 推荐(0)
 
摘要: Management Wise Capacity /Staffing Plan Input product contact background product project functional and non functional requirement, time schedule requ 阅读全文
posted @ 2026-01-17 10:55 Matt Yeung 阅读(8) 评论(0) 推荐(0)
 
摘要: Procedure to come up with High Level estimation WBS to come up with estimate of staff months, (e.g. 42 manmonths) devided by num of people working ful 阅读全文
posted @ 2026-01-17 10:47 Matt Yeung 阅读(10) 评论(0) 推荐(0)
 
摘要: Dev turn managerMid level dev ususally span 4-5 years to develop specialty at one firld either front or backend.Tried different technology with a goal 阅读全文
posted @ 2026-01-17 10:46 Matt Yeung 阅读(8) 评论(0) 推荐(0)
 
摘要: https://www.youtube.com/watch?v=x4IboMnTdSA&t=1228s 阅读全文
posted @ 2026-01-17 10:10 Matt Yeung 阅读(4) 评论(0) 推荐(0)
 
摘要: 1.Domain champion How to recognize it: Read from refactor and churn metrics , always work at same code work directory, knows every class every method 阅读全文
posted @ 2026-01-17 10:09 Matt Yeung 阅读(5) 评论(0) 推荐(0)
 
摘要: How to scale your leaderships. Do not micromanage, do not lose track of people 2 levels apart from your position. have a regular one on one meeting。 B 阅读全文
posted @ 2026-01-17 10:00 Matt Yeung 阅读(7) 评论(0) 推荐(0)
 
摘要: Dealing with Ambiguity Skilled: Effectively cope with change, can switch gear comfortably Remedies Embrace Incrementalism: shooting in the dark with a 阅读全文
posted @ 2026-01-17 09:59 Matt Yeung 阅读(6) 评论(0) 推荐(0)
 
摘要: https://www.youtube.com/watch?v=qEeHHv_t31I 1. Is the class name, function name self explanatory and comply with the naming convention 2. Is the funct 阅读全文
posted @ 2026-01-17 09:55 Matt Yeung 阅读(8) 评论(0) 推荐(0)
 
摘要: Organization climate determined by company performance in financial, economical, technological, commericial and social aspect. Team climate is collect 阅读全文
posted @ 2026-01-17 09:55 Matt Yeung 阅读(3) 评论(0) 推荐(0)
 
摘要: https://www.youtube.com/watch?v=Rk4CsfJKg9k https://passmyinterview.com/senior-manager-director-interview/# 阅读全文
posted @ 2026-01-17 09:55 Matt Yeung 阅读(5) 评论(0) 推荐(0)
 
摘要: https://commscope1.udemy.com/course/developer-to-architect/learn/lecture/24967190#overview Main theme Reuse resource Optimize code efficiency Caching 阅读全文
posted @ 2026-01-17 09:54 Matt Yeung 阅读(2) 评论(0) 推荐(0)
 
摘要: MangoDB tool MangoDB Each DB can be scale seperately to support larger write loads Create partition using task in seperate thread Linkage to fabio/con 阅读全文
posted @ 2026-01-17 09:54 Matt Yeung 阅读(3) 评论(0) 推荐(0)
 
摘要: 阅读全文
posted @ 2026-01-17 09:54 Matt Yeung 阅读(5) 评论(0) 推荐(0)
 
摘要: 阅读全文
posted @ 2026-01-17 09:54 Matt Yeung 阅读(3) 评论(0) 推荐(0)
 
摘要: K8S resource monitoring and auto scale https://www.cnblogs.com/Mattcoder/p/11222684.html 阅读全文
posted @ 2026-01-17 09:54 Matt Yeung 阅读(2) 评论(0) 推荐(0)
 
摘要: Conditional Resolving multiple implementation from generic interface base on types articles Generic type name inside the bracket can be treated as ide 阅读全文
posted @ 2026-01-17 09:53 Matt Yeung 阅读(3) 评论(0) 推荐(0)
 
摘要: DATABASE - Mango DB How is concurrent write / lock scenario being handled? https://www.mongodb.com/community/forums/t/locking-documents-in-mongo/6865/ 阅读全文
posted @ 2026-01-17 09:53 Matt Yeung 阅读(4) 评论(0) 推荐(0)
 
摘要: Sprint framework https://www.cnblogs.com/Mattcoder/articles/7307956.html Memcache, less reliable than Redis - no persistence, no backup The Kafka clus 阅读全文
posted @ 2026-01-17 09:53 Matt Yeung 阅读(3) 评论(0) 推荐(0)
 
摘要: 阅读全文
posted @ 2026-01-17 09:52 Matt Yeung 阅读(2) 评论(0) 推荐(0)
 
摘要: https://commscope1.udemy.com/course/csharp-advanced/learn/lecture/1988794#overview Action<T> == Delegate with void signiture Func<T> == Delegate with 阅读全文
posted @ 2026-01-17 09:52 Matt Yeung 阅读(2) 评论(0) 推荐(0)
 
摘要: From DataAccess standpoint, there is UnitOfWork Pattern (8921498.html)aggregates all entity repository, this is at a cost you need to create entity re 阅读全文
posted @ 2026-01-17 09:51 Matt Yeung 阅读(3) 评论(0) 推荐(0)
 
摘要: Page 21 Genric constraint C# generic constraint is a way to specify requirements on the type parameter of a generic class or method. It allows you to 阅读全文
posted @ 2026-01-17 09:50 Matt Yeung 阅读(5) 评论(0) 推荐(0)
 
摘要: 03:32 - Q3. What are the different types of Inheritance? 07:36 - Q5. What is Polymorphism and what are its types? What is diff between overloading and 阅读全文
posted @ 2026-01-17 09:50 Matt Yeung 阅读(7) 评论(0) 推荐(0)
 
摘要: Telecom multi service operator business tool to organize job fullfillment of 10k field repair and install technician 3 self contain microservices - lo 阅读全文
posted @ 2026-01-17 09:49 Matt Yeung 阅读(9) 评论(0) 推荐(0)
 
摘要: 阅读全文
posted @ 2026-01-17 09:49 Matt Yeung 阅读(5) 评论(0) 推荐(0)
 
摘要: Angular.json just like csproj in c# to defined elements needed to build and run the angular app, it provides application entry point, first view lande 阅读全文
posted @ 2026-01-17 09:48 Matt Yeung 阅读(11) 评论(0) 推荐(0)
 
摘要: Story VUEDPI-3838: Ability to restart specific program container from a specific Splicer/RC Background: Frontend: Backend: Work Breakdown and Estimati 阅读全文
posted @ 2026-01-17 09:47 Matt Yeung 阅读(8) 评论(0) 推荐(0)