Java中线程的状态定义在java.lang.Thread类中的一个枚举中。 1 public enum State { 2 /** 3 * Thread state for a thread which has not yet started. 4 */ 5 NEW, 6 7 /** 8 * Th ...
分类:
编程语言 时间:
2019-09-11 09:57:34
阅读次数:
67
ef中,savechanges() 默认使用事务. 可以看到一个事务把两个insert包起来 如果你想在一个事务中多次执行savechanges 你应该这样写 ...
分类:
其他好文 时间:
2019-09-10 00:25:21
阅读次数:
109
kubernetes 添加删除master 节点及etcd节点
分类:
Web程序 时间:
2019-09-04 09:39:48
阅读次数:
247
vue init webpack-simple vuedemo2 To get started: cd vuedemo2 npm install npm run dev ...
分类:
其他好文 时间:
2019-09-04 00:15:47
阅读次数:
55
1、打开eclipse 2、打开MuMu模拟器 3、去到MuMu模拟器 adb_server.exe 文件所在目录: 4、按住Shift + 单击右键 》打开PowerShell窗口“ 在打开的窗口中输入 : 5、连接调试:打开eclipse -> windows -》打开 perspective ...
分类:
移动开发 时间:
2019-08-29 13:53:25
阅读次数:
116
一:下载到本地引用: 3.3.7版本:https://getbootstrap.com/docs/3.3/getting-started/#download 下载后解压到本地项目中引用 第二种,cdn标签引用:https://www.bootcdn.cn/twitter-bootstrap/ 为了稳 ...
分类:
其他好文 时间:
2019-08-27 15:46:00
阅读次数:
86
numpy get started 导入numpy库,并查看numpy版本 一、创建ndarray 1. 使用np.array()由python list创建 参数为列表: [1, 4, 2, 5, 3] 注意: + numpy默认ndarray的所有元素的类型是相同的 + 如果传进来的列表中包含不 ...
分类:
其他好文 时间:
2019-08-25 20:22:01
阅读次数:
77
https://developers.google.cn/web/fundamentals/vr/getting-started-with-webvr/ ...
分类:
其他好文 时间:
2019-08-21 13:56:50
阅读次数:
94
Elasticsearch 7.x 最详细安装及配置 一、Elasticsearch 7.x 小马哥说过,学习技术栈得看版本,那么 Elasticsearch 7.x 有什么好的特性呢? ES 7.0 是 2019 年 4 月份发布的,底层是 Lucene 8.0。其他还有需要了解的是: 废除单个索 ...
分类:
其他好文 时间:
2019-08-21 00:38:41
阅读次数:
165