1. create indexdb.students.ensureIndex({class:1,student_name:1})http://docs.mongodb.org/manual/tutorial/create-an-index/2. show all indexes in current...
分类:
数据库 时间:
2014-10-01 13:13:11
阅读次数:
187
现在Jetty的版本已经到9了,也早已经在Eclipse的门下了。所以有很多groupId,比如:org.eclipse.jetty、org.mortbay.jetty.这些都可以用的哦。我在使用MyEclipse结合maven操作jetty作为开发的服务器,这开开发比较方便。当我运行命令:jetty:run出现:[ERROR]Nopluginfoundforp..
分类:
其他好文 时间:
2014-10-01 00:48:11
阅读次数:
433
//读取微信Post过来的XML内容
byte[] input = HttpContext.Current.Request.BinaryRead(HttpContext.Current.Request.TotalBytes);
string postData = Encoding.GetEncoding("utf-8").GetS...
分类:
Web程序 时间:
2014-09-30 00:16:01
阅读次数:
217
********************************************hive***********************************************hive.cli.print.current.db 是否在命令行提示当前数据库,默认为FALSE
分类:
其他好文 时间:
2014-09-29 10:48:07
阅读次数:
146
如果你从Page类继承的类中执行这条语句,才可以简单地使用DataBase = Server.MapPath("data.mdb");否则写全命名空间:System.Web.HttpContext.Current.Server.MapPath();总注:Server.MapPath获得的路径都是服务...
分类:
移动开发 时间:
2014-09-29 00:03:35
阅读次数:
261
timestamp的两个属性:CURRENT_TIMESTAMP 和ON UPDATE CURRENT_TIMESTAMP http://blog.163.com/qiongling007@126/blog/static/2142429620122611356554/http://www.cnblo...
分类:
数据库 时间:
2014-09-28 23:18:17
阅读次数:
275
通过查看android源码目录下的build/envsetup.sh文件,可知:- m: Makes from the top of the tree.- mm: Builds all of the modules in the current directory.- mmm: Builds all...
分类:
移动开发 时间:
2014-09-28 19:33:54
阅读次数:
194
ashx中应用HttpContext.Current.Session ,呈现未将对象引用设置到实例上
1.using System.Web.SessionState;
2.public class {ClassName}: IHttpHandler, IReadOnlySessionState
“IReadOnlySessionState”,指定目标HTTP处理程序只需要具有对话访问状态值的读访问权限。...
分类:
其他好文 时间:
2014-09-28 18:08:45
阅读次数:
185
创建表的时候报错[Err]1293-Incorrecttabledefinition;therecanbeonlyoneTIMESTAMPcolumnwithCURRENT_TIMESTAMPinDEFAULTorONUPDATEclause创建语句如下:CREATETABLEcompany_news(
idVARCHAR(32)NOTNULL,
titleVARCHAR(50)NOTNULL,
summaryVARCHAR(300),
contentTEXT,
company_..
分类:
其他好文 时间:
2014-09-28 15:04:22
阅读次数:
241
1、HKEY_LOCAL_MACHINE,包含了操作系统及硬件相关信息的配置单元,是一个公共配置信息,与具体用户无关。2、HKEY_CURRENT_USER,包含着当前登录到这个注册表服务的计算机上的用户的配置文件,其子项包含着环境变量、个人程序组、桌面设置、网络连接、打印机和应用程序首选项。该字段...
分类:
其他好文 时间:
2014-09-27 15:51:09
阅读次数:
145