路径:/boot/grub/grub.cfg配置文件如下:## DO NOT EDIT 
THIS FILE## It is automatically generated by grub-mkconfig using templates# from 
/etc/grub.d and settings ...
                            
                            
                                分类:
其他好文   时间:
2014-05-01 16:29:15   
                                阅读次数:
452
                             
                         
                    
                        
                            
                            
                                1、下载并安装(Active direcotry 下面统一为AD) 
https://directory.apache.org/studio/download/download-windows.html 
http://directory.apache.org/apacheds/download/do....
                            
                            
                                分类:
其他好文   时间:
2014-05-01 15:57:37   
                                阅读次数:
506
                             
                         
                    
                        
                            
                            
                                UIImage*img =[button 
imageForState:UIControlStateNormal];
                            
                            
                                分类:
其他好文   时间:
2014-05-01 15:37:41   
                                阅读次数:
351
                             
                         
                    
                        
                            
                            
                                原题地址:http://oj.leetcode.com/problems/reorder-list/题意:Given 
a singly linked listL:L0→L1→…→Ln-1→Ln,reorder it to:L0→Ln→L1→Ln-1→L2→Ln-2→…You 
must do this...
                            
                            
                                分类:
编程语言   时间:
2014-05-01 15:37:03   
                                阅读次数:
441
                             
                         
                    
                        
                            
                            
                                #include#include#includeusing namespace std;int 
main(){	int n,i;	char a[100000];	cin>>a;	sort(a,a+strlen(a));	do{ 
cout<<a<<endl; }while(next_permut...
                            
                            
                                分类:
其他好文   时间:
2014-05-01 06:20:37   
                                阅读次数:
368
                             
                         
                    
                        
                            
                            
                                Given a singly linked list L: L0→L1→…→Ln-1→Ln,
reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…
You must do this in-place without altering the nodes' values.
For example,
Given {1,2,3,4}, reorder it to ...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 13:42:21   
                                阅读次数:
427
                             
                         
                    
                        
                            
                            
                                题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=1588
#include
#include
#include
#include
#include
using namespace std;
#define N 10050
#define M 200005
int n,m;//n个点 m条边
struct Edge{...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 13:25:21   
                                阅读次数:
383
                             
                         
                    
                        
                            
                            
                                1、
??
String to Integer (atoi)
Implement atoi to convert a string to an integer.
Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yours...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 13:22:22   
                                阅读次数:
341
                             
                         
                    
                        
                            
                            
                                为了避免目标端nrpe进程监控多个接口而造成的安全漏洞。有必要固定服务端的地址,对nrpe.cfg配置中,有下列一行介绍
 #SERVER ADDRESS
# Address that nrpe should bind to in case there are more than one interface
# and you do not want nrpe to bind on all in...
                            
                            
                                分类:
其他好文   时间:
2014-04-27 22:36:17   
                                阅读次数:
454
                             
                         
                    
                        
                            
                            
                                今天有个需求需要在url中传入中文参数,结果在后台取得时出现乱码,怀疑可能是编码问题,上网查询了资料,试了几种办法,发现有一种可行,记录在此,以便查阅。
url中用encodeURI 进行2次编码:
Ext.Ajax.request({
	url:"updateadminuser.do?"+userid+"&uname="+encodeURI(encodeURI(uname)), 
	succ...
                            
                            
                                分类:
Web程序   时间:
2014-04-27 21:48:59   
                                阅读次数:
342