概述
内核的初始化过程过程中,与网络相关的工作如下所示:
内核引导时执行start_kernel,start_kernel结束之前会调用rest_init,rest_init初始化内核线程init(在Linux3-12中为kernel_init)。
asmlinkage void __init start_kernel(void)
{
...
parse...
分类:
系统相关 时间:
2015-02-03 15:05:14
阅读次数:
264
Unfortunately, standard C++ library provides no tools for working with HTTP protocol. Therefore, when we want to run some REST service, parse a webpage or write a simple bot or web crawler, we alwa...
分类:
编程语言 时间:
2015-02-01 17:54:09
阅读次数:
252
1. 主从
主节点
打开rest,工作在主模式,打开http管理接口,打开安全控制:mongod.exe --install --rest --master --httpinterface --auth --dbpath e:\mongodb\db --logpath e:\mongodb\log\log.txt --logappend
从节点
主节点地址192.168.117.1:mon...
分类:
数据库 时间:
2015-01-30 16:12:04
阅读次数:
248
Description
In order to get from one of the F (1 <= F <= 5,000) grazing fields (which are numbered 1..F) to another field, Bessie and the rest of the herd are forced to cross near the Tree of Rotte...
分类:
移动开发 时间:
2015-01-29 21:12:44
阅读次数:
311
前段时间做了DTREE项目中的前后端数据存储功能,在原有的ngController上进行HTTP请求,后端接受到请求后再存储到mongoDB上。现将学习所得记录成这篇文章。大致内容为REST的相关概念的介绍,以及结合项目实践的一些实战经验,最后一个RESTful的Web Service就成功开发出来...
分类:
Web程序 时间:
2015-01-29 17:13:07
阅读次数:
208
Problem Description
An inch worm is at the bottom of a well n inches deep. It has enough energy to climb u inches every minute, but then has to rest a minute before climbing again. During the rest, i...
分类:
其他好文 时间:
2015-01-28 09:52:39
阅读次数:
114
DescriptionAn inch worm is at the bottom of a well n inches deep. It has enough energy to climb u inches every minute, but then has to rest a minute b...
分类:
其他好文 时间:
2015-01-27 13:05:04
阅读次数:
150
1.本文参考链接: http://shijunjuan.iteye.com/blog/1812642(主要是本链接) http://sleeplessinslc.blogspot.com/2010/03/restful-representation-with-google.html(另外一个方法) ...
最近做了一个 MEAN stack 的 app 。后台用 NodeJS 从 Jira rest api 获得JSON数据并做处理,然后前端用 AngularJS Ajax call 获得处理后的 JSON 数据,显示到 App 上。处理了很多 JSON 数据,决定编一个例子,写一个总结。
JSON 数据处理,基本就是 JSON String 和 JSON Object 之间的转换。
J...
分类:
编程语言 时间:
2015-01-27 08:09:42
阅读次数:
183
使用spring配合Junit进行单元测试的总结,介绍了直接测试spring的bean、测试springMVC、restEasy提供的rest接口三种情况
分类:
编程语言 时间:
2015-01-27 01:55:02
阅读次数:
368