摘要: Windows7平台上有一个强大的SxsTrace工具,可以跟踪调试应用程序运行时需要的动态库的版本和路径。 http://blog.sina.com.cn/s/blog_494e45fe0102dtt3.html SxsTrace使用的方法: 1、首先必须以Administrator用户身份登录, 阅读全文
posted @ 2016-10-21 10:18 亘大 阅读(1346) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://www.crifan.com/fixed_problem_sometime_httpwebrequest_getresponse_timeout/【问题】用C#模拟网页登陆,其中去请求几个页面,会发起对应的http的请求request,其中keepAlive设置为true,提... 阅读全文
posted @ 2015-12-17 17:14 亘大 阅读(408) 评论(0) 推荐(0) 编辑
摘要: 查看所有端口:netstat -ntlp查询防火墙状态:service iptables status停止防火墙:service iptables stop启动防火墙:service iptables start重启防火墙:service iptables restart永久关闭防火墙:chkcon... 阅读全文
posted @ 2015-05-28 11:51 亘大 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 转自:http://blog.sina.com.cn/s/blog_a032adb90101k47u.html什么是权重呢?所谓权重,是指某指标在整体评价中的相对重要程度。权重越大则该指标的重要性越高,对整体的影响就越高。权重要满足两个条件:每个指标的权重在0、1之间。所有指标的权重和为1。权重的确... 阅读全文
posted @ 2015-05-28 11:40 亘大 阅读(45596) 评论(0) 推荐(2) 编辑
摘要: AnIntentis an object that provides runtime binding between separate components (such as two activities). Theintentrepresents an app’s "intent to do so... 阅读全文
posted @ 2014-06-12 11:53 亘大 阅读(159) 评论(0) 推荐(0) 编辑
摘要: The graphical user interface for an Android app is built using a hierarchy ofViewandViewGroupobjects.Viewobjects are usually UI widgets such asbuttons... 阅读全文
posted @ 2014-06-12 11:32 亘大 阅读(148) 评论(0) 推荐(0) 编辑
摘要: AndroidManifest.xmlThemanifest filedescribes the fundamental characteristics of the app and defines each of its components. You'll learn about various... 阅读全文
posted @ 2014-06-12 11:09 亘大 阅读(157) 评论(0) 推荐(0) 编辑
摘要: Minimum Required SDKis the lowest version of Android that your app supports, indicated using the App level. To support as many devices as possible, yo... 阅读全文
posted @ 2014-06-12 10:50 亘大 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 使用github pull 或者clone时失败 clone 提示 check the internet connection pull 提示 fail to connect to github:8080后来找到原因,就是因为之前设了代理,在无代理的环境下使用时就连不上了解决办法: 打开shell 输入:git config --global http.proxy 回车 如果设了代理,就可以看到输出的代理信息 接下来将环境设置为无代理 在shell中输入:git config --global --unset http.proxy 回车再次输入:git con... 阅读全文
posted @ 2014-03-23 22:00 亘大 阅读(634) 评论(0) 推荐(0) 编辑
摘要: 一.使用文件描述符,根据fd读写 fd:file descriptorint fd = open("a.txt",0); //返回的是代表文件的文件描述符char buf[1];while(1){ size_t cout = read(fd,buf,1); //返回的是读取的字符数 if(count==0) break; printf(buf); }close(fd); //关闭由该文件描述符代表的那个文件文件描述符是整数,从0开始递增。其中0表示标准输入,即键盘输入,1表示标准输出,2表示标准错误输出所以下面这一句表示从标准输入... 阅读全文
posted @ 2013-09-28 18:35 亘大 阅读(536) 评论(0) 推荐(0) 编辑