前天在编译软件时,需要 libtool 包,运行 sudo yum install libtool 总是提示HTTP 404 page?not found,开始以为是网络出问题了,因为最近几个月网络抽风似乎是正常现象 。 后来查了一下资料,才知道是本地缓存...
分类:
其他好文 时间:
2014-07-22 09:06:07
阅读次数:
198
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or...
分类:
编程语言 时间:
2014-07-22 00:39:35
阅读次数:
263
??NET IIS7.5 创建网站时,假设发现下面错误,而且 默认网站訪问没有问题的话,能够尝试,进入 处理程序映射 右键恢复为父级,有可能会有意想不到的 惊喜。我的问题就是这样解决的。出现这样的问题的关键:是你的网站没有能够处理的扩展。如:*.asp, *.html, *.aspx等等错误摘要 H...
错误提示:NoReverseMatch at /admin/ Reverse for 'logout' with arguments '()' and keyword arguments '{}' not found.解决方式:将urls.py中(r'^admin/$', include(admin...
分类:
其他好文 时间:
2014-07-22 00:12:33
阅读次数:
549
主要由两种方法:
1、不把图片放在res/drawable下,而是存放在src某个package中(如:com.drawable.resource),这种情况下的调用方法为:String path = "com/drawable/resource/imageName.png";
InputStream is = getClassLoader().getResourceAsStream(pat...
分类:
移动开发 时间:
2014-07-21 22:36:08
阅读次数:
252
最近想在centos下做Android项目构建,配置好jdk和Android sdk后,同时也在/etc/profile将java和Android的环境变量配置进去,但是却无法像windows 下一样,直接使用android update project命令。
出现情况如下:bash:
android: command not found
此时,我们可以使用ln命令将android 添加到...
分类:
其他好文 时间:
2014-07-21 22:14:17
阅读次数:
653
“由于 Web 服务器上的“ISAPI 和 CGI 限制”列表设置,无法提供您请求的页面” 详细错误:HTTP 错误 404.2 - Not Found. 由于 Web 服务器上的“ISAPI 和 CGI 限制”列表设置,无法提供您请求的页面.操作环境:window7+IIS7.5解决方法点击IIS...
URL编码总结
URL是Universal Resource Locator的简称,翻译过来那就是统一资源定位符,好吧,我们经常会俗称为网页地址。一个URL的格式通常是这样的:
协议类型://服务器地址(必要时需加上端口号)/路径/文件名?参数,比如http://zh.wikipedia.org:80/w/index.php?title=Special,协议是HTTP,服务...
分类:
其他好文 时间:
2014-07-20 23:05:29
阅读次数:
299
Problem Description
Whuacmers use coins.They have coins of value A1,A2,A3...An Silverland dollar. One day Hibix opened purse and found there were some coins. He decided to buy a very nice watch in...
分类:
其他好文 时间:
2014-07-20 23:01:28
阅读次数:
271
在使用最新版ADT 23进行android学习时发现一些问题:1.通过设置intent的action来启动另外一个activity时,会出现No Activity found to handle Intent这个错误仔细查看了源码发现代码错误,思索许久并未找出错误。当查看到工程的build path...
分类:
移动开发 时间:
2014-07-20 21:29:35
阅读次数:
261