ubuntu 14.04中Chrome浏览器标题栏出现中文乱码解决方法...
分类:
其他好文 时间:
2014-06-22 20:03:12
阅读次数:
111
模板方法模式(template method pattern) 详解本文地址: http://blog.csdn.net/caroline_wendy模板方法模式(template method pattern): 在一个方法中定义一个算法的骨架, 而将一些步骤延迟到子类中. 模板方法使得子类可以在不改变算法结构的情况下, 重新定义算法中的某些步骤.模板方法可以进行挂钩(hook), 钩子(hoo...
分类:
其他好文 时间:
2014-06-22 18:49:01
阅读次数:
227
Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum.
For example:
Given the below binary tree and sum = 22,
5
/ ...
分类:
其他好文 时间:
2014-06-21 22:44:58
阅读次数:
266
Last night it took me about two hours to learn arrays. For the sake of less time, I did not put emphaises on the practice question, just now when reading the book, I found that some methods
referred...
分类:
其他好文 时间:
2014-06-22 17:14:10
阅读次数:
152
Given a linked list, remove the nth node from the end of list and return its head.
For example,
Given linked list: 1->2->3->4->5, and n = 2.
After removing the second node from the end, the...
分类:
其他好文 时间:
2014-06-22 20:02:46
阅读次数:
182
??
Artifacts
工件
“Hello, World!”
is implemented as an applet, so it never stands alone but instead is typically a part of some Web page. The applet starts when its enclosing page is opened, trigge...
分类:
其他好文 时间:
2014-06-22 19:50:03
阅读次数:
180
??
Classes
类
Classes are the most important building block of any object-oriented system. A class is a description of a set of objects that share the same attributes, operations, relationships, ...
分类:
其他好文 时间:
2014-06-22 21:38:18
阅读次数:
226
??
Getting Started
开始
Modeling a system involves identifying the things that are important to your particular view. These things form the vocabulary of the system you are modeling. For example, ...
分类:
其他好文 时间:
2014-06-22 22:33:29
阅读次数:
220
1xx = 通知性应答
100 正在尝试
180 正在拨打
181 正被转接
182 正在排队
183 通话进展
2xx = 成功应答
200 OK
202 被接受:用于转介...
分类:
其他好文 时间:
2014-06-22 15:34:00
阅读次数:
213
转载请注明出处:
当一个packet到达openflow交换机,会进行流表的匹配,如果没有找到相应的流表项,就会发送一个packet_in消息
到达SDN controller端,控制器根据一定的路由算法决策后,会向该路径上的所有交换机下发流表(也就是发送FLOW_MOD消息,里面有对应的action)。这里要知道的是在SDN的环境下,控制器具有全局拓扑信息,每当有链路状态改变时就会跟...
分类:
其他好文 时间:
2014-06-22 18:55:50
阅读次数:
311
TinyXML是目前非常流行的一款基于DOM模型的XML解析器,简单易用且小巧玲珑,非常适合存储简单数据,配置文件。
该项目属于开源项目,在sourceforge上边的链接是:http://sourceforge.net/projects/tinyxml/
当前最新版本是2.6.2
先看一下源码文档的结构:
Docs是帮助文档,里边有非常多的使用说明,仅仅截一张图看一下...
分类:
其他好文 时间:
2014-06-21 18:52:40
阅读次数:
316
线性回归(linear regression)实践篇
之前一段时间在coursera看了Andrew ng的机器学习的课程,感觉还不错,算是入门了。这次打算以该课程的作业为主线,对机器学习基本知识做一下总结。小弟才学疏浅,如有错误,敬请指导。
问题原描述:
you will implement linear regression with one
variable to pred...
分类:
其他好文 时间:
2014-06-22 22:53:02
阅读次数:
361
基于二叉树和数组实现限制长度的最优Huffman编码...
分类:
其他好文 时间:
2014-06-22 22:52:30
阅读次数:
206
1.准备工作
运行环境:
ubuntu 14.04
下载及安装使用nginx的必备软件:
gcc编译器:
sudo apt-get install gcc
g++编译器:
sudo apt-get install g++
PCRE库:
wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pc...
分类:
其他好文 时间:
2014-06-21 18:50:06
阅读次数:
259