MacIf you're using the excellenthomebrewpackage manager, you can install node with one command:brew install node.Otherwise, follow the below steps:Ins...
                            
                            
                         
                    
                        
                            
                            
                                Where's Waldorf? 
Given a m by n grid
 of letters, ( ),
 and a list of words, find the location in the grid at which the word can be found. A word matches a straight, uninterrupted line o...
                            
                            
                                分类:
其他好文   时间:
2014-08-09 18:42:38   
                                阅读次数:
370
                             
                         
                    
                        
                            
                            
                                Search Insert PositionGiven a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if ...
                            
                            
                                分类:
其他好文   时间:
2014-08-09 18:10:28   
                                阅读次数:
178
                             
                         
                    
                        
                            
                            
                                问题描述:The doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the maze began to shake, and the doggie co...
                            
                            
                                分类:
其他好文   时间:
2014-08-09 15:49:08   
                                阅读次数:
292
                             
                         
                    
                        
                            
                            
                                命令模式:将请求封装在对象中,客户不直接调用某个对象的方法,而是使用命令,将命令传递给拥有方法的对象从而让某一方法被调用。UML图如下:
下面是用C++描写的命令模式的一个简单例子:
#include 
#include 
#include 
using namespace std;
// Interface
class Command {
public:
	virtual...
                            
                            
                                分类:
其他好文   时间:
2014-08-09 11:42:17   
                                阅读次数:
284
                             
                         
                    
                        
                            
                            
                                先启动两个command line作实验
第一个 command line 依次输入:
bash$ sleep 10001 &
[1] 38272
bash$ job1=$!
bash$ sleep 10002 &
[2] 44316
bash$ job2=$!
bash$ wait $job1 $job2
第二个 command line 依次输入(观察 第一个...
                            
                            
                                分类:
其他好文   时间:
2014-08-09 04:56:47   
                                阅读次数:
241
                             
                         
                    
                        
                            
                            
                                i have such a long time fall in love with ubuntu , but i found it's much unconfortable for me with a lenovo y460n , that owning a intel display card a...
                            
                            
                                分类:
其他好文   时间:
2014-08-08 23:39:17   
                                阅读次数:
379
                             
                         
                    
                        
                            
                            
                                Problem Description
bobo found an ancient string. The string contains only three charaters -- "(", ")" and "?".
bobo would like to replace each "?" with "(" or ")" so that the string is valid (d...
                            
                            
                                分类:
其他好文   时间:
2014-08-08 18:15:06   
                                阅读次数:
273
                             
                         
                    
                        
                            
                            
                                Command Network
Time Limit: 1000MS
 
Memory Limit: 131072K
Total Submissions: 12648
 
Accepted: 3656
Description
After a long lasting war on words, a war on arms fina...
                            
                            
                                分类:
Web程序   时间:
2014-08-08 18:10:36   
                                阅读次数:
280
                             
                         
                    
                        
                            
                            
                                一、安装nrpe本处使用直接解压的方式来安装的nrpe二、配置nrpe服务1.修改libexec文件夹中的check_oracle在其中添加如下项ORACLE_HOME=/oradata/Oracle/product/11.2.0
PATH=$PATH:/oradata/Oracle/product/11.2.0/bin2.在nrpe.conf中添加如下项command[check_oracle_tablespace..
                            
                            
                                分类:
移动开发   时间:
2014-08-08 16:31:57   
                                阅读次数:
449