源:windows运行命令大全 winver 检查Windows版本 wmimgmt.msc 打开Windows管理体系结构(wmi) wupdmgr Windows更新程序 w脚本 Windows脚本宿主设置 write 写字板 winmsd 系统信息 wia...
原文:http://blog.nosqlfan.com/html/3223.htmlRabbitMQ是当成应用比较广泛的队列服务系统,其配套的客户端和监控运维方案也比较成熟。BoxedIce的队列服务从今年四月开始从RabbitMQ切换到了MongoDB上,并一直稳定运行至今,下面是BoxedIce...
分类:
数据库 时间:
2014-07-16 17:45:32
阅读次数:
225
mongo官网:http://www.mongodb.org/
工作中使用到Mongo,但是没有系统的学习研究过Mongo,仅对工作过程中,在Mongo的使用过程中的一些知识点做一下记录,并随时补充,达到总结备忘的目的。
本篇主要终结记录聚合和查询。...
分类:
其他好文 时间:
2014-07-16 17:18:24
阅读次数:
215
以oracle用户登陆数据库所在的服务器,例如家目录为/home./oracle.执行以下命令进行备份操作。
sqlplus /nolog
connect /as sysdba
sql>createdirectory dump_bx as '指定一个存放dmp文件的目录';
sql>grantread,write on directory d...
分类:
数据库 时间:
2014-07-16 17:10:09
阅读次数:
205
python抓取伯乐在线的所有文章,对标题分词后存入mongodb中...
分类:
数据库 时间:
2014-07-16 17:09:20
阅读次数:
289
MongoDB2.6的CXX驱动(mongo-cxx-driver-26compat),内置包含了数据库连接池,方便管理数据库连接,但是官方文档说的比较晦涩,新手入门往往不知道怎样使用连接池获取数据库连接。本文简单介绍如何使用基本的连接池。 首先要明确的一点是,虽然有连接池类,但是不需要显示调用该类...
分类:
数据库 时间:
2014-07-16 15:29:32
阅读次数:
331
1.finddb.bind_info.find({ "bd_type" : 1 })2.countdb.bind_info.find({ "bd_type" : 1 }).count();3.返回固定字段db.users.find({},{"name":1,"age":1})如:如果你想创建一个“m...
分类:
数据库 时间:
2014-07-16 15:19:49
阅读次数:
308
1. 访问对象的属性class MyClass(): a='1' b='2' def __init__(self): pass def write(self): print self.a,self.bmyClass=MyClass()print d...
分类:
编程语言 时间:
2014-07-16 15:15:04
阅读次数:
302
1. 设置iis pool: cls Import-Module WebAdministration Get-ChildItem IIS:\apppools | ForEach-Object{ $name = $_.name Write-Host $_.name $pool = Get-Item I...
分类:
其他好文 时间:
2014-07-16 12:26:18
阅读次数:
1084
依据《C++ More Exception》所述的规则:
Rule #1: Never write using-directives in header files.
Rule #2: Never write namespace using-declarations in header files.
Rule #3: In implementation files, never ...
分类:
其他好文 时间:
2014-07-16 11:00:58
阅读次数:
141