摘要:
参考 "mysql cluster镜像" https://medium.com/@ahmedamedy/mysql clustering with docker 611dc28b8db7 使用Docker创建Cluster步骤 目标:一个管理节点,二个数据节点,二个mysqlserver节点 1. 阅读全文
摘要:
https://medium.com/javascript scene/master the javascript interview what is a pure function d1c076bec976 The Trouble with Shared State Several years a 阅读全文
摘要:
https://segmentfault.com/a/1190000016351095 http://www.dengshenyu.com/java/%E5%88%86%E5%B8%83%E5%BC%8F%E7%B3%BB%E7%BB%9F/2017/10/23/zookeeper distribu 阅读全文
摘要:
``` using StackExchange.Redis; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace RedisDemo { class Program { ... 阅读全文
摘要:
``` function eq (y) { return function forX(x) { return x === y } } function mod (y) { return function forX (x) { return x % y } } function compose (fn 阅读全文
摘要:
```c [Fact] public async Task VerfiyJwtTokenUseJwks() { var jwt = @"your jwt token"; var wellKnownAddress = "http://your openid host/.well known/openi 阅读全文
摘要:
``` public struct HashCode { private readonly int value; private HashCode(int value) { this.value = value; } public static implicit operator i... 阅读全文
摘要:
``` public class RedisRateLimiter { private static Logger LOG = LogManager.GetLogger("redis-limiter"); private static readonly string TIME_KEY = "TIME_KEY"; private static readonly string... 阅读全文
摘要:
1. 准备Centos7环境及Docker环境 2. 从Docker hub拉取 基础镜像(可以使用国内加速) 3. 向Centos7指定目录上传Dotnet Core程序,目录: /home/firstApp 4. 制作Dockerfile Dockerfile 参考 1. https://doc 阅读全文
摘要:
``` const HttpRequest = function() { this.query = '' } function HttpResponse() { this.body = [] this.status = 0; } HttpResponse.prototype.write = function(block) { this.body.push(block) } H... 阅读全文