配置环境变量:把bin目录:D:\mongodb\bin,添加到path下(;D:\mongodb\bin),好处是可以直接在cmd的命令行中输入mongod运行(这样也可检测)制作bat文件:快速启动mongodbmongodb启动命令参数说明:http://blog.csdn.net/fdipz...
分类:
数据库 时间:
2014-09-16 23:23:41
阅读次数:
283
window下的环境变量配置
默认情况下,在windows下安装python之后,系统并不会自动添加相应的环境变量。此时不能在命令行直接使用python命令。
①首先需要在系统中注册python环境变量:假设python的安装路径为d:\IT\python27,则修改我的电脑->属性->高级->环境变量->系统变量中的PATH为:
;D:\IT\python27;
(为了在命令行模式下...
分类:
编程语言 时间:
2014-09-16 22:15:01
阅读次数:
347
网络通信命令 1、write /usr/bin/write 格式: write [用户名] #用于向用户发送信息,前提是这个用户已经登录到了这台服务器主机,不然的话,也没有办法给他留言,所以,write是一个实时的通信工具 #以ctrl+D作为通信结束 e.g. write guest 2、wall[write all] /usr/bin/wall 用于向所有用户广播信息 wall [mes...
分类:
系统相关 时间:
2014-09-16 22:12:51
阅读次数:
379
Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identical an...
分类:
其他好文 时间:
2014-09-16 22:03:01
阅读次数:
223
【解决】Vsftp匿名上传问题本文前提需要关闭selinux编辑Vsftp的配置文件vsftp.conf。有关匿名的相关选项全部开启,如下图:anonymous_enable=YESlocal_enable=YESwrite_enable=YESlocal_umask=022anon_upload_enable=YESanon_mkdir_write_enable=YES以上设置,基本上大家都知道..
分类:
其他好文 时间:
2014-09-16 19:11:22
阅读次数:
303
今天在做项目时,遇到一个问题,checkbox选中后会把选中的值赋值给一个变量,根据这个变量的值来控制页面上一个按钮是否显示。
var temp = "";
for(){
var bool = "";
//给temp赋值
if(temp == '31'){
bool += "false";
}
}
if(bool.indexOf("false") >= 0...
分类:
其他好文 时间:
2014-09-16 19:00:01
阅读次数:
149
Given a binary tree, find its minimum depth.The minimum depth is the number of nodes along the shortest path from the root node down to the nearest le...
分类:
编程语言 时间:
2014-09-16 18:48:00
阅读次数:
242
一,使用document.write() 二,使用window方法,prompt(),alert()和confirm() Search example Search the site:
分类:
编程语言 时间:
2014-09-16 18:44:30
阅读次数:
209
java 文档注释在sun主页上有java文档注释的编写格式 How to Write Doc Comments for the Javadoc Toolhttp://java.sun.com/j2se/javadoc/writingdoccomments/不过是英文的@author dfeixta...
分类:
编程语言 时间:
2014-09-16 18:39:20
阅读次数:
185
同理 org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:?Line?52?in?XML?document?from?class?path?resource?[bean.xml]?is?invalid;?nested?exception?is?org.xml.sax.S...
分类:
Web程序 时间:
2014-09-16 16:14:00
阅读次数:
859