行动
在了实践之前,希望大家看一下上面的学习资源,了解一下基本操作.
数据连接初始账号密码
账号:admin
密码:admin
首先我们建立一个文件:mongodb.php,设置需要连接账号密码,连接数据库
php
/**
* Mongodb Test
*
* Tools:
* Zend Studio 8.x
* Eclipse Plug :Toggle Va...
分类:
数据库 时间:
2014-05-15 14:49:56
阅读次数:
442
test
// alert(jQuery());
function print(string){
document.write(string+"");
};
document.write("********无返回值的情况***************");
(function(){
var jq = (function(){
var jq = fun...
分类:
编程语言 时间:
2014-05-15 11:14:55
阅读次数:
373
Mac下想看隐藏文件夹,没找到地方设置。
然后找到了下面的命令行。
显示/隐藏Mac隐藏文件命令如下(注意其中的空格):
显示Mac隐藏文件的命令:defaults write com.apple.finder AppleShowAllFiles -bool true
隐藏Mac隐藏文件的命令:defaults write com.apple.finder AppleShowA...
分类:
其他好文 时间:
2014-05-15 11:12:51
阅读次数:
195
面向对象编程--继承情况下的类作用域引言: 在继承情况下,派生类的作用域嵌套在基类作用域中:如果不能在派生类作用域中确定名字,就在外围基类作用域中查找该名字的定义。 正是这种类作用域的层次嵌套使我们能够直接访问基类的成员,就好像这些成员是派生类成员一样: Bulk_item bulk;
cout 名字book的使用将这样确定[先派生->后基类]: 1)bulk是Bulk_item类...
分类:
编程语言 时间:
2014-05-15 05:37:41
阅读次数:
364
MongoDB 学习笔记一 安装以及基础命令...
分类:
数据库 时间:
2014-05-15 05:07:59
阅读次数:
371
Write a simple HTML Browser
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 6917 Accepted Submission(s): 1853
Problem Description...
分类:
Web程序 时间:
2014-05-15 04:29:39
阅读次数:
370
Same Tree
Total Accepted: 16072 Total
Submissions: 38790My Submissions
Given two binary trees, write a function to check if they are equal or not.
Two binary trees are considered equal i...
分类:
其他好文 时间:
2014-05-15 04:00:39
阅读次数:
319
题目
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:
Integers in each row are sorted from left to right.The first integer...
分类:
其他好文 时间:
2014-05-15 03:41:11
阅读次数:
257
本文使用官方C# Driver,实现在MongoDB中存储,查询空间数据(矢量)
空间数据的存储
本例中,从一个矢量文件(shapefile格式)中读取矢量要素空间信息以及属性表,并写入到MongoDB中去,其中读取shapefile文件以及将空间信息转成json的功能通过Ogr库实现
//打开MongoDB的Collection...
分类:
数据库 时间:
2014-05-14 20:00:22
阅读次数:
541
原文:
1.5 Write a method to replace all spaces in a string with ‘%20’.
译文:
写一个函数,把字符串中所有的空格替换为%20 。...
分类:
其他好文 时间:
2014-05-14 14:09:29
阅读次数:
310