摘要: Option Explicit' VBA Script that gets info on the currently selected email using propertyAccessor and various syntaxes' (see other scripts at http://w... 阅读全文
posted @ 2015-04-24 14:52 悠哉游哉 阅读(464) 评论(0) 推荐(0)
摘要: Posted onTuesday, November 5th, 2013 at 7:18 ambyPieter van der Westhuizen.You’ll see a lot of complaints on the internet about Excel and other Micros... 阅读全文
posted @ 2015-04-15 11:38 悠哉游哉 阅读(243) 评论(0) 推荐(0)
摘要: select * from(select c.company_id, c.company_name_1 C, a.address_line_1_soundex A , rank() over (partition by c.company_id, a.address_line_1_soundex... 阅读全文
posted @ 2015-03-20 16:40 悠哉游哉 阅读(133) 评论(0) 推荐(0)
摘要: byte[] data = image.data;SizeSuffix(data.length);static readonly string[] SizeSuffixes = { "bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB" }; ... 阅读全文
posted @ 2015-03-16 12:14 悠哉游哉 阅读(256) 评论(0) 推荐(0)
摘要: 样表如下:StudentIDsNameSubjectScore1张三Chinese802张三Math903张三English854李四Chinese855李四Math926李四English82 Access:TRANSFORM Avg(Student.Score) AS ScoreOfAvg... 阅读全文
posted @ 2014-08-12 18:09 悠哉游哉 阅读(707) 评论(0) 推荐(0)
摘要: >> 部署ASP.NET应用程序到IIS 8 上。 运行时出现上述错误。为服务器以及数据库本身添加了NT AUTHORITY\NETWORK SERVICE 和 NT AUTHORITY\IUSR 账号后,授权,解决。同事说的其他解决方案,添加本机用户名为Impersonate user,并修改we... 阅读全文
posted @ 2014-04-24 16:55 悠哉游哉 阅读(282) 评论(0) 推荐(0)
摘要: 最近经常遇到SQL Server Security方面设置的问题。1. 部署应用程序到IIS上,再访问数据库的时候,需要new Login 为当前应用程序池(App Pool)的当前账号(IIS APPPOOL\.NET 4.5) ,再为目标数据库增加Users以及需要的权限。记得还为 w3wp.e... 阅读全文
posted @ 2014-04-24 16:54 悠哉游哉 阅读(282) 评论(0) 推荐(0)
摘要: 晚上部署Mvc网站到local的IIS上面时,问题一个接一个的冒出来了。(Windows 8 操作系统)>> HTTP Error 500.19 - Internal Server Error配置错误: 不能在此路径中使用此配置节。如果在父级别上锁定了该节,便会出现这种情况。锁定是默认设置的(overrideModeDefault="Deny"),或者是通过包含 overrideMode="Deny" 或旧有的 allowOverride="false" 的位置标记明确设置的。Solution: 从打开windows 功能 阅读全文
posted @ 2014-03-11 00:04 悠哉游哉 阅读(741) 评论(0) 推荐(0)
摘要: 被问到闭包是什么。以前似乎很少接触这个概念,补了下。看了这篇博客:What's in a closure. 总结起来,宿主方法(parent method)体内部的匿名方法,可以调用宿主方法体内的局部变量。原因大概是该匿名方法绑定的是宿主方法方法体和其内部的变量。进一步推测,可能匿名方法指向了他的宿主方法的引用。delegatevoidAction();staticvoidMain(string[] args){intx = 0;Actiona =delegate{Console.WriteLine(x); };x = 1; a();}上面的打印出来的是“1”而不是“0”.猜测部分,等 阅读全文
posted @ 2014-02-27 23:16 悠哉游哉 阅读(190) 评论(0) 推荐(0)
摘要: 重装系统后,安装的新版本GoAgent,local本地文件夹下只有addto-startup.js文件。打开看了下代码,是跟开机启动自动加载GoAgent相关的。运行*.js,可以直接在CMD里面操作。Step 1 >> CD the path of the fold containing addto-startup.js fileStep 2 >>wscript //e:jscript addto-startup.js.js 阅读全文
posted @ 2014-01-02 03:31 悠哉游哉 阅读(598) 评论(0) 推荐(0)