#ifndef COMMON_HHH#define COMMON_HHH#define ASSERT(p) \ do{\ if (!p){\ printf("%s:%d\n",__FILE__,__LINE__ );\ }\ } while (...
分类:
其他好文 时间:
2014-06-28 18:34:04
阅读次数:
293
方法一:更改WebRoot为WebContent (试了下不是很好用 建议使用方法二)方法二:1.进入项目目录,找到.project文件,打开。2.找到…代码段3.在第2步的代码段中加入如下标签内容并保存:org.eclipse.wst.common.project.facet.core.natur...
分类:
Web程序 时间:
2014-06-28 17:57:18
阅读次数:
322
@{ ViewBag.Title = "Index"; Layout = null;}Index @*@Html.BeginForm("Index", "Test", FormMethod.Post, new { @enctype = "multipart/for...
分类:
其他好文 时间:
2014-06-28 14:18:27
阅读次数:
155
假设apache日志格式为:118.78.199.98 – - [09/Jan/2010:00:59:59 +0800] “GET /Public/Css/index.css HTTP/1.1″ 304 – “http://www.a.cn/common/index.php” “Mozilla/4....
分类:
系统相关 时间:
2014-06-24 23:09:15
阅读次数:
528
原来写的一个分页查询,回调了好几层。exports.list = function(req,res) { var params = {}; var current_page = common_util.get_param_value(req,'current_page','Number'...
分类:
Web程序 时间:
2014-06-24 12:41:15
阅读次数:
353
【游戏Server中Server的类别】 There are two common and proven approaches to structuring a network game which are known asAuthoritative ServerandNon-Authoritat....
分类:
Web程序 时间:
2014-06-22 23:04:07
阅读次数:
255
s2sh整合之xml方式
说明:本文档所采用的框架版本为:Struts 2.1.8, Sping2.5.5, Hibernate 3.5.6
1. 需要的jar包:
------------Strut2-----------:
commons-fileupload-1.2.1.jar
commons-io-1.3.2.jar
commons-logging.jar
freem...
分类:
其他好文 时间:
2014-06-22 20:55:37
阅读次数:
298
第十四章 兼容性和高级互操作
在这一章,我们将学习F# 与其他语言进行互操作所需的内容,不仅包括在.NET 框架内,而且也包括从F# 中使用非托管代码,以及从非托管代码中使用 F#。
警告
在本书中,我尽一切努力保证使你只需要了解 F#;然而,在这一章,虽然我一直保持代码对这些语言中的最低需求,但是,如果你知道一点 C#、 C++ 或 .NET Common IL 的内容,对你是...
分类:
其他好文 时间:
2014-06-22 20:06:00
阅读次数:
179
XStream is a simple library to serialize objects to XML and back again.FeaturesEase of use.A high level facade is supplied that simplifies common use ...
分类:
Web程序 时间:
2014-06-22 13:31:51
阅读次数:
285
$ sudo mount.cifs //windows-ip/shared /media/ -o user=username password=password
该命令挂载Windows下的shared共享目录到本地/media目录下.
Windows的用户名是username, 密码是password (作相应的修改)
这里的CIFS(Common Internet File Syste...