In file included from mod_shib_20.cpp:68:
mod_shib.cpp:118: warning: deprecated conversion from string constant to 'char*'
mod_shib.cpp: In member function 'virtual const char* ShibTargetApache::get...
                            
                            
                                分类:
其他好文   时间:
2014-05-07 06:04:50   
                                阅读次数:
363
                             
                         
                    
                        
                            
                            
                                1、当你的自增id主键很大时,你想让id重新到1开始自增                    请输入: truncate
table 表名;
2、当你的数据库损坏时,你别慌先试试这条命令是否可以帮助你      请输入: repair table 表1,表2…
3、当你的数据表中含有varchar、text等并进行多次删除添加等操作,
     会产生好多碎片空间,这回浪费资源,需要进行...
                            
                            
                                分类:
数据库   时间:
2014-05-07 05:40:59   
                                阅读次数:
426
                             
                         
                    
                        
                            
                            
                                不小心重命名了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
                             
                         
                    
                        
                            
                            
                                ubuntu 14.04 VSFTPD 匿名FTP服务器 配置文件
可以提供上传,下载,修改,等操作
# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to mak...
                            
                            
                                分类:
其他好文   时间:
2014-05-07 04:26:57   
                                阅读次数:
488
                             
                         
                    
                        
                            
                            
                                I make a connection through SSH and  then I type:
# x0vncserver --PasswordFile=/home/hello/.vnc/passwd
x0vncserver: unable to open display ""
~ImageCleanup called
the reason is :
...
                            
                            
                                分类:
其他好文   时间:
2014-05-07 04:23:43   
                                阅读次数:
581
                             
                         
                    
                        
                            
                            
                                AssertionError继承Error,提供了多个构造方法,代码如下:
/*
 *  Licensed to the Apache Software Foundation (ASF) under one or more
 *  contributor license agreements.  See the NOTICE file distributed with
 *  this w...
                            
                            
                                分类:
其他好文   时间:
2014-05-07 03:20:22   
                                阅读次数:
579
                             
                         
                    
                        
                            
                            
                                #! /usr/bin/env racket
#lang racket
#|
  NAME:
     getModelNumber.rkt
     This program is used to get model number based on the
     input model file name.
  USAGE:
     ./getModelNumber.rkt modelfi...
                            
                            
                                分类:
其他好文   时间:
2014-05-07 03:17:09   
                                阅读次数:
323
                             
                         
                    
                        
                            
                            
                                今天学习了python的输入输出、异常处理和python标准库1.文件通过创建一个file类的对象去处理文件,方法有read、readline、write、close等[root@reed0505]#catusing_file.py
#!/usr/bin/python
#filename:using_file.py
poem=‘‘‘Programingisfun
whentheworkisdone
usePython!..
                            
                            
                                分类:
编程语言   时间:
2014-05-06 17:05:03   
                                阅读次数:
448
                             
                         
                    
                        
                            
                            
                                将文件的每行读取到字典中文件每行内容格式为:cui:123456789f=open(‘user.txt‘)
d=f.readlines()
f.close()
mydict={}
foriind:
user=i.split(‘:‘)[0]
info=i.split(‘:‘)[1].rstrip()
mydict[user]=info
                            
                            
                                分类:
编程语言   时间:
2014-05-06 16:40:26   
                                阅读次数:
362
                             
                         
                    
                        
                            
                            
                                特殊权限SUID:运行某程序时,相应进程的属主是程序文件自身的属主,而不是启动者。chmodu+sFILE如果FILE本身原来就有执行权限,则SUID显示为s,否则显示S。如:chmodu+s/bin/cat如:ls-l/usr/bin/passwd-rwsr-xr-x它默认就有SUID,所以普通用户才能有权限来修改自己的密码。SG..
                            
                            
                                分类:
系统相关   时间:
2014-05-06 16:33:48   
                                阅读次数:
545