在做性能测试测试时候,如果被测试的系统页面很简单,并且性能很好,这样会导致压力机得tcp链接数不够而导致如下错误:HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\tcpip\Parameters\TcpTimedWaitDelay
to 30...
分类:
其他好文 时间:
2014-05-19 08:55:54
阅读次数:
322
Mac系统打开命令行终端的方法: 应用程序 --> 实用工具 -->
终端Mac系统终端查看操作系统版本号的方法:输入:#more
/System/Library/CoreServices/SystemVersion.plist.plist ProductBuildVersion ...
分类:
其他好文 时间:
2014-05-19 08:44:27
阅读次数:
254
一、更改jdk默认编码为UTF-8,保证启动的JVM不会出现中文乱码问题
1、在编译的时候,如果我们没有用 -encoding
参数指定我们的JAVA源程序的编码格式,则javac.exe首先获得我们操作系统默认采用的编码格式。JDK首先获得操作系统的file.encoding参数(它保存的就是操....
分类:
系统相关 时间:
2014-05-19 08:38:25
阅读次数:
439
Android
打包流程:官网地址:http://developer.android.com/tools/building/index.html具体的打包步骤如下:1:生成R.java类文件:Eclipse中会自动生成R.java,ant和命令行使用androidSDK提供的aapt.exe程序生成...
分类:
移动开发 时间:
2014-05-19 08:00:37
阅读次数:
486
http://developer.android.com/sdk/installing/installing-adt.html Download the ADT
Plugin Start Eclipse, then select Help > Install New Software. Click ...
分类:
系统相关 时间:
2014-05-19 07:58:09
阅读次数:
343
Guid.NewGuid()System.Guid.NewGuid().ToString()全球唯一标识符 (GUID)
是一个字母数字标识符,用于指示产品的唯一性安装。在许多流行软件应用程序(例如 Web 浏览器和媒体播放器)中,都使用 GUID。GUID
的格式为“xxxxxxxx-xxxx-x...
分类:
其他好文 时间:
2014-05-19 07:41:16
阅读次数:
257
以下是一个相对简陋的扩展, 主要是针对金额显示的Textbox扩展.using
System;using System.Collections.Generic;using System.Linq;using System.Web;using
System.Web.UI.WebControls;usi...
分类:
Web程序 时间:
2014-05-19 07:34:53
阅读次数:
426
System.InvalidOperationException:
支持“XXX”上下文的模型已在数据库创建后发生更改。请考虑使用 Code First
迁移更新数据库(http://go.microsoft.com/fwlink/?LinkId=238269)。EF发布时遇到的问题(数据库初始化h...
分类:
数据库 时间:
2014-05-19 07:14:08
阅读次数:
557
using System.Xml;using System.Xml.Linq;XmlDocument
document = new XmlDocument();document.Load("SessionDef.xml");XmlNodeList
nodelist = document.Select...
分类:
其他好文 时间:
2014-05-19 07:10:10
阅读次数:
227
第一种方法--及时回收bitmap内存:一般而言,回收bitmap内存可以用到以下代码if(bitmap!=null&&!bitmap.isRecycled()){bitmap.recycle();bitmap=null;}System.gc();bitmap.recycle()方法用于回收该bit...
分类:
移动开发 时间:
2014-05-18 21:26:21
阅读次数:
519