How To Write Plugin in jQueryhttp://www.codeproject.com/Articles/291290/How-To-Write-Plugin-in-jQueryThis article provides a comprehensive knowledge t...
分类:
Web程序 时间:
2014-11-11 14:10:40
阅读次数:
364
问题:原系统查询接口不支持分页也不可能加入分页支持,导致Ajax查询数据过多,返回数据达到2W多条记录时响应已经极慢,查询功能不要求数据实时性,页面反应速度极慢、体验不好;经排查是由于数据量过大导致写回页面的时候慢,实现是直接Servlet输出流写到页面上(output.write(buffer, ...
分类:
其他好文 时间:
2014-11-10 23:17:33
阅读次数:
326
JavaScript写在之间 之间的是文本类型(text),javascript是为了告诉浏览器里面的文本是属于JavaScript语言。 引用外部javascript文件:变量 var mychar输出内容: document.write();警告: alert(字符窜或变量) alert("h....
分类:
编程语言 时间:
2014-11-10 19:30:55
阅读次数:
179
问题一:Response.Write 后连接Response.Redirect ,则Response.Write无法显示,直接跳转入Response.Redirect 的页面。解决方案:Response.Write("");假设,script内容中含有变量,那么解决方法是:string a=当前的记...
分类:
其他好文 时间:
2014-11-10 17:29:45
阅读次数:
148
Problem DescriptionMisspelling is an art form that students seem to excel at. Write a program that removes the nth character from an input string.Inpu...
分类:
其他好文 时间:
2014-11-10 15:17:26
阅读次数:
207
客户端应用中的异步I/O
主流程和同步客户端应用有点类似,不同的是Boost.Asio每次都位于async_read和async_write请求中间。...
分类:
编程语言 时间:
2014-11-10 09:58:20
阅读次数:
235
文件操作篇closecreatdupdup2fcntlflockfsynclseekmkstempopenreadsyncwriteclose(关闭文件)相关函数open,fcntl,shutdown,unlink,fclose表头文件#include定义函数int close(int fd);函数...
分类:
其他好文 时间:
2014-11-10 01:01:48
阅读次数:
230
1.测试标题测试标题效果2.测试代码测试代码效果void client(io_service &ios, deadline_timer &timer, const system::error_code &ec){ try{ cout str(100, 0); _s...
分类:
其他好文 时间:
2014-11-09 12:26:40
阅读次数:
114
Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identical an...
分类:
其他好文 时间:
2014-11-09 06:16:58
阅读次数:
170
一。select和epoll首先我们来定义流的概念,一个流可以是文件,socket,pipe等等可以进行I/O操作的内核对象。不管是文件,还是套接字,还是管道,我们都可以把他们看作流。通过read,我们可以从流中读入数据;通过write,我们可以往流写入数据。现在假定一个情形,我们需要从流中读数据,...
分类:
其他好文 时间:
2014-11-09 06:15:34
阅读次数:
233