http://www.cnblogs.com/viprx/archive/2012/09/06/2673693.htmlMongoDB条件查询的基本语法。Query.All("name", "a", "b");//通过多个元素来匹配数组Query.And(Query.EQ("name", "a"),...
分类:
数据库 时间:
2014-06-19 00:53:44
阅读次数:
241
--备份
1、备份到默认文件夹中
D:\mongodb\bin 是mongodb的安装目录
mongodump -d 是备份数据库命令
testdb 数据库名称
备份的数据库在mongodb安装目录下的dump文件夹中
2、备份到指定文件夹中
D:\mongodb\bin 是mongodb的安装目录
mongodump -d 是备份数据库命令
test...
分类:
数据库 时间:
2014-06-16 22:55:07
阅读次数:
238
一、源码路径
https://github.com/weiganyi/dr-helper
二、界面
通过浏览器访问Web服务,可以看到界面如下:
ADT-Bundle编译工程生成dr-helper.apk,安装后可以看到应用界面如下:
三、背景
Java诞生后主要就是用于Web开发,随着Android的兴起,其在移动领域也应用广泛。我在学习了Java相关的一系列...
分类:
移动开发 时间:
2014-06-16 21:58:41
阅读次数:
395
MongoDB + node-mongoskin基本介绍。...
分类:
数据库 时间:
2014-06-16 20:02:40
阅读次数:
704
Given a string containing only digits, restore it by returning all possible valid IP address combinations.
For example:
Given "25525511135",
return ["255.255.11.135", "255.255.111.35"].
(Order do...
分类:
其他好文 时间:
2014-06-16 19:24:42
阅读次数:
248
[root@rhel6sbin]#moremysqlbackup.sh#IfanyofyourtablesrunonInnoDBengine#directorytostorebackupsinDST=/backup/dbback#Aregex,passedtoegrep-v,forwhichdatabasestoignoreIGNREG=‘^snort$‘#TheMySQLusernameandpasswordDBUSER=rootDBPASS=62201042#Anybackupsolderthanthis..
分类:
数据库 时间:
2014-06-16 16:17:27
阅读次数:
265
1.crontab你可以在指定的时间执行一个shell脚本或者一系列Linux命令.可以让计算机在规定的时间内,执行相应的计划。2.实例# crontab –e0 6 * * * /root/bin/backup.sh这样Linux将会在每天早上6点运行 /root/bin/backup.sh3.命...
分类:
系统相关 时间:
2014-06-15 11:12:21
阅读次数:
566
================= Incremental mapReduce =================...
分类:
数据库 时间:
2014-06-15 10:27:58
阅读次数:
209
http://docs.mongodb.org/manual/reference/command/renameCollection/db.source-namespace.renameCollection( "target" )比如把users 替换成 all_usersdb.users.renam...
分类:
其他好文 时间:
2014-06-14 23:49:28
阅读次数:
570
1、
??
Binary Tree Inorder Traversal
Given a binary tree, return the inorder traversal of its nodes' values.
For example:
Given binary tree {1,#,2,3},
1
2
/
3
return ...
分类:
其他好文 时间:
2014-06-14 14:11:27
阅读次数:
315