某个应用正在锁定该表或者包表为select 
b.SID,b.SERIAL#,c.SQL_TEXTfrom v$locked_object a, v$session b, v$sqlarea cwhere 
a.SESSION_ID = b.SIDand b.SQL_ADDRESS = c.ADDRES...
                            
                            
                                分类:
其他好文   时间:
2014-05-09 11:06:57   
                                阅读次数:
413
                             
                    
                        
                            
                            
                                最近在司徒正美的《javascript框架设计》,在里面发现了一个段代码1 ......2 3 
var _len = arr1.length;4 while (_len) {5 arr2[--_len] = arr1[_...
                            
                            
                                分类:
编程语言   时间:
2014-05-08 21:33:08   
                                阅读次数:
363
                             
                    
                        
                            
                            
                                常见系统数据文件
下表列出了常见的系统数据文件及其查找函数。
以/etc/passwd文件为例,读取数据的程序框架如下:
void get_pw_entry()
{
    struct passwd *ptr; 
    setpwent();
    while ((ptr = getpwent()) != 0) {
        ……
    }
    endpwe...
                            
                            
                                分类:
其他好文   时间:
2014-05-07 08:46:54   
                                阅读次数:
341
                             
                    
                        
                            
                            
                                不小心重命名了libc.so.6动态库,运行命令
#mv /lib/libc.so.6 /lib/libc.so.6.back
#ls
ls: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
各种命令都不好...
                            
                            
                                分类:
其他好文   时间:
2014-05-07 04:49:53   
                                阅读次数:
319
                             
                    
                        
                            
                            
                                树视图TreeView 属性及方法
属性
说明
Nodes
获取分配给树视图控件的树节点集合
PathSeparator
获取或设置树节点路径所使用的分隔符串
SelesctedNode
获取或设置当树节点选定时所使用的图像列表索引值
ShowNodeToolTips
获取或设置一个值,用以指示树图中的树节点是...
                            
                            
                                分类:
其他好文   时间:
2014-05-07 04:28:18   
                                阅读次数:
554
                             
                    
                        
                            
                            
                                思路:m和n如果有公约数,则安全洞存在,无公约数或公约数为1,则无
 
#include 
int gcd(int a,int b)
{
    if(b==0)return a;
    else
    {
        int r;
        while(b!=0)
        {
            r=a%b;
            a=b;
...
                            
                            
                                分类:
其他好文   时间:
2014-05-07 02:54:02   
                                阅读次数:
283
                             
                    
                        
                            
                            
                                #include #include #include using namespace 
std;int main(){ int n;cin>>n; while(n--){ stack s; string 
str;cin>>str; for(int ...
                            
                            
                                分类:
其他好文   时间:
2014-05-07 00:19:41   
                                阅读次数:
356
                             
                    
                        
                            
                            
                                Sys.Application.add_load(function() {
        var form = Sys.WebForms.PageRequestManager.getInstance()._form;
        form._initialAction = form.action = window.location.href;
    });
    if (!documen...
                            
                            
                                分类:
Web程序   时间:
2014-05-06 23:36:38   
                                阅读次数:
408
                             
                    
                        
                            
                            
                                1,有几位数字
#include
int main_2_1_digit(){
	int n;
	while(scanf("%d",&n)){
		int count = 0;
		if(n==0)
			count = 1;
		while(n){
			count++;
			n/=10;
		}
		
		printf("%d\n",count);
	}
	return 0;
}
...
                            
                            
                                分类:
其他好文   时间:
2014-05-06 21:20:19   
                                阅读次数:
374
                             
                    
                        
                            
                            
                                1题目:给定K个整数的序列{ N1, N2, ..., NK },其任意连续子序列可表示为{ 
Ni, Ni+1, ..., Nj },其中 1 int main(){ int n, a[10001], left, beforeleft, right, 
i, max, sum; while...
                            
                            
                                分类:
其他好文   时间:
2014-05-06 13:18:27   
                                阅读次数:
366