自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(91)
  • 资源 (3)
  • 收藏
  • 关注

转载 how to sikuli and robot framework

http://blog.mykhailo.com/2011/02/how-to-sikuli-and-robot-framework.html

2014-06-06 13:06:44 2354

原创 为什么android在待机状态下网络连接会中断的?

android系统的设置方式大多数都是相同的,但可以对于平板电脑与手机的设置会有所区别,请友友参考一下以下路径是否进入设置无线和网络--WLAN设置--menu--高级,然后对WLAN休眠策略进行修改,看看是否可以解决这个问题同时也建议友友参照一下自己平板电脑的使用说明书,查看一下具体的设置方法,谢谢!

2014-05-12 15:42:42 3292

转载 Eclipse C/C++开发环境搭建----Window版

转载请注明出处:http://blog.csdn.net/yf210yf/article/details/80171211、Java JDK安装Java SDK很简单。到http://java.sun.com上找到适合你的操作系统的Java JDK安装程序,下载之并运行2、Eclipsehttp://eclipse.org/downloads/下载3

2014-03-15 00:42:39 586

转载 ASE : Display Available Device Space - Free Disk Space

ASE : Display Available Device Space - Free Disk SpaceDetermining the amount of free space on a server's set of devicesis not an easy task; the procedure below produces a nice report,sho

2013-03-25 15:38:10 658

转载 Sybase: show active trace flags

Sybase: show active trace flagsPosted on October 23, 2012 by hbIf you need to know which trace flags are active, you can use the dbcc traceflags command. Before using it, you show swit

2012-12-26 14:08:25 548

原创 算法: Bloom filter

一,什么是Bloom filterBloom filter 是由 Howard Bloom 在 1970 年提出的二进制向量数据结构,它具有很好的空间和时间效率,被用来检测一个元素是不是集合中的一个成员,这种检测只会对在集合内的数据错判,而不会对不是集合内的数据进行错判,这样每个检测请求返回有“在集合内(可能错误)”和“不在集合内(绝对不在集合内)”两种情况,可见 Bloom filter 是

2012-07-31 11:35:25 570

原创 C# override overload overwrite

<br />overload (重载)关键字: 无<br />    1.使用的地方:同一类里。(其实是同一类里同一名称的方法不同版本的一种叫法)<br />    2.要重载的方法和被重载的方法要求:参数列表不同或返回类型和参数列表都不同,只有返回类型不同不能重载。(所谓的参数列表不同就是参数个数或者参<br /><br />数类型不同或者二者都不同)<br />overwrite (重写)关键字:new<br />    是指子类隐藏了父类的方法,当然,通过一定的转换,可以在子类的对象中访问父类的方法。

2010-12-27 13:17:00 521

原创 特性的应用

<br />Type myType = Type.GetType("LearnVCS.Lib.MyAnyClassBase"); object obj = Activator.CreateInstance(myType); foreach (MethodInfo myMethod in myType.GetMethods()) { foreach (Attribute attr in At

2010-06-11 16:30:00 512

原创 C#中静态构造函数的学习

(1)用于对静态字段、只读字段等的初始化。        (2)添加static关键字,不能添加访问修饰符,因为静态构造函数都是私有的。     (3)类的静态构造函数在给定应用程序域中至多执行一次:只有创建类的实例或者引用类的任何静态成员才激发静态构造函数 (4)静态构造函数是不可继承的,而且不能被直接调用。       (5)如果类中包含用来开始执行的 Main 方法,则该类的静态构造函数将在

2009-08-13 18:02:00 411

原创 Fulltext on Katmai

 Key: We need to restart the Service of SQL Full-text Filter Daemon Launcher after changing something.      USE  SpiderManGOEXEC  sp_configure show advance

2009-08-13 13:34:00 458

原创 是Attribute,还是Property?

是Attribute,还是Property?有时是个麻烦。 Attribute和Property都可以翻译成“属性”,有的地方用Attribute表示“属性”,有的地方又在用Property,初学者常常在这两个单词间“迷失”,甚至认为二者没有区别,是一样的。可是Attribute不等于Property。二者之间到底有何区别? 我们从OOA/OOD(Object Oriented A

2009-07-23 11:03:00 418

原创 行列转换

 SELECT [blue] as col1,[red] as col2,[white] as col3        FROM   (  SELECT b.Size,a.Color,a.Color+b.Size asc  FROM tblB asb  

2009-07-20 14:39:00 389

转载 Changing Server Default Collation

From:http://sqlblog.com/blogs/allen_white/archive/2009/05/29/changing-server-default-collation.aspx?CommentPosted=true#commentmessage  An interesting problem develops when the standard default c

2009-05-31 17:38:00 690

原创 在SELECT后面使用存储过程返回表

create procedure JoinTableasbeginSELECT a.column1 as cl1,a.column2 as cl2,b.column2 as cl3FROM table1 a inner join table2 b on a.column1=b.column1;endsp_configure show advanced opti

2009-04-22 14:23:00 850

原创 正则表达式语法

本页面由网页陶吧 龙犊收集整理 时间是: 02/05/06 下午 05:59:09.页面地址: jsgrpRegExpSyntax.htm标题: 正则表达式语法  •  文件大小: 10066  •  更新时间: Sun, 05 Feb 2006 03:21:30 GMTVisual Basic Scripting Edition 语言参考

2009-04-20 17:57:00 415

原创 SQL Server数据库简体繁体数据混用的问题

 我现在要说的是一个在简体繁体数据混用的时候很容易发生的问题,但是这个问题也很容易被大家忽略。具体来说,这个问题会在所有采用不同排序规则的数据实例间关联数据的时候发生。也许我这么说大家还是弄不清楚到底是怎么回事儿,我先来讲一下我今天碰到的问题。   公司里面使用的数据库会有简体中文和繁体中文两种版本。我现在这个专案使用的SQLServer是繁体中文版的,但是需要使用到另一个使用简体中文版SQL

2009-04-09 16:33:00 799

原创 C#重启远程计算机

 C#实现启动远程计算机的原理是"视窗管理规范"。就是所谓的"WMI"(Windows Management Instrumentation)。Windows 管理规范 (WMI) 支持通过 Internet 管理系统的结构。通过提供管理环境的一致观察,WMI 为用户提供通用访问管理信息。该管理的一致性使您能够管理整个系统,而不只是组件。从 Microsoft MSDN上,您可以获得有关 WMI

2009-03-26 17:38:00 572

原创 SQL Server 2005 笔试题

Question 1 Can you use a batch SQL or store procedure to calculating the Number of Days in a Month?I am trying to find a way to calculate the total number of days in each month. I am trying to avoid u

2009-03-05 13:40:00 831

原创 How To Get High Quality Information About Query Performance

Thanks  Elisabeth Redeicopy from http://sqlblog.com/blogs/elisabeth_redei/archive/2009/03/01/how-to-get-high-quality-information-about-query-performance.aspx   There are a zillion reasons

2009-03-03 18:29:00 913

原创 一个完整的RSA数字签名的Project

RSA&MD5实现电子签章         本人目前在做一个关于“数字签名”的项目,在网上查资料,感觉这方面的都非常的少,一般都是讲RSA的算法,或者“数字签名”的原理,完全是浪费时间。我经过摸索,小有进展,初步实现功能。今天写出来,希望能给以后的做这个的朋友提供个方便。还有一件事,在我查资料的时候也遇见很多朋友在做这个项目,但是我感觉他们都在进入了几个误区。我先把这几个误区说说,以免大家以后走错

2009-02-26 14:29:00 2052 1

原创 SQL SERVER 导入大对象

   INSERT   INTO dbo.FTSDocs(DocID,Titel,[FileName],FileExtension,DocContent)   SELECT 1,mytest doc,mytest.doc,.doc,  * FROM OPENROWSET(BULK NE:/cofei/

2009-02-18 16:17:00 442

转载 将Windows Server 2008配置成VISTA

虽然Windows Server 2008是服务器(Server)操作操作系统,但作为DIYer,只要是操作操作操作系统,绝大部分的都是可以用的.何况Windows Server 2008和VISTA绝大部分的都是基于同一个开发内核,将Windows Server 2008配置成VISTA作为电脑的桌面操作操作系统当然也是很简单,一,安装Windows Server 2008这就不需要我来教您们了

2009-02-04 16:26:00 674

转载 C#画图(WinForm)

使用C#在Windows应用程序里绘图,可能用到移动图像、擦掉图像,调整大小等等。我这里有一个画图的小程序,简单的实现了这些。。。 定义图像的基类: abstract class DrawBase...{    internal Color m_BackColor;    internal Color m_ForeColor;    internal static int m_

2009-02-03 16:21:00 737

原创 计算机中常用的命令

 gpedit.msc-----组策略                                                                   sndrec32-------录音机     Nslookup-------IP地址侦测器                                                       explorer------

2009-01-07 10:12:00 504

原创 Frustrated with Installing the Hyper-V Manager to remotely manage Hyper-V Server 2008

 Frustrated with Installing the Hyper-V Manager to remotely manage Hyper-V Server 2008The Hyper-V Server 2008 installation was easy. Figuring out what I had to do to create virtual machines and

2008-12-22 12:13:00 20360

原创 C++ using namespace std 详解

  一 :和是不一样,前者没有后缀,实际上,在你的编译器include文件夹里面可以看到,二者是两个文件,打开文件就会发现,里面的代码是不一样的。 后缀为.h的头文件c++标准已经明确提出不支持了,早些的实现将标准库功能定义在全局空间里,声明在带.h后缀的头文件里,c++标准为了和C区别开,也为了正确使用命名空间,规定头文件不使用后缀.h。 因此,当使用时,相当于在c中调用库函数,使用的是

2008-12-17 17:14:00 377

原创 Execution Policy on Vista or Windows Server 2008

 Some of you may be getting an error when trying to set the execution policy on a new install of Windows PowerShell in Vista: PS C:/Users/leonard> Set-ExecutionPolicy unrestrictedSet-ExecutionPo

2008-12-11 17:18:00 475

原创 让IIS支持PHP的配置方法

 1. 用下面的链接 下载PHP,然后按提示安装,强烈建议只安装默认的功能。            http://www.php.net/downloads.php 2. 打开“Internet服务管理器”,选择你想支持PHP的站点,打开属性页,点击“ISAPI筛选器”选项卡,点击“添加”,在弹出的“筛选器属性”窗口的“筛选器名称”中填入“php”;在“可执行文件”中填入“C:/php-4

2008-12-10 14:07:00 482

原创 关于SQL Server 中字符串的合并

 体会:在子查询中,使用聚合函数和 FOR XML PATH()来确保返回记录是一条。去重用DISTINCT 和GROUP BY. if not object_id(Tab) is nulldrop table TabGoCreate table Tab([Col1] int,[Col2] nvarchar(1))Insert Tabselect

2008-12-03 16:33:00 597

原创 How to: Encrypt a Column of Data

This topic shows two ways that you can encrypt a column of data by using symmetric encryption. In the following examples, the plaintext original remains unchanged in the table. This preserves th

2008-12-02 17:16:00 1147

原创 动态sql语句基本语法

1 :普通SQL语句可以用Exec执行 eg:   Select * from tableName          Exec(select * from tableName)          Exec sp_executesql Nselect * from tableName    -- 请注意字符串前一定要加N 2:字段名,表名,数据库名之类作为变量时,必须用动态SQL eg:  

2008-11-27 13:51:00 421

原创 How to get local machine name and IP address?

THANKS nick.fletcher@iinet.net.au and Dave Sexton, your notes give me a lot of help. Environment.MachineName will return the local NetBios name as a stringyou can also use:System.Net.dns.GetHostNa

2008-11-20 11:18:00 1055

原创 Windows Server 2003 Performance Monitor - Getting Started

Introduction to Performance MonitorThis is the place to start if you are new to the science of Windows 2003 Performance Monitoring.  The purpose of this page is to master the basic techniques of Sys

2008-11-18 12:58:00 1973

原创 Unable to start debugging on the web server

Unable to start debugging on the web server   出错环境:Window XP SP2、Vistual Studio 2003、IE 7  出错信息:Error while trying to run project: Unable to strart debugging on the web server. You do net have

2008-10-29 17:02:00 1101

原创 .net C# Treeview的Node拖动,Node节点上下移动

定义一个TreeView 名字为TVdepartment,设置allowdrop为True//移动代码        private void MiMoveUp_Click(object sender, EventArgs e) //向上移动        {            //by 闫磊 Email:Landgis@126.com,yanleigis@21cn.com 2007.10.1

2008-10-15 21:20:00 3767

原创 Query performance troubleshooting in SQL Server 2008: query_hash and query_plan_hash

 Recently I have noticed 2 new columns added to sys.dm_exec_query_stats and sys.dm_exec_requests DMVs in SQL Server 2008: query_hash and query_plan_hash. Those columns can greatly enhance performanc

2008-09-25 15:37:00 626

原创 我眼中的脚本:WMI使用举例

什么是WMI?WMI是Windows Management Instrumentation的缩写,简单来说就是我们可以使用来获得和管理Windows各种信息的接口。更官方的介绍可以查看这篇文章:http://www.microsoft.com/china/M ... pting.mspx?mfr=true到具体操作时,我们将使用WQL。什么是WQL?从字面上看很熟悉吧,熟悉数据库的朋友马上会想到S

2008-09-07 22:28:00 566

原创 IE6-7 JS关闭窗口不提示的方法

方法一:js 代码 function CloseWin() //这个不会提示是否关闭浏览器    {    window.opener=null;    //window.opener=top;    window.open("","_self");    window.close();   

2008-07-09 13:59:00 1751

原创 Understanding ASP.NET Impersonation Security

Understanding ASP.NET Impersonation Security36 commentsMay 18, 2005 @ 1:10 amWith ASP.NET applications it’s usually recommended that you run under the ‘ASP.NET user account’ without impers

2008-02-28 13:45:00 901

原创 Collation can be based on the Windows Collation or SQL Collation

/*        Background : SQL2000 supports collation at different levels.        Collation can be based on the Windows Collation or SQL Collation.        Collation can be specified at the server, databas

2008-01-31 10:29:00 1112

Database Mount and Unmount

对Database Mount and Unmount 简单介绍

2012-07-16

Training docs

Training docs

2008-06-13

NUnit-2.4.0

nunit和vs单元测试工具

2007-05-08

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除