上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 65 下一页
摘要: 最近我们介绍了LinkedIn的即时通信,最后提到了分型指标和读回复。为了实现这些功能,我们需要有办法通过长连接来把数据从服务器端推送到手机或网页客户端,而不是许多当代应用所采取的标准的请求-响应模式。在这篇文章中会描述在我们收到了消息、分型指标和读回复之后,如何立刻把它们发往客户端。 内容会包含我们是如何使用Play框架和Akka Actor Model来管理长连接、由服务器主动发送事件的。我... 阅读全文
posted @ 2016-12-06 08:28 94cool 阅读(1019) 评论(0) 推荐(0)
摘要: from:http://www.linuxidc.com/Linux/2013-07/88032.htm 1.首先,对于精度比较高的东西,比如money,我会用decimal类型,不会考虑float,double,因为他们容易产生误差,numeric和decimal同义,numeric将自动转成decimal。 DECIMAL从MySQL 5.1引入,列的声明语法是DECIMAL(M,D)。在... 阅读全文
posted @ 2016-12-01 14:30 94cool 阅读(7166) 评论(1) 推荐(0)
摘要: 下载:http://www.mongodb.org/downloads mongodb-win32-x86_64-3.2.5-signed.msi 安装: 1、dos下切换至安装目录bin下: 2、新建data、log目录 3、mongod --dbpath "D:\Program Files\MongoDB\data" --logpath "D:\Program Files\... 阅读全文
posted @ 2016-11-30 14:10 94cool 阅读(145) 评论(0) 推荐(0)
摘要: 用C#调用自己写的C++ DLL(x64),总是提示找不到DLL,调试可以,发布release老是提示找不到DLL(dll文件确定存在) 原因:Visual C++的DLL分发方式没选:调试默认选择:多线程调试 (/MTd)--d结尾的是Debug调试版本 解决方法:选择:多线程 (/MT),说明: 阅读全文
posted @ 2016-11-29 16:06 94cool 阅读(4739) 评论(0) 推荐(0)
摘要: from:http://blog.sina.com.cn/s/blog_62ad1b8101017qub.html 若DLL不在调用方的同一目录下,可以用LoadLibrary(L"DLL绝对路径")加载。但若调用的DLL内部又调用另外一个DLL,此时调用仍会失败。解决办法是用LoadLibraryEx: LoadLibraryEx("DLL绝对路径", NULL, LOAD_WITH_AL... 阅读全文
posted @ 2016-11-23 08:57 94cool 阅读(5036) 评论(0) 推荐(0)
摘要: mysql 有两种数据库引擎一种是 MyISAM,一种是 InnoDB MyISAM 发音为 "my-z[ei]m";InnoDB 发音为 "in-no-db" 阅读全文
posted @ 2016-11-22 12:01 94cool 阅读(2715) 评论(0) 推荐(0)
摘要: 在Global.asax文件中添加 protected void Application_BeginRequest(Object sender, EventArgs e) { if (Context.Request.FilePath == "/") Context.RewritePath("index.html"); } ... 阅读全文
posted @ 2016-11-11 12:02 94cool 阅读(2167) 评论(0) 推荐(0)
摘要: 正在加载中... 阅读全文
posted @ 2016-11-07 09:21 94cool 阅读(1163) 评论(0) 推荐(0)
摘要: CreateShortCut 快捷文件.lnk 目标文件 参数 图标文件 图标索引号 启动选项 键盘快捷键 描述CreateShortCut "$DESKTOP\快捷方式.lnk" "$INSTDIR\程序.exe" "" "$INSTDIR\图标.ico" 阅读全文
posted @ 2016-11-04 12:00 94cool 阅读(5038) 评论(0) 推荐(1)
摘要: public async Task<bool> CreateLogStore(string project, string logStore) { using (var client = new HttpClient()) { var time = DateTime.Now; string body 阅读全文
posted @ 2016-11-03 16:31 94cool 阅读(1689) 评论(0) 推荐(0)
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 65 下一页