一、前传 在之前做web时也经常用到js对象转json和json转js对象.既然是Node.js处理I/O数据,也把这个记下来。 Json转Js对象:JSON.parse(jsonstr); //可以将json字符串转换成json对象 Js对象转Json:JSON.stringify(jsonobj
分类:
Web程序 时间:
2016-03-20 13:00:17
阅读次数:
253
What is off-by-one bug? Copying source string into destination buffer could result in off-by-one when Source string length is equal to destination buf...
分类:
系统相关 时间:
2016-03-18 23:28:09
阅读次数:
313
https介绍: HTTPS(全称:Hypertext Transfer Protocol over Secure Socket Layer),是以安全为目标的HTTP通道,简单讲是HTTP的安全版。即HTTP下加入SSL层,HTTPS的安全基础是SSL,因此加密的详细内容就需要SSL。 它是一个U
分类:
Web程序 时间:
2016-03-18 19:40:32
阅读次数:
234
1.get请求-->在tomcat--》conf--》server.xml <Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443" URIEncoding="UTF-8"/> 2
分类:
Web程序 时间:
2016-03-18 09:25:01
阅读次数:
124
对于初学Node.js框架的开发人员来说,可能认为Buffer模块比较易学、重要性也不是那么突出。其实,Buffer模块在文件I/O和网络I/O中应用非常广泛,其处理二进制的性能比普通字符串性能要高出很多,重要性可谓是举足轻重。
分类:
Web程序 时间:
2016-03-17 12:32:29
阅读次数:
201
Serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file or memory buffer, or
分类:
其他好文 时间:
2016-03-15 17:17:36
阅读次数:
304
abs all any apply basestring bin bool buffer bytearray bytes callable chr classmethod cmp coerce compile complex copyright credits delattr dict dir di
分类:
编程语言 时间:
2016-03-15 12:08:49
阅读次数:
195
https://developer.chrome.com/devtools/docs/remote-debugging#remote http://fex.baidu.com/blog/2014/06/remote-debugging-protocol//
分类:
其他好文 时间:
2016-03-15 08:35:11
阅读次数:
204
1、首先在自定义的cell中,创建两个代理方法 @protocol shopCartDelegate <NSObject> -(void)shopCartDelegate:(ShopCartCell *)cell WithBtn:(UIButton *)btn; -(void)shopCartDel
分类:
其他好文 时间:
2016-03-14 18:31:00
阅读次数:
205