LINQ语句的使用小结: 1.将数组看做一张表来查询的情况: from d in countyIsCityLevel where d.Equals(AreaCode) select d 2.只查询出特定的字段: var data = (from d in ret.Cast() where d.Rec ...
分类:
其他好文 时间:
2018-12-13 19:37:33
阅读次数:
174
安装基于CentOS 7 安装,系统非最小化安装,选择部分Server 服务,开发工具组。全程使用root用户,因为操作系统的权限、安全,在启动时会和使用其它用户有差别。Step 1:下载hadoop.apache.org 选择推荐的下载镜像结点; https://hadoop.apache.org ...
分类:
其他好文 时间:
2018-12-13 19:20:31
阅读次数:
268
c++中的new会返回NULL空指针吗 "https://stackoverflow.com/questions/3389420/will new operator return null" On a standards conforming C++ implementation, no. The ...
分类:
其他好文 时间:
2018-12-13 16:32:35
阅读次数:
211
恢复内容开始 1.++i 先计算后输出2.arraycopy(a,2,b,2,2) 从a数组第二位复制两位替换掉b数组第二位后两位3.java独特特点,平台无关性。4..java文件编译成.class文件5.读取图片文件可使用6.linkedhashset会保留顺序,treeset会自动排序。7.j ...
分类:
其他好文 时间:
2018-12-12 17:40:35
阅读次数:
169
Structural Directives https://angular.io/guide/structural-directives#template-input-variable There are two other kinds of Angular directives, describe ...
分类:
其他好文 时间:
2018-12-12 15:00:31
阅读次数:
173
ShowSummary: function () { if (primeConfig.IfShowSummary) { primeConfig.IfShowSummary = false; $("#divDesc").slideUp("slow"); $("#divSummary").css("ba ...
分类:
Web程序 时间:
2018-12-12 13:24:25
阅读次数:
219
早上来到公司,线上的项目报错: 赶紧连接服务器看下问题,玛德,服务器都连不上,第一反应,服务器挂了,缓存挂了,解决方法:找运维重启服务器,重启缓存,ok,搞定。 ...
分类:
数据库 时间:
2018-12-12 11:17:58
阅读次数:
378
unittest 下的属性 1.Unittest.TestCase:所有测试用例类继承的基本类 2.Unittest.main():将一个单元测试模块变为可直接运行的测试脚本 3.Unittest.TestSuite:创建测试套件 4.unittest.TextTestRunner():unitte ...
分类:
其他好文 时间:
2018-12-12 00:29:44
阅读次数:
187
重磅!阿里巴巴工程师获得 containerd 社区席位,与社区共建云时代容器标准 11 月 29 日,CNCF containerd 社区正式宣布:两位阿里巴巴工程师正式获得 containerd 社区席位,成为 containerd 社区 Reviewer,未来将共同参与云时代容器标准的建设。
分类:
其他好文 时间:
2018-12-11 19:53:05
阅读次数:
199