未格式化打印>db.games.find()
{"_id":ObjectId("53d077372826c5d3aae7ad6a"),"game":"pinball","user":"joe","score":5050}格式化打印>db.games.find().pretty()
{
"_id":ObjectId("53d077372826c5d3aae7ad6a"),
"game":"pinball",
"user":"joe",
"score":5050
}
>修..
分类:
数据库 时间:
2014-07-24 12:28:55
阅读次数:
296
1. 开发了一个简单的监视weblogic运行情况的小程序,各位朋友下载下来试试,不用登陆console就可以知道server的运行状况,包括了jvm、线程、jdbc、状态jms等;还有一个更简单的选项,下拉选“warning”,直接查看是否有等待队列、jvm紧张阿、连接池泄漏阿、连接池等待阿;
2. 已经上传 weblogic_monitor.jar ,jar包里面有readme...
分类:
Web程序 时间:
2014-07-24 10:44:33
阅读次数:
324
# 使用LWP模块的get函数获取网页内容。use LWP::Simple;my $doc=get("http://www.csdn.net");# 获取网页内容后可以对内容进行提取或者其它处理# 将网页内容打印出来print $doc;# 使用post函数向web服务器提交请求。use LWP::...
分类:
Web程序 时间:
2014-07-24 05:08:28
阅读次数:
237
Pebble
Solitaire
Pebble solitaire is an interesting game. This is a game where you are given a board with an arrangement of small cavities, initially all but one occupied by a pebble each. The...
分类:
其他好文 时间:
2014-07-23 22:38:37
阅读次数:
344
03_wsdl和soap讲解(介入了tcpmon工具)WSDL内容: 1.types:用来定义访问的类型 2.message:SOAP(simple object access Protocol) 3.portType:指明服务器的接口,并且通过operation绑定相应的in和out的消息:...
分类:
其他好文 时间:
2014-07-23 22:29:47
阅读次数:
337
from http://www.codeproject.com/Articles/300785/Calculating-simple-running-totals-in-SQL-ServerIntroductionOne typical question is, how to calculate r...
分类:
数据库 时间:
2014-07-23 20:38:05
阅读次数:
374
前言:在Eclipse中安装好Maven插件,然后创建一个Simple项目。在Eclipse中检出Shiro的官方示例,地址http://svn.apache.org/repos/asf/shiro/trunk/samples/,参考spring-hibernate项目配置。由于之前对Maven的认识不足所以今天专门配置来了解其工作机制,下面是我按照SVN上配置的示例。...
分类:
编程语言 时间:
2014-07-23 18:07:16
阅读次数:
309
Gnome TetravexTime Limit:10 Seconds Memory Limit:32768 KBHart is engaged in playing an interesting game, Gnome Tetravex, these days. In the game, at t...
分类:
其他好文 时间:
2014-07-23 16:33:01
阅读次数:
293
DescriptionYou haveNintegers,A1,A2, ... ,AN. You need to deal with two kinds of operations. One type of operation is to add some given number to each ...
分类:
其他好文 时间:
2014-07-23 11:31:26
阅读次数:
269