摘要: 下面是React官方文档中的Thinking inReact文章的翻译,第一次翻译英文的文章,肯定有非常多不对的地方,还望多多包涵。 原文地址:https://facebook.github.io/react/docs/thinking-in-react.html 原文開始 我是分隔符 Thinki 阅读全文
posted @ 2017-07-20 20:14 cxchanpin 阅读(249) 评论(0) 推荐(0)
摘要: 加入以下这个脚本在head标签中。 <script language="JavaScript"> <!-- var password=""; password=prompt('请输入password (本站点需输入password才可进入):',''); if (password != 'mima' 阅读全文
posted @ 2017-07-20 19:25 cxchanpin 阅读(403) 评论(0) 推荐(0)
摘要: BF&DRC 近期看了一篇高动态范围红外图像压缩的文章,《New technique for the visualization of high dynamic range infrared images》.这篇文章主要利用双边滤波器把宽动态红外图像切割为基本图像和细节图像,再分别对基本图像和细节图 阅读全文
posted @ 2017-07-20 17:58 cxchanpin 阅读(1514) 评论(0) 推荐(0)
摘要: 全部任务都具有自己的内存,启动阶段中的当前任务必须具备属于自己的内存。 mm_init_owner()函数传递init_mm和init_task參数 mm/init-mm.c struct mm_struct init_mm = { .mm_rb = RB_ROOT, .pgd = swapper_ 阅读全文
posted @ 2017-07-20 16:20 cxchanpin 阅读(570) 评论(0) 推荐(0)
摘要: 今天我们来看看Web API的数据查询功能,尽管之前介绍CRUD的文章里面提到过怎么去Read数据,可是并没有详细的去深究那些细节,今天我们就来详细看看吧。事实上呢,Web API的数据查询接口也是基于OData协议的,所以之前的OData Url Query的构造规则没有非常大的变化。比如:$to 阅读全文
posted @ 2017-07-20 15:06 cxchanpin 阅读(217) 评论(0) 推荐(0)
摘要: /******************************************************************************************** * author:conowen@大钟 * E-mail:conowen@hotmail.com * http: 阅读全文
posted @ 2017-07-20 14:09 cxchanpin 阅读(636) 评论(0) 推荐(0)
摘要: 提要近期在写一些C++的图形代码,在调试和測试过程中都会须要在终端打印一些信息出来。之前的做法是直接用std::cout<<"Some Word"<<std::endl;这样做事实上非常的麻烦,每次都要打非常多的字母还有特殊符号,除去我要打印的内容。还须要按下28下键盘,简直不能忍!參考Unity里 阅读全文
posted @ 2017-07-20 13:01 cxchanpin 阅读(494) 评论(0) 推荐(0)
摘要: LeetCode 3_Longest Substring Without Repeating Characters 题目描写叙述: Given a string, find the length of the longest substring without repeating character 阅读全文
posted @ 2017-07-20 10:56 cxchanpin 阅读(118) 评论(0) 推荐(0)
摘要: 原型模式是创建型模式。 设计意图:用原型实例指定创建对象的类型,并通过拷贝这个原型来创建新的对象。 我们使用构建简历的样例的类图来说明原型模式。 类图: 原型模式主要用于对象的复制。它的核心是就是类图中的原型类Prototype。这里我们定义了一个抽象的原型接口,声明了用于clone自己的方法,这里 阅读全文
posted @ 2017-07-20 10:01 cxchanpin 阅读(227) 评论(0) 推荐(0)