what is websocketsTwo-way communication over
ont TCP socket, a type of PUSH technology HTML5的新特性,用于双向推送消息(例如网页聊天,手机推送消息等)
原理:client利用regular http请求w.....
分类:
Web程序 时间:
2014-05-23 11:28:28
阅读次数:
560
转自http://jiangshuiy.iteye.com/blog/1674235PS:今天做android助手项目的时候,发现adb
push命令执行会卡死,最后发现不能用waitfor阻塞等待执行结果,而且cmd上print的内容是打在进程的error流而不是input流,所以搞了好一会儿,最...
分类:
编程语言 时间:
2014-05-23 10:33:25
阅读次数:
562
LINK : fatal error LNK1123: failure during
conversion to COFF: file invalid or corruptAfter installing Visual Studio 2010
Service Pack 1, some users w...
分类:
其他好文 时间:
2014-05-23 10:26:11
阅读次数:
403
简单的call函数过程
1.参数入栈,返回地址入栈。在一个栈帧里,call function的完整过程应该是这样的,call调用的过程要经历两个过程,一个是首先把调用函数之前的指令的下一条指令地址压入栈中(push ebp),作为返回地址,也就是保存旧栈地址,接着会跳转到被调函数的地址入口。呵呵,现在就是借此来恶补汇编哈。
2.代码区跳转。在执行被调函数的时候,为函数重新开辟栈帧,(mov ebp,esp)这句的意思是将旧栈顶换为新栈的底,这里的新栈一般是由函数专属的哈, 下面就是用sub esp, ...
分类:
其他好文 时间:
2014-05-22 11:34:25
阅读次数:
189
【题目】
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
(i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2).
You are given a target value to search. If found in the array return its index, otherwise return -1.
You may assume no du...
分类:
其他好文 时间:
2014-05-22 10:43:12
阅读次数:
310
定义和用法 标签被用来组合文档中的行内元素。HTML 与 XHTML
之间的差异NONE提示和注释:提示:请使用 来组合行内元素,以便通过样式来格式化它们。注释:span
没有固定的格式表现。当对它应用样式时,它才会产生视觉上的变化。例子some text.some other text.例子解释....
分类:
Web程序 时间:
2014-05-20 08:26:17
阅读次数:
431
GLES2.0:Some device will give a warning on
compling shaders(yet the compling will succeed), and the rendering result is
incorrect with blink & artifac...
分类:
其他好文 时间:
2014-05-19 19:49:50
阅读次数:
328
题目描述:用两个栈来实现一个队列,完成队列的Push和Pop操作。队列中的元素为int类型。输入:每个输入文件包含一个测试样例。对于每个测试样例,第一行输入一个n(1=0)2. POP
从队列中pop一个数。输出:对应每个测试案例,打印所有pop操作中从队列pop中的数字。如果执行pop操作时,队列...
分类:
其他好文 时间:
2014-05-19 19:22:26
阅读次数:
182
1 @echo off 2 setlocal enabledelayedexpansion 3
git status||goto :eof 4 5 set "msg=quick push. %date% %time%" 6 if #%1==# (set
/p "msg=commit messa...
分类:
其他好文 时间:
2014-05-19 15:14:16
阅读次数:
402
Search in Rotated Sorted Array ISuppose a
sorted array is rotated at some pivot unknown to you beforehand.(i.e., 0 1 2 4 5
6 7 might become 4 5 6 7 0 ...
分类:
其他好文 时间:
2014-05-19 12:30:00
阅读次数:
388