- 浏览: 45477 次
- 性别:
- 来自: 北京
最新评论
文章列表
下载地址:https://nodejs.org/dist/v5.0.0/
1 将下载的tar.gz解压到某个目录 /usr/local/share/node
2 配置环境变量·;
#vi /etc/profile
export PATH=$PATH:/usr/local/share/node/bin export NODE_PATH=/usr/local/share/node/lib/node_modules
#source /etc/profile
#node -v ( 如果显示弄得版本,则配置成功。)
官方网址 https://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat/
1 配置yum源
vi /etc/yum.repos.d/mongodb-org-3.0.repo
内容如下
[mongodb-org-3.0] name=MongoDB Repository baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.0/x86_64/ gpgcheck=0 ...
function exixtTest(Response) {
MongoClient.connect("mongodb://test:test@192.168.147.128:27017/test", function(err, db) {
var gs = new mongodb.GridStore(db, "hello.txt", "r");
gs.open(function(err, gs) {
mongodb.GridStore.exist(db, &qu ...
模式定义:
//行程
var CarpoolTralvelSchema = new Schema({
car:{
type:Schema.Types.ObjectId,
ref:"carpoolCar"
},//车辆信息
travel:{
type:Schema.Types.ObjectId,
ref:"carpoolTralvel"
},//搭车人引用的开车人发起的CarpoolTralvel id
userId:Strin ...
package com.wdh.mongo;
import java.util.ArrayList;
import java.util.List;
import org.junit.Test;
import com.mongodb.BasicDBObject;
import com.mongodb.DB;
import com.mongodb.DBCollection;
import com.mongodb.DBCursor;
import com.mongodb.DBObject;
import com.mongodb.MongoClient;
imp ...
http://www.cnblogs.com/magialmoon/p/3251330.html
http://www.cnblogs.com/magialmoon/p/3261849.html
http://www.cnblogs.com/magialmoon/p/3268963.html
HttpClient
- 博客分类:
- j2ee
http://www.blogjava.net/Alpha/archive/2007/01/22/95216.html
import java.io.File;
import java.net.URL;
import org.apache.commons.io.FileUtils;
public class DownloadUtil {
public static void downloadFromURL(String resourse)throws Exception{
URL url = new URL(resourse);
String fileName = System.currentTimeMillis() + resourse.substring(resourse ...
FROM:http://aijezdm915.iteye.com/blog/1066299
<script type="text/javascript" src="/js/jquery-1.3.2.min.js"></script><
引用:
http://blog.sina.com.cn/s/blog_7ffb8dd501013e5v.html
详情见附件。
--创建表空间
create tablespace test
datafile 'D:\oracle\oradata\test\test.dbf'
size 100M autoextend on next 10M maxsize unlimited extent management local;
--创建用户并制定表空间
create user username identified by password
default tablespace user_data
temporary tablespace user_temp;
--对用户授权
gra ...
<!DOCTYPE html><html><head><meta charset="UTF-8"><title>Form</title></head><body> <form action=""> <div> <label for="email" style="width: 80px;">Email</label> <input type="email&q ...
<html>
<head>
<script type="text/javascript">
var Person = function(name,age,email){
this.name = name;
this.age = age;
this.email = email;
}
Person.prototype.info = function(){
alert(this.name + '-' + this.age + '-' + this.email);
}
Person.prototype.he ...
网上下载的日程管理插件,支持年月日的日程管理。。。
功能修改描述。。。
cxf version:2.7
jre:1.7
建立web工程cxfweb,将cxf的lib目录下面的所有jar包进入到web工程
web.xml:
<context-param>
<param-name>contextConfigLocation</param-name>
<!-- cxf的配置文件位置 -->
<param-value>classpath:cxf-servlet.xml</param-value>
< ...