Jenney Zhao

导航

2015年11月23日 #

联通编码问题

摘要: (部分转自http://www.cnblogs.com/hongfei/p/3648794.html)当我们在 windows 的记事本里新建一个文件,输入"联通"两个字之后,保存,关闭,然后再次打开,会发现这两个字已经消失了,代之的是几个乱码!其实这是因为GB2312编码与UTF8编码产生了编码冲... 阅读全文

posted @ 2015-11-23 14:05 Jenney Zhao 阅读(679) 评论(0) 推荐(0) 编辑

2015年11月19日 #

远程启动程序

摘要: 背景昨天遇到一个问题:本地电脑(Win7 x64)想要远程启动另一台电脑(Windows Server 2012 R2)上的一个程序(为*.exe程序),要求是:在不改变远程电脑配置的前提下,被启动的程序能弹出console界面,并有run as administrator的效果(类似于右击某个程序... 阅读全文

posted @ 2015-11-19 00:26 Jenney Zhao 阅读(3394) 评论(0) 推荐(0) 编辑

2015年11月13日 #

创业前必须要知道的几件事

摘要: 现在人人都想创业,都想一夜暴富,不管目的怎么样,但在真正创业前,有认真思考过下面的几件事儿吗? (听了Director Gene Bond的讲座有感,摘抄自他的slides)1. A very Big problem创业的目的是要解决一个大问题。什么问题算大,什么问题算小,仁者见仁,智者见智,但下面... 阅读全文

posted @ 2015-11-13 19:13 Jenney Zhao 阅读(201) 评论(0) 推荐(0) 编辑

2014年3月7日 #

Sysinternals Suite

摘要: http://technet.microsoft.com/en-us/sysinternals/bb842062The Sysinternals Troubleshooting Utilities have been rolled up into a single Suite of tools. This file contains the individual troubleshooting tools and help files. It does not contain non-troubleshooting tools like the BSOD Screen Saver or Not 阅读全文

posted @ 2014-03-07 19:50 Jenney Zhao 阅读(222) 评论(0) 推荐(0) 编辑

2013年10月11日 #

扩展Visual Studio Test Project:自定义TestClassAttribute - part 2

摘要: [转] http://blogs.msdn.com/b/vstsqualitytools/archive/2009/09/04/extending-the-visual-studio-unit-test-type-part-2.aspx代码下载地址:http://archive.msdn.microsoft.com/UnitTestExtendSample/Release/ProjectReleases.aspx?ReleaseId=4030In part 1, we introduced Unit Test Type Extensibility, highlighting the main 阅读全文

posted @ 2013-10-11 16:16 Jenney Zhao 阅读(452) 评论(0) 推荐(0) 编辑

扩展Visual Studio Test Project:自定义TestClassAttribute - part 1

摘要: 背景使用Visual Studio 2010 Test Project创建我们的automation test case时,预定义的TestClassAttribute可能会有以下局限:假设某些automation test case要求在version 1.0下跑;某些要求在version 1.1下跑,或在不同的环境下执行不同的case,预定义的TestClassAttribute不能在运行中自动决定某些case是否可以run,某些是否不能run(至少现在我没找到解决方法)。但Microsoft提供了一些类库可供我们自定义TestClassAttribute,从而实现以上目的。[转]http 阅读全文

posted @ 2013-10-11 15:12 Jenney Zhao 阅读(905) 评论(0) 推荐(0) 编辑

2013年8月22日 #

SQL Server Single-user Mode

摘要: 背景系统管理员可能会由于下列原因之一失去对 SQL Server 实例的访问权限:作为 sysadmin 固定服务器角色成员的所有登录名都已经被误删除。作为 sysadmin 固定服务器角色成员的所有 Windows 组都已经被误删除。作为 sysadmin 固定服务器角色成员的登录名用于已经离开公司或者无法找到的个人。sa 帐户被禁用或者没有人知道密码。作为系统管理员如何可以重新获得对 SQL Server 数据库引擎的访问权限?可以让您重新获得访问权限的一种方法是重新安装 SQL Server 并将所有数据库附加到新实例。这种解决方案很耗时,并且若要恢复登录名,可能还需要从备份中还原 ma 阅读全文

posted @ 2013-08-22 14:34 Jenney Zhao 阅读(1185) 评论(0) 推荐(0) 编辑

2013年8月20日 #

MAXDOP(max degree of parallelism)

摘要: 概述当 SQL Server 在具有多个微处理器或 CPU 的计算机上运行时,它将为每个并行计划执行检测最佳并行度(即运行一个语句所使用的处理器数)。您可以使用 max degree of parallelism 选项来限制执行并行计划时所用的处理器数量。若要使服务器能够确定最大并行度,请将此选项设置为默认值 0。若将 maximum degree of parallelism 设置为 0,SQL Server 将能够使用至多 64 个可用的处理器。若要取消生成并行计划,请将 max degree of parallelism 设置为 1。将该值设置为大于 1 的数值来限制执行单个并行查询时所 阅读全文

posted @ 2013-08-20 14:14 Jenney Zhao 阅读(794) 评论(0) 推荐(0) 编辑

2013年8月4日 #

关于log4net

摘要: 1概述log4net is a tool to help the programmer output log statements to a variety of output targets.关于log4net详细的介绍请参见:http://logging.apache.org/log4net/release/features.htmlhttp://logging.apache.org/log4net/release/manual/introduction.html优点:It allows the developer to control which log statements are o 阅读全文

posted @ 2013-08-04 22:43 Jenney Zhao 阅读(493) 评论(0) 推荐(0) 编辑

2013年5月14日 #

iisreset

摘要: IISRESET.EXE (c) Microsoft Corp. 1998-2005Usage: iisreset [computername]/RESTART Stop and then restart all Internet services. /START Start all Internet services. /STOP Stop all Internet services. /REBOOT Reboot the computer. /REBOOTONERROR Reboot the computer if an error occurs when starting... 阅读全文

posted @ 2013-05-14 12:49 Jenney Zhao 阅读(385) 评论(0) 推荐(0) 编辑