首页 > 其他
2015微软MVP全球峰会见闻
2015.10.31 -2015.11.8 一周的时间完成微软MVP全球峰会旅程,这一周在不断的倒时差,行程安排非常的紧张,还好和大家请假了没有更新微信公众号,今天开始继续更新微信公众号,开始新的旅程,本文主要介绍下本次峰会旅程的见闻。
分类:其他   时间:2015-11-09 07:08:02    收藏:0  评论:0  赞:0  阅读:301
ULK --- Chap3 Processes: Lists of Tasking_Running processes
When looking for a new process to run on a CPU, the kernel has to consider only the runnable processes(that is, the processes in the TASK_RUNNING stat...
分类:其他   时间:2015-11-09 07:07:42    收藏:0  评论:0  赞:0  阅读:126
Paint House II 解答
QuestionThere are a row ofnhouses, each house can be painted with one of thekcolors. The cost of painting each house with a certain color is different...
分类:其他   时间:2015-11-09 07:07:32    收藏:0  评论:0  赞:0  阅读:293
Sherlock and The Beast
Problem StatementSherlock Holmes is getting paranoid about Professor Moriarty, his arch-enemy. All his efforts to subdue Moriarty have been in vain. T...
分类:其他   时间:2015-11-09 07:07:22    收藏:0  评论:0  赞:0  阅读:192
Utopian Tree
Problem StatementThe Utopian Tree goes through2cycles of growth every year. The first growth cycle occurs during the spring, when itdoublesin height. ...
分类:其他   时间:2015-11-09 07:07:02    收藏:0  评论:0  赞:0  阅读:252
创建全局可读可写的文件
//全局可读可写的文件public void on(View view) { try { FileOutputStream fis = openFileOutput("A.text", MODE_WORLD_READABLE+MODE_WORLD_WRITEABLE); fis.wri...
分类:其他   时间:2015-11-09 07:06:12    收藏:0  评论:0  赞:0  阅读:177
DOM生成XML文档
1 import java.io.File; 2 3 import javax.xml.parsers.DocumentBuilder; 4 import javax.xml.parsers.DocumentBuilderFactory; 5 import javax.xml.transform.....
分类:其他   时间:2015-11-09 07:05:42    收藏:0  评论:0  赞:0  阅读:188
A geometric interpretation of the covariance matrix
IntroductionIn this article, we provide an intuitive, geometric interpretation of the covariance matrix, by exploring the relation between linear tran...
分类:其他   时间:2015-11-09 07:05:33    收藏:0  评论:0  赞:0  阅读:462
Paint House 解答
QuestionThere are a row ofnhouses, each house can be painted with one of the three colors: red, blue or green. The cost of painting each house with a ...
分类:其他   时间:2015-11-09 07:05:22    收藏:0  评论:0  赞:0  阅读:304
PBR Step by Step( 五)Phong反射模型
Lamertian模型是粗糙表面的理想反射模型,当光线照射到光滑表面会产生高光,Phong反射模型(Phong reflection model,1973)是其中一类的有向光照的镜面反射模型。根据光的反射定律:入射光线与反射光线成相同角度。用\({l}\)表示入射光线,\({r}\)表示出射光线,\...
分类:其他   时间:2015-11-09 07:05:12    收藏:0  评论:0  赞:0  阅读:529
[Farcol] Introduce
Use the Falcor Router to create a Virtual JSON resource. In this tutorial we will use Falcor’s express middleware to serve the Virtual JSON resource o...
分类:其他   时间:2015-11-09 07:05:02    收藏:0  评论:0  赞:0  阅读:260
Golang defer
defer 作用:作为函数的进入与退出的log日志:// Test project main.go代码如下package mainimport ( "fmt")func begin(funName string) string { fmt.Println("Enter Function"...
分类:其他   时间:2015-11-09 07:03:42    收藏:0  评论:0  赞:0  阅读:392
DOM解析XML
我们在D盘根目录下新建一个xml文件demo_01.xml:1 2 3 李兴华4 张孝祥5 然后写一个Java类解析这个xml文件: 1 import java.io.File; 2 import java.io.IOException; 3 4 import javax.xml....
分类:其他   时间:2015-11-09 07:03:12    收藏:0  评论:0  赞:0  阅读:355
[Falcor] Indroduce to Model
How to work with JSON data indirectly through a Falcor Model. The Falcor Model allows you to work with data using the same familiar JavaScript path sy...
分类:其他   时间:2015-11-09 07:02:52    收藏:0  评论:0  赞:0  阅读:339
[Angualr 2] Watch for changes
You can watch for form / control changes by using .valueChanges.observe({...}): this.sku.valueChanges.observer({ next: (value)=>{ ...
分类:其他   时间:2015-11-09 07:02:02    收藏:0  评论:0  赞:0  阅读:317
[Angular 2] The form export from NgFormControl
In last post, we need to create an instanse variable:sku: AbstructControl;We can get rid of this by getting the exported form from NgFormControl, what...
分类:其他   时间:2015-11-09 07:01:22    收藏:0  评论:0  赞:0  阅读:341
[Angular 2] Custom Validtors
Create a custom validtor which only accepts the string start with '123'; function skuValidator(control){ if(!control.value.match(/^123/)){ ...
分类:其他   时间:2015-11-09 07:01:12    收藏:0  评论:0  赞:0  阅读:406
YII2 模块内自定义错误页
当前YII框架中把错误异常配置都放置在 web.php 中,对于新增的模块 module 非常不方便,而且文档中基本没有任何教程,此处给大家分享一个方法: <?php namespace app\modules\cangshu; class Module extends \yii\base\Module { public $controllerNamespace = ...
分类:其他   时间:2015-11-09 02:11:44    收藏:0  评论:0  赞:0  阅读:322
线性表的顺序存储—顺序表
线性表的顺序存储结构:把线性表中的所有元素按照其逻辑顺序依次存储到从计算机存储器中指定存储位置开始的一块连续的存储空间中。 ? ? ? 这样,线性表中第一个元素的存储位置就是指定的存储位置,第i+1个元素(1≤i≤n-1)的存储位置紧接在第i个元素的存储位置的后面。 ? ? ? 说明:由于C中数组的下标从0开始,线性表的第i个元素ai存放顺序表的第i-1位置上。为了清楚,将ai在逻 ...
分类:其他   时间:2015-11-09 02:11:26    收藏:0  评论:0  赞:0  阅读:260
kissy使用小结(2)模块化
1.页面中导入kissy(dev_index.html) <script?src="http://g.alicdn.com/kissy/k/1.4.8/??seed-min.js,import-style-min.js"? data-config="{combine:true}"></script> seed.min.js默认 ...
分类:其他   时间:2015-11-09 02:09:40    收藏:0  评论:0  赞:0  阅读:277
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!