2014年11月5日

摘要: Install IISInstall ARR 3.0 from WebPIOpen IIS management console (inetmgr), select the server node.On the right panel, open "Appliation Request Routin... 阅读全文
posted @ 2014-11-05 00:17 谢绝围观 阅读(202) 评论(0) 推荐(0) 编辑

2014年9月19日

摘要: 加载page resource在page的code behind里:this.Resources["textBoxStyle"]加载resw文件里的string:ResourceLoader loader = ResourceLoader.GetForCurrentView("MyNamespace... 阅读全文
posted @ 2014-09-19 18:23 谢绝围观 阅读(158) 评论(0) 推荐(0) 编辑

2014年8月21日

摘要: 当新建一个website的时候,一般情况下IIS对相应的物理文件夹的访问权限是不够的。针对匿名认证(anonymous authentication)需要:打开文件夹properties-> Security tab -> Edit -> Add... 如果机器在域内,需将搜索位置设为本机。添加II... 阅读全文
posted @ 2014-08-21 18:36 谢绝围观 阅读(4191) 评论(0) 推荐(0) 编辑

2013年5月10日

摘要: How to make DELL Precision M4500's fingerprint reader work under Windows 7 64 bit. 阅读全文
posted @ 2013-05-10 18:49 谢绝围观 阅读(1256) 评论(0) 推荐(0) 编辑

2013年1月25日

摘要: 用于生成public method签名的code snippet。以及一些常用系统code snippet的总结。 阅读全文
posted @ 2013-01-25 01:04 谢绝围观 阅读(285) 评论(0) 推荐(0) 编辑

2013年1月20日

摘要: WPF/WinRT 下实现ComboBox的Master-Detail 两层/三层级联绑定 阅读全文
posted @ 2013-01-20 16:17 谢绝围观 阅读(2022) 评论(9) 推荐(0) 编辑

2012年12月10日

只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2012-12-10 19:07 谢绝围观 阅读(2127) 评论(0) 推荐(0) 编辑

2012年11月26日

摘要: 打开Visual Studio Command Prompt, 运行CD /d <your work space dir>, 把命令行work dir设为work space map的工作目录,(否则下一步会提示“Unable to determine the workspace”错误)。运行命令:tf rollback /changeset:<your changeset number> /recursive,如果是有一系列changeset要rollback,可以运行:tf rollback /changeset:<first changeset #>~ 阅读全文
posted @ 2012-11-26 20:35 谢绝围观 阅读(305) 评论(0) 推荐(0) 编辑

2012年11月21日

摘要: 这个问题是一个经典的动态规划问题。思路简述如下:对于某个中间状态S(i),设元素a[i]之前的数组累加和为sum,a[i+1]...a[n]中与a[i]邻接的和最大的数组为amax,a[i+2]...a[n]中的最大数组为rmax。这里有三种情况。1. a[i] >= 0. 因为a[i]与amax相邻,故和最大数组应为MAX(sum+a[i]+amax, rmax).2. a[i] < 0 且 |a[i]| < sum,此时,a[i] + sum >0,显然sum+a[i]+amax构成一个比amax更大的数组,因此最大数组仍应为MAX(sum+a[i]+amax, r 阅读全文
posted @ 2012-11-21 00:49 谢绝围观 阅读(129) 评论(0) 推荐(0) 编辑

2012年11月18日

摘要: 我装的WAMP server是64 bits & Apache 2.4, 2.2E版,在安装目录下没有找到go-pear.bat这个文件。安装PEAR的办法是,先下一个go-pear.phar,然后打开命令行,进入PHP目录,如C:\wamp\bin\php\php5.4.3,运行:php -d phar.require_hash=0 PEAR/go-pear.phar按提示一路安装就好了。最后别忘了检查一下php.ini,看看PEAR有没有加到include_path里:; Windows: "\path1;\path2"include_path = " 阅读全文
posted @ 2012-11-18 23:08 谢绝围观 阅读(1040) 评论(0) 推荐(0) 编辑

导航