一、错误情况环境:win7+iis7.0DirectoryEntry配置IIS7出现如下错误或者是下面一段代码在IIS6.0下运转正常,但IIS7.0下运转会出错:System.DirectoryServices.DirectoryEntryiisServer;iisServer
=newSyste...
分类:
其他好文 时间:
2014-04-28 17:53:29
阅读次数:
464
1、命令行方式,得每次用终端输入命令行设置sudo rmmod psmouse #禁用触摸板sudo
modprobe psmouse #启用触摸板2、永久禁用触摸板 打开终端,然后sudo gedit
/etc/modprobe.d/blacklist.conf 加入一行blacklist ps....
分类:
其他好文 时间:
2014-04-28 17:41:25
阅读次数:
573
R.java文件无法创建的原因网上有很多说法普遍是以下两种:1.
xml文件有错误:解决方法就是找到哪个xml有错然后把错误修复就OK了。2.编码问题这时候只要把xml文件的编码改成utf8就能解决问题。然而对于查找xml文件错误我们常常依赖android的自带工具进行检测,但是只要是人写得程序必然...
分类:
移动开发 时间:
2014-04-28 03:30:04
阅读次数:
601
IOS 通过ip地址获取当前城市的编号 //解析网址通过ip 获取城市天气代码 NSURL *url
= [NSURL URLWithString:@"http://61.4.185.48:81/g/"]; // 定义一个NSError对象,用于捕获错误信息
NSError *error; NSS....
分类:
移动开发 时间:
2014-04-28 02:36:49
阅读次数:
832
Two ways to use sudo command for a standard
user account:First,If you want to use sudo command for a standard user account,
then you need to add this ...
分类:
其他好文 时间:
2014-04-28 00:42:49
阅读次数:
616
C++ Primer 5E 有符号和无符号
无符号类型和有符号类型混合运算时,有符号数会被提升至无符号类型,如果其值为负责会产生错误。 int main(){ unsigned int u = 10;
int i = -42; std::cout using Vec = vector>;auto和d...
分类:
编程语言 时间:
2014-04-28 00:19:15
阅读次数:
575
交互式shell和非交互式shell、登录shell和非登录shell的区别。首先,这是两个不同的维度来划分的,一个是是否交互式,另一个是是否登录。交互式shell和非交互式shell(interactive
shell and non-interactive shell)交互式模式就是在终端上执行...
分类:
其他好文 时间:
2014-04-28 00:05:33
阅读次数:
210362
系统是ubuntu12.04一、安装apachesudo apt-get install
apache启动:sudo apachectl start (开机默认启动的)重启:sudo apachectl restart关闭:sudo
apachectl stop安装之后在浏览器中访问127.0.0....
分类:
系统相关 时间:
2014-04-27 23:57:43
阅读次数:
742
一:路径错误(Path)错误如果向远程服务器发送消息,请使用格式名的形式,如:FormatName:Direct=TCP:121.0.0.1\\private$\\queueFormatName:Direct=OS:machinename\\private$\\queuenameFormatName...
分类:
其他好文 时间:
2014-04-27 21:57:08
阅读次数:
1394
1.wsprintf系列函数无法正确处理浮点数sprintf
可以处理浮点数2.注意Unicode下,各种函数变体注:根据测试,实际编程中,当使用_vsntprintf函数时,会提示错误,用_vsntprintf_s替换即可
分类:
其他好文 时间:
2014-04-27 21:44:28
阅读次数:
421