1,在线编译,进入typescript官网http://www.typescriptlang.org/,点击里面的playground就可以直接写代码了。 2,在本地编译运行Typescript需要使用npm下载typescript npm install -g typescript tsc Hel ...
分类:
Web开发 时间:
2017-11-21 19:19:43
收藏:
0 评论:
0 赞:
0 阅读:
1446
``` cat kube apiserver.service ...
分类:
Windows开发 时间:
2017-11-21 19:19:33
收藏:
0 评论:
0 赞:
0 阅读:
552
1,将mule-standalone-3.4.0.zip 放到 /usr/local/ 下 2,unzip mule-standalone-3.4.0.zip 3, cd /usr/local/mule-standalone-3.4.0/bin (要替换jar 请参考 mule operation. ...
分类:
其他 时间:
2017-11-21 19:19:19
收藏:
0 评论:
0 赞:
0 阅读:
459
怎样写好ppt? 阿里巴巴矢量图标库 优品PPT SmartArt PPT美化大师 ...
分类:
其他 时间:
2017-11-21 19:18:00
收藏:
0 评论:
0 赞:
0 阅读:
200
Redis事物 Redis命令实现事务 Redis的事物包含在multi和exec(执行)或者discard(回滚)命令中 和sql事务不同的是,Redis调用Exec只是将所有的命令变成一个单元一起执行,期间不会插入其他的命令。 这种方式不保证事务的一致性,即使中间有一条命令出错了,其他命令仍然可 ...
分类:
其他 时间:
2017-11-21 19:17:22
收藏:
0 评论:
0 赞:
0 阅读:
900
在你的Activity的onCreate函数中添加如下代码即可完全禁用软键盘: 所以,你想全局生效的话,可以写一个基类,例如: 然后任意个Activity都继承它,如果你的项目已经有基类,那么把上面的代码插入到基类中即可,demo示例: 引用自:https://segmentfault.com/q/ ...
分类:
移动平台 时间:
2017-11-21 19:17:03
收藏:
0 评论:
0 赞:
0 阅读:
274
接着上一篇博客,除了实现统计总量外,我还用百度的echart实现了 统计答题曲线图。效果如下:http://newer.gailvlunpt.com/EntranceEducation/admin.php/Statis/index 百度echart是一个专业的花统计图,曲线图的第三方js类库。按照使 ...
分类:
Web开发 时间:
2017-11-21 19:16:46
收藏:
0 评论:
0 赞:
0 阅读:
331
1、创建代码仓库,这里说一下为什么要创建仓库,Git不能够作为源代码管理器,vs中自带的也只能够在本地进行管理,要和他们共享的话必须要有服务器端去存储代码,类似于SVN,它就有客户端和服务器端,这里推荐用GitHub做代码仓库 首先需要在GitHub上注册一个账号,这里就不说注册账号的流程了,直接上 ...
分类:
其他 时间:
2017-11-21 19:16:26
收藏:
0 评论:
0 赞:
0 阅读:
324
出现上面问题应该是Hadoop处在安全模式,解决问题方式就是手动退出安全模式 ...
分类:
Web开发 时间:
2017-11-21 19:16:00
收藏:
0 评论:
0 赞:
0 阅读:
398
什么是document.body? 什么是 document.documentElement? document.documentElement 与 document.body的应用场景 获取 scrollTop 方面的差异 在firefox(47.0)及 IE(11.3)下获取scrollTop, ...
分类:
其他 时间:
2017-11-21 19:15:39
收藏:
0 评论:
0 赞:
0 阅读:
169
如下图:当无测试报告的时候,使用runner = unitttest.TextTestRunner()可以执行用例,用例结果打印在控制台,当有了测试报告,不需要该行代码也可以执行测试用例,用例结果打印在报告中。 原因: runner = HTMLTestRunner() 这是由 HTMLTestRu ...
分类:
编程语言 时间:
2017-11-21 19:15:22
收藏:
0 评论:
0 赞:
0 阅读:
282
异步执行 exec("/alidata/server/php/bin/php /nas/wxdoctor/index.php App/Common/WordsPic/user_id/".$user_info['user_id']."/goods_id/".$goods_id."."/open_id/ ...
分类:
系统服务 时间:
2017-11-21 19:14:25
收藏:
0 评论:
0 赞:
0 阅读:
281
# f = open('json_file','w') # json.dump({'k':(1,2,3)},f) # f.close() # with open('json_file') as f: # ret = json.load(f) # print(ret,type(ret)) # ret ...
分类:
编程语言 时间:
2017-11-21 19:13:58
收藏:
0 评论:
0 赞:
0 阅读:
274
Given a non-empty tree with root R, and with weight Wi assigned to each tree node Ti. The weight of a path from R to Lis defined to be the sum of the ...
分类:
其他 时间:
2017-11-21 19:13:42
收藏:
0 评论:
0 赞:
0 阅读:
329
slice 从已有的数组中返回选定的元素。该方法不会修改数组,而是返回一个子数组。 语法:arr.slice(start,end) start: 必须,规定从何处开始选取。如果是负数,就是从尾部开始算起的位置(-1指最后一个元素,-2指倒数第二个元素); end: 可选,规定从何处结束选取。如果没有 ...
分类:
编程语言 时间:
2017-11-21 19:12:21
收藏:
0 评论:
0 赞:
0 阅读:
129
iterator 如果没有iterator接口,就不能进行for of 循环 如果想要进行for if 循环,在没有iterator的情况下,需要先部署iterator接口 ...
分类:
其他 时间:
2017-11-21 19:11:58
收藏:
0 评论:
0 赞:
0 阅读:
170
1.1.1 zabbix监控NFS 第一步创建脚本: 添加执行权限 chmod +x cat /server/scripts/nfs_check.sh [root@web02 scripts]# cat nfs_check.sh #!/bin/bash #nfs count =local + nfs ...
分类:
其他 时间:
2017-11-21 19:11:42
收藏:
0 评论:
0 赞:
0 阅读:
318
今天更换虚拟机中yum的源为国内163源,在执行yum makecache 时出现错误“ Could not retrieve mirrorlist ” Could not resolve host ***** 同时,在终端中 ping www.baidu.com 也没有通,但是ping 宿主机IP ...
分类:
系统服务 时间:
2017-11-21 19:11:31
收藏:
0 评论:
0 赞:
0 阅读:
282
try: a except NameError: print('NameError') print(123) ...
分类:
编程语言 时间:
2017-11-21 19:11:14
收藏:
0 评论:
0 赞:
0 阅读:
266
example : git remote add origin http://IP/lion.git ...
分类:
其他 时间:
2017-11-21 19:11:00
收藏:
0 评论:
0 赞:
0 阅读:
211