摘要: 背景信息 使用命令行编译xxxx.proto时报错。 报错信息 google/protobuf/any.proto: File not found.xxxxxx.proto:4:1: Import "google/protobuf/any.proto" was not found or had er 阅读全文
posted @ 2022-01-24 19:57 No5Meters 阅读(2533) 评论(0) 推荐(0) 编辑
摘要: 吾乃小白,奈何坑吾至深。 要搞清楚怎么用CPack,花了两天的时间。搜到的大多资料都讲如何用。但是很少解决我的问题。 今日搞定,列举一二,以备遗忘。 1. CPack是安装CMake时集成安装的工具。 2. CPack只是个打包工具,你让它把啥打包,它就打包啥,你不告诉它,它就给你打个空包,或者报错 阅读全文
posted @ 2020-12-22 19:26 No5Meters 阅读(1706) 评论(0) 推荐(0) 编辑
摘要: 我是Mongo DB 小白,只想把数据从一个账号,复制到另外一个账号里面。 研究了好久,原来需要在window上安装命令行接口,列举一二,以备后用。 数据库在MongoDB官网的云端 要把数据转移到另一个新的账号的官网云端 在自己的Windows PC上安装工具集MongoDB Database T 阅读全文
posted @ 2020-11-09 11:16 No5Meters 阅读(401) 评论(0) 推荐(0) 编辑
摘要: Visual Studio提供快捷键很多,分类列举一二,以提高编辑效率 Ctrl + T 或者 Ctrl + 逗号 我们常用Ctrl + F去查找字符串,实际上,这个快捷键可以方便的帮我们定位到class, function, 行号等。 只要记住名字,使我们无需借助project explorer也 阅读全文
posted @ 2020-11-02 22:51 No5Meters 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 发现一个不错的MEAN结构的例子 https://github.com/agonxgashi/MEAN-template 还有一个Angular5的学习例子 https://v5.angular.io/tutorial/toh-pt5 曾经用以上例子开发过一个实用网页,后来,用的不多了,也就渐渐淡忘 阅读全文
posted @ 2020-11-01 11:20 No5Meters 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 测试中的Attribute Life Cycle 生命周期 ClassInitialize | ClassCleanup TestInitialize | TestCleanup 数据驱动测试的一些例子 Data Driven Test Attributes // // DataRow Attrib 阅读全文
posted @ 2020-08-27 11:01 No5Meters 阅读(238) 评论(0) 推荐(0) 编辑
摘要: REM 使用 Batch/ Cmd / Dos Command 脚本 去找到刚刚创建的文件。for /f %%i in ('dir /b/a-d/od/t:c') do set LAST=%%i echo The most recently created file is %LAST% /f syn 阅读全文
posted @ 2020-08-10 14:23 No5Meters 阅读(707) 评论(0) 推荐(0) 编辑
摘要: class Try_StructClass { public void Test() { Number a = 1; Number b = a; a = 2; WriteLine($"a={a}, b={b}"); //a=2, b=1 Text A = 1; Text B = A; A = 2; 阅读全文
posted @ 2020-07-07 18:48 No5Meters 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 在excel中使用hyperlink定义地址时, 如果是静态文本,很简单,直接点你需要的地方就好了。 如果是动态的sheet cell 地址,需要 1. 在sheet名字前加个井号# 2. 如果sheet名字中有空格,记得用单引号把sheet的名字框住 3. 记得在cell的字符前加感叹号 阅读全文
posted @ 2020-06-11 16:33 No5Meters 阅读(476) 评论(0) 推荐(0) 编辑
摘要: Exception: Could not load file or assembly 'DllFileName, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5cadd04e079758c3' or one of its dependencies 阅读全文
posted @ 2020-04-06 21:11 No5Meters 阅读(8732) 评论(0) 推荐(0) 编辑