JavaScript函数存在「定义时上下文」和「运行时上下文」以及「上下文是可以改变的」这样的概念 apply和call函数 call() 和 apply()都是为了改变某个函数运行时的上下文(context)而存在的,换句话说,就是为了改变函数体内部 this 的指向 call()方法接受的是一个 ...
分类:
移动开发 时间:
2017-03-01 13:50:25
阅读次数:
184
I am trying to resize a logical volume on CentOS7 but am running into the following error: solution: After a bit of trial and error... as mentioned in ...
分类:
其他好文 时间:
2017-02-28 13:28:45
阅读次数:
470
http://answers.opencv.org/question/129819/finding-distance-between-two-curves/ 问题: Hello, Im trying to add tangents along the curve in the image below... ...
分类:
其他好文 时间:
2017-02-26 11:03:44
阅读次数:
389
检查发现是DataNode一直连接不到NameNode。 检查各个节点在etc/hosts中的配置是否有127.0.1.1 xxxxxx。如果有把其屏蔽或者删除,重启各节点即可。 原因:127.0.1.1是debian中的本地回环。这个造成了hadoop解析出现问题。这个设置应该是在做伪分布式的ha ...
分类:
Web程序 时间:
2017-02-25 12:25:15
阅读次数:
154
Formatting XML and JSON using Sublime Text Last week I was trying to make some changes to my WCF service and had to deal with some XML data. The probl... ...
分类:
Web程序 时间:
2017-02-21 15:46:15
阅读次数:
269
Robot Framework with PyCharm Robot Framework with PyCharm up vote1down votefavorite 1 I am totally new to automation and trying to learn RobotFramewor ...
分类:
其他好文 时间:
2017-02-11 12:12:47
阅读次数:
488
目前时间是:2017-01-24 本文不涉及activemq的安装 需求 activemq实时传递数据至服务 elasticsearch做索引 对外开放查询接口 完成全文检索 环境 jdk:1.8 spirng boot:1.4.3.RELEASE elasticsearch:2.4.3 activ ...
分类:
编程语言 时间:
2017-01-25 16:28:18
阅读次数:
779
查看portage的手册命令user $man emerge 一般在gentoo中提及的包都是安装程序,他们的信息一般都在 /usr/portage 目录下 root #emerge --sync 更新portage的库,root #emerge-webrsync 防止防火墙阻拦portage联系镜 ...
分类:
其他好文 时间:
2017-01-22 18:19:06
阅读次数:
544
Supervised Learning In supervised learning, we are given a data set and already know what our correct output should look like, having the idea that th ...
分类:
其他好文 时间:
2017-01-15 23:01:02
阅读次数:
239
Farmer Brown's cows are up in arms, having heard that McDonalds is considering the introduction of a new product: Beef McNuggets. The cows are trying ...
分类:
其他好文 时间:
2017-01-12 20:54:07
阅读次数:
335