First open the broswer and type the following url in the address bar.
http://www.mongodb.com/
then you will view the the next page.
click the download mongodb button, and then regi...
分类:
数据库 时间:
2014-09-09 12:54:28
阅读次数:
269
Givennnon-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the histog...
分类:
其他好文 时间:
2014-09-07 17:12:05
阅读次数:
285
记得在面试腾讯实习生的时候,面试官问了我这样一道问题。//下述两种声明方式有什么不同function foo(){}; var bar = function foo(){}; 当初只知道两种声明方式一个是函数声明一个是函数表达式,具体有什么不同没能说得很好。最近正好看到这方面的书籍,就想好好...
分类:
编程语言 时间:
2014-09-06 23:49:14
阅读次数:
271
一些关于单元测试的理念: 单元测试并不能证明你的代码是正确的,只能证明你的代码是没有错误的。 Keep bar green and keep your code cool 关于JUnit的两种最基本的使用步骤 第一种方式=4.0的JUnit版本 1、 这种方式是基于注解来进行的,先要加上对应...
分类:
其他好文 时间:
2014-09-05 22:20:12
阅读次数:
298
LeetCode: Largest Rectangle in HistogramGiven n non-negative integers representing the histogram's bar height where the width of each bar is 1, find t...
分类:
其他好文 时间:
2014-09-03 22:35:37
阅读次数:
291
引自:http://stackoverflow.com/questions/19209781/ios-7-status-bar-with-phonegap情景:在ios7下PhoneGap app会上移20px从而被状态栏挡住,查找了些方法后可以解决这问题,但是拍照完返回界面后仍然会出现上移20px...
分类:
移动开发 时间:
2014-09-03 12:59:56
阅读次数:
299
什么是短路表达式? 短路表达式:作为"&&"和"||"操作符的操作数表达式,这些表达式在进行求值时,只要最终的结果已经可以确定是真或假,求值过程便告终止,这称之为短路求值。这是这两个操作符的一个重要属性。 一个最简单的例子:foo = foo||bar; 这行代码是什么意思?答案://如果...
分类:
编程语言 时间:
2014-09-02 12:20:04
阅读次数:
181
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining....
分类:
移动开发 时间:
2014-09-01 21:01:33
阅读次数:
220
需求:自定义ProgressBar,使用系统自定义shape;效果图:1.默认底色:2.第一进度颜色:3.第二进度颜色:实现分析:1.目录结构:代码实现:1.progress_style.xml ...
分类:
其他好文 时间:
2014-09-01 15:27:53
阅读次数:
242
今天登录oracle时遇到oracle initialization or shutdown in progress 这个错误提示,在网上搜了下,试了很多方法,最后结合几种方法结合,成功解决了问题!
问题原因:我将以前备份的一个数据库文件误删除,重新登录数据库加载数据时提示错误
操作步骤:
1.先在windows下运行cmd,进入DOS环境。
2.以DBA用户登录,具体命令是
s...
分类:
数据库 时间:
2014-08-31 21:27:31
阅读次数:
234