上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 42 下一页
摘要: openssl pkcs12 -export -out server.pfx -inkey server.key -in server.crt 阅读全文
posted @ 2019-06-23 16:30 chester·chen 阅读(1371) 评论(0) 推荐(0) 编辑
摘要: Server端 StartUp类: Service proto Client https://github.com/cysnet/Secure_gRpc https://github.com/cysnet/GRPC_IdentityServer4 https://damienbod.com/2019 阅读全文
posted @ 2019-06-23 12:53 chester·chen 阅读(825) 评论(2) 推荐(0) 编辑
摘要: gRPC中集成asp.net identity实现oAuth认证 在asp.net core 3.0中开启identity认证 asp.net core 3.0种需要导入的identity包与core 2.2发生了些变化: <ItemGroup> <PackageReference Include= 阅读全文
posted @ 2019-06-23 12:50 chester·chen 阅读(585) 评论(0) 推荐(0) 编辑
摘要: 截止时间 gRPC 允许客户端在调用一个远程方法前指定一个最后期限值。这个值指定了在客户端可以等待服务端多长时间来应答,超过这个时间值 RPC 将结束并返回DEADLINE_EXCEEDED错误。在服务端可以查询这个期限值来看是否一个特定的方法已经过期,或者还剩多长时间来完成这个方法。 元数据 元数 阅读全文
posted @ 2019-06-21 17:00 chester·chen 阅读(1129) 评论(0) 推荐(0) 编辑
摘要: using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Authorization.Infrastructure; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Authorization; using Microsoft.AspNet... 阅读全文
posted @ 2019-06-06 13:41 chester·chen 阅读(1272) 评论(0) 推荐(1) 编辑
摘要: version: '3.1' services: elasticsearch: image: docker.elastic.co/elasticsearch/elasticsearch:6.2.4 container_name: elasticsearch ports: - "9200:9200" volumes: - elasticsearch-data:/us... 阅读全文
posted @ 2019-06-05 10:44 chester·chen 阅读(460) 评论(0) 推荐(0) 编辑
摘要: //获取标准输出//第一种 //第二种 //第三种 //获取执行状态 //第一种 //第二种 //第三种 //无需返回值,仅执行shell命令 //最简单的方式 例如: 工作中需要获取shell 命令的执行状态,返回0或者非0groovy语句写法为: 如果grep命令执行没有报错,正常情况下exit 阅读全文
posted @ 2019-05-29 13:39 chester·chen 阅读(15628) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/diantun00/article/details/81075007 https://www.cnblogs.com/stulzq/p/10115589.html 阅读全文
posted @ 2019-05-29 13:35 chester·chen 阅读(352) 评论(0) 推荐(0) 编辑
摘要: 在使用https git拉取代码时,每次git pull的时候都会让输入用户名和密码 进入项目目录 命令:git config --global credential.helper store 然后会生成一个本地文件用于记录用户名和密码,这个文件我们无需关心 再次git pull一下,会让输入用户名 阅读全文
posted @ 2019-05-29 13:32 chester·chen 阅读(2117) 评论(0) 推荐(0) 编辑
摘要: def getHost(){ def remote = [:] remote.name = 'server02' remote.host = '39.19.90' remote.user = 'root' remote.port = 22 remote.password = '#########' remote.allowAnyHosts ... 阅读全文
posted @ 2019-05-29 11:56 chester·chen 阅读(325) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 42 下一页