A method for managing a memory, including obtaining a number of indices and acacheline size of acachememory, computing acachepage size by multiplying ...
分类:
其他好文 时间:
2014-09-17 13:21:52
阅读次数:
287
1,Web 应用十大安全隐患
1) SQL 注入 2) 跨站脚本攻击XSS (Cross Site Scripting) 3) 遭破坏的认证和会话管理 4) 不安全的对象直接引用 5) 伪造跨站请求(CSRF)
6) 安全误配置(Security Misconfiguration) 7) 限制远程访问失败(Failure to Restrict URL Access) 8) 未验证的...
分类:
其他好文 时间:
2014-09-16 19:04:20
阅读次数:
274
一、问题描述Mysql主从复制模式中,slave上报错“relaylogreadfailure”,导致主从同步停止。mysql>showslavestatus\G***************************1.row***************************Slave_IO_State:Master_Host:10.0.0.93Master_User:slaveuserMaster_Port:3306Connect_Retr..
分类:
数据库 时间:
2014-09-15 19:42:59
阅读次数:
269
1、链接器工具错误 LNK1123:fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt转换到 COFF 期间失败: 文件无效或损坏VS2010下的解决方案:安装sp1的补丁:http://ww...
分类:
编程语言 时间:
2014-09-12 13:29:23
阅读次数:
172
/etc/rc.d/init.d/functions文件详细分析functions这个脚本是给/etc/init.d里边的文件使用的(可理解为全局文件)。提供了一些基础的功能,看看里边究竟有些什么。首先会设置umask,path,还有语言环境,然后会设置success,failure,warning...
分类:
其他好文 时间:
2014-09-10 15:26:20
阅读次数:
324
Tried to install Ubuntu desktop on my Dell Inspiron 1420 but failed, finally work around it and solved the problem. All the problems encountered might be caused by my computer graphical card "NVIDIA GeForece 8400M GS", it has hardware failure before and I ...
分类:
其他好文 时间:
2014-09-09 16:13:09
阅读次数:
266
我在使用Myeclipse碰见这个错误,我没有用伺服,直接连接到maven中心。ArtifactTransferException: Failure to transfer org.apache.hadoop:hadoop-core:jar:1.1.1 from http://repo.maven....
分类:
其他好文 时间:
2014-09-09 11:46:38
阅读次数:
370
1#!/bin/bashpid=`ps-ef|greptomcat8082|grep-vgrep|wc-l`port=`netstat-anplt|grep8082|wc-l`path=/usr/tomcat/tomcat8082/bin/startup.shif[$pid=1-a$port-eq1];thenecho"tomcatisrunning"elseecho"tomcat8082isstopedandnowlet‘srunit"sleep3echo"nowrestarttomcat8082"[-x$..
分类:
其他好文 时间:
2014-09-03 11:26:37
阅读次数:
237
Log.v() 琐事级日志信息。Log.d() 调试级日志信息。Log.i() 信息级日志信息。Log.w() 警告级日志信息。Log.e() 错误级日志信息。Log.wtf() 我操这不可能级日志信息。 /** * What a Terrible Failure: Report a ...
分类:
其他好文 时间:
2014-09-02 22:48:25
阅读次数:
250
同时还提示: bz2 module is not found(貌似)解决方法:1。重新安装pythonwget http://bzip.org/1.0.6/bzip2-1.0.6.tar.gztar xpzf bzip2-1.0.6.tar.gzcd bzip2-1.0.6makemake -f M...
分类:
其他好文 时间:
2014-08-29 17:48:38
阅读次数:
1090