摘要:
官方说明:https://classic.yarnpkg.com/zh-Hans/docs/package-json 原文地址:yarn命令的使用 name 和 version 是 package.json 文件里最重要的两个字段,没有它们你的包无法被安装。 name 和 version 字段一起用
阅读全文
posted @ 2020-03-25 11:42
PanPan003
阅读(9650)
推荐(0)
摘要:
原文地址:https://blog.csdn.net/mangoyiy/article/details/79972759 Yarn是一个快速可靠安全的依赖管理工具。主要的三个特点: 极其快速,Yarn会缓存它下载的每个包,所以无需重复下载。它还能并行化操作以最大化资源利用率。特别安全,Yarn会在每
阅读全文
posted @ 2020-03-25 10:39
PanPan003
阅读(1138)
推荐(0)
摘要:
官网地址:https://docs.gitlab.com/ee/api/README.html
阅读全文
posted @ 2020-03-25 10:30
PanPan003
阅读(1893)
推荐(0)
posted @ 2020-03-24 15:47
PanPan003
阅读(0)
推荐(0)
posted @ 2020-03-24 15:46
PanPan003
阅读(0)
推荐(0)
posted @ 2020-03-24 12:15
PanPan003
阅读(0)
推荐(0)
posted @ 2020-03-24 11:44
PanPan003
阅读(0)
推荐(0)
posted @ 2020-03-24 11:36
PanPan003
阅读(0)
推荐(0)
摘要:
参考资料: Getting Started with xUnit.net _Using .NET Core with the .NET SDK command line Getting Started with xUnit.net_Using .NET Framework with Visual S
阅读全文
posted @ 2020-03-17 15:01
PanPan003
阅读(249)
推荐(0)
摘要:
论count使用不当的罪名 和 分页的优化
阅读全文
posted @ 2020-03-12 17:20
PanPan003
阅读(271)
推荐(0)
摘要:
https://www.postgresql.org/docs/9.5/sql-keywords-appendix.html
阅读全文
posted @ 2020-03-12 17:19
PanPan003
阅读(147)
推荐(0)
posted @ 2020-03-12 17:18
PanPan003
阅读(11)
推荐(0)
posted @ 2020-03-12 17:17
PanPan003
阅读(18)
推荐(0)
posted @ 2020-03-12 16:30
PanPan003
阅读(21)
推荐(0)
摘要:
官方文档: https://docs.microsoft.com/zh-cn/dotnet/standard/security/secure-coding-guidelines https://docs.microsoft.com/en-us/dotnet/standard/security/sec
阅读全文
posted @ 2020-03-12 15:39
PanPan003
阅读(159)
推荐(0)
摘要:
Moq Moq: an enjoyable mocking library The most popular and friendly mocking framework for .NET http://www.nuget.org/packages/Moq 参考资料: Mocks Aren't St
阅读全文
posted @ 2020-03-12 15:06
PanPan003
阅读(175)
推荐(0)
摘要:
//mock设置默认值 var requestMocService = new Mock<IRequestService>() ; requestMocService.DefaultValue = DefaultValue.Mock; //new RequestServiceClient(null)
阅读全文
posted @ 2020-03-12 10:35
PanPan003
阅读(2817)
推荐(0)
posted @ 2020-03-12 10:29
PanPan003
阅读(0)
推荐(0)
摘要:
有时候会遇到错误Merge的情况,这种情况需要使用-m参数。 如: $ git log commit 414b65a80446********8281c4479f01 Merge: eb027*****3268 Author: CHN\user <user@****.com> Date: Wed M
阅读全文
posted @ 2020-03-09 14:11
PanPan003
阅读(350)
推荐(0)
摘要:
Git cherry-pick $ git log --branches=*feature/v1.2* --since 2020-04-20 --until 2020-04-23 --pretty=format:"%an %h %aD %s " --reverse |grep -i "[author
阅读全文
posted @ 2020-03-06 18:33
PanPan003
阅读(771)
推荐(0)
摘要:
原文:PostgreSQL 数据库开发规范 命名规范 强制】库名、表名限制命名长度,建议表名及字段名字符总长度小于等于63。 【强制】对象名(表名、列名、函数名、视图名、序列名、等对象名称)规范,对象名务必只使用小写字母,下划线,数字。不要以pg开头,不要以数字开头,不要使用保留字。保留字参考htt
阅读全文
posted @ 2020-03-06 18:29
PanPan003
阅读(10925)
推荐(0)
摘要:
原文链接:C# 编码约定(C# 编程指南) 英文版:C# Coding Conventions (C# Programming Guide) Coding conventions serve the following purposes: They create a consistent look
阅读全文
posted @ 2020-03-06 18:28
PanPan003
阅读(310)
推荐(0)
摘要:
官方文档:Install FxCop analyzers in Visual Studio 1.安装 & 设置成功 2.release版本中删除相关Dll =》项目需要放到docker中,避免每次提交image过大,降低工作效率,故仅在debug时,才加入dll。 2.2.1 方式:编辑项目文件.c
阅读全文
posted @ 2020-03-06 18:22
PanPan003
阅读(704)
推荐(0)
摘要:
背景: 修改了configmaps之后,重启pods,Kubernetes中pods一个失败、一个runing: 分析思路: 1.查看问题pods: 1.1.表现:pods数量频繁变化:因为pods不断陷入(create-error-create)的循环。 1.2.说明: replicas设置为2。
阅读全文
posted @ 2020-03-05 18:40
PanPan003
阅读(7847)
推荐(0)
摘要:
原文 Git Bash输错账号密码如何重新输入:https://blog.csdn.net/qq_26878363/article/details/83146567 很多时候我们容易在Git Bash操作的时候,不慎输入错误的用户名或密码,此时一直提示: remote: Incorrect user
阅读全文
posted @ 2020-03-04 10:19
PanPan003
阅读(5883)
推荐(1)
posted @ 2020-02-24 18:26
PanPan003
阅读(5)
推荐(0)
摘要:
原文链接:https://www.newline.co/fullstack-react/30-days-of-react/day-5/ Data-Driven Hard-coding data in our applications isn't exactly ideal. Today, we'll
阅读全文
posted @ 2020-02-24 18:25
PanPan003
阅读(263)
推荐(0)
摘要:
原文链接:https://www.newline.co/fullstack-react/30-days-of-react/day-4/ In this section, we'll continue our work with our App component and start building
阅读全文
posted @ 2020-02-24 17:24
PanPan003
阅读(405)
推荐(0)
摘要:
原文链接:https://www.newline.co/fullstack-react/30-days-of-react/day-3/ Let's revisit the "Hello world" app we introduced on day one <!DOCTYPE html> <html
阅读全文
posted @ 2020-02-24 16:50
PanPan003
阅读(163)
推荐(0)
摘要:
原文链接:https://www.newline.co/fullstack-react/30-days-of-react/day-2/ JSX/ES5/ES6 是什么? ES5 (the ES stands for ECMAScript) is basically "regular JavaScri
阅读全文
posted @ 2020-02-24 16:01
PanPan003
阅读(498)
推荐(0)
摘要:
原文链接:https://www.newline.co/fullstack-react/30-days-of-react/day-1/ What is React? React is a JavaScript library for building user interfaces. It is t
阅读全文
posted @ 2020-02-24 15:41
PanPan003
阅读(218)
推荐(0)
posted @ 2020-02-21 15:27
PanPan003
阅读(43)
推荐(0)
摘要:
#git bash命令 #进入父级目录 $ cd *** #进入父级目录 $ git clone http://*****.git #克隆项目 $ cd **** #进入项目文件 $ git branch -r #查看所有分支 $ git checkout origin/****** #检出bran
阅读全文
posted @ 2020-02-17 13:01
PanPan003
阅读(1128)
推荐(0)
摘要:
PS C:\Users\**> docker pull redis:latest #拉取redis镜像 latest: Pulling from library/redis bc51dd8edc1b: Pull complete 37d80eb324ee: Pull complete 392b774
阅读全文
posted @ 2020-02-05 10:45
PanPan003
阅读(476)
推荐(0)
posted @ 2020-02-05 10:22
PanPan003
阅读(0)
推荐(0)
摘要:
原文:https://dotnetthoughts.net/configuring-redis-for-aspnet-core-session-store/ Posted by Anuraj on Monday, November 14, 2016 Reading time :1 minute AS
阅读全文
posted @ 2020-02-05 10:06
PanPan003
阅读(211)
推荐(0)
摘要:
原文连接:https://www.c-sharpcorner.com/article/configuring-redis-session-state-in-asp-net-core/ Introduction Session is a feature of ASP.NET Core that ena
阅读全文
posted @ 2020-02-05 10:05
PanPan003
阅读(248)
推荐(0)
摘要:
解决思路: 1. ESTABLISHED 过多,使用static解决 static HttpClientHandler StaticHttpClientHandler = new HttpClientHandler { AllowAutoRedirect = true, Proxy = new Sy
阅读全文
posted @ 2020-01-16 20:16
PanPan003
阅读(961)
推荐(0)
摘要:
PS D:\****.WebSite> docker exec -ti d630dc731617 /bin/bash root@d630dc731617:/app# apt-get install net-tools Reading package lists... Done Building de
阅读全文
posted @ 2020-01-03 15:41
PanPan003
阅读(337)
推荐(0)
摘要:
If you are consuming a Web API in your server-side code (or .NET client-side app), you are very likely to be using an HttpClient. HttpClient is a very
阅读全文
posted @ 2020-01-03 15:32
PanPan003
阅读(347)
推荐(0)