Socket.IO 是目前 Web 领域最火的实时引擎,用于实现基于事件的双向实时的通信。它适用于任何平台,浏览器或设备,专注于可靠性和速度。您可以将数据推送到客户端,并获得实时的计数,日志或图表。这是 GitHub 上最强大的 JavaScript 框架之一,Node.js 开发必备。
分类:
其他好文 时间:
2014-06-15 23:20:05
阅读次数:
282
O(1)时间内删除结点的思路只能是复制该结点下一个结点的数据,然后删除该结点的下一个结点,来等效删除此结点。需要注意的地方是删除头结点和尾结点的处理。 1 #include 2 #include 3 #include 4 typedef struct Node 5 { 6 int da...
分类:
其他好文 时间:
2014-06-15 17:05:10
阅读次数:
107
/*abs(n)返回参数n所指定数值的绝对值(如果参数值为NULL,则返回结果为NULL,下同)。*/--SELECT ABS(-3.14) FROM DUAL; --3.14/*round(n[, m])返回对参数n进行四舍五入处理后的结果。参数n可以是任意数字、m则必须为整数。如果省略参数m,....
分类:
数据库 时间:
2014-06-15 16:48:23
阅读次数:
300
String saveFolder = "C:\\";Preferences pref = Preferences.userRoot().node(this.getClass().getName());String lastPath = pref.get("lastPath", "");JFileC...
分类:
其他好文 时间:
2014-06-15 07:39:42
阅读次数:
447
///////////////////////////////////////////////////////////////////////////////Action 调用 Commandpublic class xxxxxAction extends AbstractAIFAction {pu...
分类:
其他好文 时间:
2014-06-15 07:04:47
阅读次数:
332
写得很好: http://blog.csdn.net/hitwhylz/article/details/19689567CCNode类的setPosition,getPosition函数如果是一个Node的Child则获取的坐标就是该Node的本地坐标(原点为父节点左下角)。 另一个关键问...
分类:
其他好文 时间:
2014-06-15 06:25:50
阅读次数:
203
刚刚 部署了ii7的dll的有x86写的,就会出现以下这样的问题 iis 7 x86,Could not load file or assembly 'Name' or one of its dependencies. An attempt was made to load a program wi...
分类:
Web程序 时间:
2014-06-14 23:07:21
阅读次数:
428
一年前,准备使用mongDb自带的map,reduce功能模拟hadoop,换个思路做一个简易的大数据分拆再结合存储的办法;这个功能可以用于数据日志或者游戏数据之类,进行周期性归纳和按照自己需求重组数据;以下代码实现了将每日数据collecttion:gameLog日期的数据统计出不同的collec...
分类:
数据库 时间:
2014-06-14 22:38:35
阅读次数:
432
Question:Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the below binary tree, .....
分类:
其他好文 时间:
2014-06-14 20:59:07
阅读次数:
188