AngularJs是一个不错的用于开发SPA应用(单页Web应用)的框架。单页Web应用(single page web application,SPA),就是只有一张Web页面的应用。浏览器一开始会加载必需的HTML、CSS和JavaScript,所有的操作都在这张页面上完成,由JavaScrip ...
分类:
Web程序 时间:
2016-04-03 11:49:41
阅读次数:
356
AngularJs是一个不错的用于开发SPA应用(单页Web应用)的框架。单页Web应用(single page web application,SPA),就是只有一张Web页面的应用。浏览器一开始会加载必需的HTML、CSS和JavaScript,所有的操作都在这张页面上完成,由JavaScrip ...
分类:
Web程序 时间:
2016-04-03 10:25:28
阅读次数:
297
HowtorecoverrootpasswordinCentos6?Howtorecovertherootpassword?1)Press‘E‘whenstartingtheserver.2)SelectKernelfollowedbypressing‘E‘toeditthecommands.3)Add‘single‘or‘1‘thenpressenter.4)Press"B"tobootserverwithsingleusermode.5)Usecommand‘passwdroot‘tochangethe..
分类:
其他好文 时间:
2016-04-03 07:50:57
阅读次数:
345
Given an array of integers, every element appears three times except for one. Find that single one. Note: Your algorithm should have a linear runtime ...
分类:
其他好文 时间:
2016-04-02 09:33:39
阅读次数:
152
Some further statements on KNN:
It
appears that k-nearest-neighbor fits have a single parameter, the number of neighbors k, compared to the p parameters in least-squares fits. Although this is the...
分类:
其他好文 时间:
2016-04-01 18:33:09
阅读次数:
516
iOS上使用地图比Android要方便,只需要新建一个MKMapView,addSubView即可。这次要实现的效果如下: 有标注(大头针),定位,地图。 1、添加地图 1.1 新一个Single View app ,选择默认项,创建后,在ViewController.h [cpp] view pl ...
分类:
移动开发 时间:
2016-03-31 16:38:19
阅读次数:
308
1.Dijkstra 算法 Dijkstra算法适用于边权为正的情况。 用于计算正权图上的单源最短路(Single-Source Shortest Paths,SSSP)。所谓单源最短路即从单个源点出发,到所有结点的最短路。 算法同时适用于有向图和无向图。 伪代码: ...
分类:
编程语言 时间:
2016-03-31 14:13:30
阅读次数:
203
1 socket, core, thread
(1)socket就是主板上插cpu的槽的数目,也即管理员说的”路“
芯片厂商会把一个或多个Core封装在一个chip上,称作Socket(插槽)。假设一个插槽有两个Core,主板上插2个插槽,就是4核系统。
(2)core就是我们平时说的”核“,即双核,4核等。单核(single-core)和多核(multi-core)也称作u...
分类:
编程语言 时间:
2016-03-31 11:07:03
阅读次数:
245
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:
其他好文 时间:
2016-03-30 14:49:09
阅读次数:
139
适用于 3103 等高于 309x 的版本 —– BEGIN LICENSE —– Michael Barnes Single User License EA7E-821385 8A353C41 872A0D5C DF9B2950 AFF6F667 C458EA6D 8EA3C286 98D1D65 ...
分类:
其他好文 时间:
2016-03-30 14:44:48
阅读次数:
178