08 2015 档案

摘要:以开源记牌器https://github.com/Epix37/Hearthstone-Deck-Tracker 为例,Hearthstone Deck Tracker项目中的后期生成事件命令行: if "$(ConfigurationName)" == "Release" ( rmdir /S / 阅读全文
posted @ 2015-08-31 08:49 ChuckLu 阅读(4950) 评论(1) 推荐(0) 编辑
摘要:using System;using System.Collections.ObjectModel;using System.Linq;namespace ConsoleApplication1{ class Program { private static void Ma... 阅读全文
posted @ 2015-08-30 16:01 ChuckLu 阅读(4360) 评论(0) 推荐(0) 编辑
摘要:git for windows 2.5 版本发布了,更新之后,使用git svn的时候,就出错git svn rebase Or git svn dcommitAfter a update git for windows 2.5,I encountered this problem.$ git sv... 阅读全文
posted @ 2015-08-29 03:43 ChuckLu 阅读(4025) 评论(0) 推荐(0) 编辑
摘要:1.进入某一个目录 cd 2.列出当前目录下的所有文件和文件夹 dir 查看上层目录的内容dir ..\..\ 需要这里是 3.切换盘符目录 c:或f: 4.查看当前绝对路径 cd 或者 echo %cd% 5.加权限 icacls c:\ /setintegritylevel M 正斜杠 表示除法 阅读全文
posted @ 2015-08-29 01:28 ChuckLu 阅读(450) 评论(0) 推荐(0) 编辑
摘要:/// /// 坐标轴的最大步长 /// public double MajorStep { get { return axis.CalcIncrement; } set { axis.Incr... 阅读全文
posted @ 2015-08-28 17:19 ChuckLu 阅读(707) 评论(0) 推荐(0) 编辑
摘要:find commit by hash sha in git问题:I need to find a commit in Git by given hash SHA. For example, if I have "a2c25061" hash, and I need to get the autho... 阅读全文
posted @ 2015-08-27 18:16 ChuckLu 阅读(1568) 评论(0) 推荐(0) 编辑
摘要:WCF - net.pipe vs. net.tcp vs. http Bindings问题:I'm new to WCF and would like to know the differences/advantages/limitations/etc of each of the followi... 阅读全文
posted @ 2015-08-27 09:45 ChuckLu 阅读(1593) 评论(0) 推荐(0) 编辑
摘要:绑定 高级设置 http和net.tcp用逗号分隔 //擦擦擦,见鬼了,下面的是tcp.net导致我找了好久,都找不出这个错误 //一定要注意,不要写错了。 否则会收到提示:找不到具有绑定 NetTcpBinding 的终结点的与方案 net.tcp 匹配的基址。注册的基址方案是 [http]。 h 阅读全文
posted @ 2015-08-26 15:39 ChuckLu 阅读(660) 评论(0) 推荐(0) 编辑
摘要:https://social.msdn.microsoft.com/Forums/office/zh-CN/9f0c76d2-85b0-4cd3-979d-ceda7947bcd1/-?forum=wcfzhchs我重新修改了代码,在S端的”发送数据服务“的代码中添加了Current.Channel... 阅读全文
posted @ 2015-08-26 14:01 ChuckLu 阅读(581) 评论(0) 推荐(0) 编辑
摘要:C:\ProgramData\Microsoft Corporation\Internet Information Services\7.5.7600.16385 阅读全文
posted @ 2015-08-25 14:37 ChuckLu 阅读(272) 评论(0) 推荐(0) 编辑
摘要:查看所有的标签git tag 删除某一个标签git tag -d tagName 创建带注释的标签 git tag -a tagName -m "annotate" 轻量级标签 git tag tagName 切换到某一个标签 git checkout tagName http://blog.csd 阅读全文
posted @ 2015-08-24 22:50 ChuckLu 阅读(15783) 评论(0) 推荐(2) 编辑
摘要:Learning WCF Download Example Code 第一个压缩文件LearningWCF.zip是VS2005创建的项目,不要下载这个。 建议下载VS2008版的,以及Media 阅读全文
posted @ 2015-08-24 16:35 ChuckLu 阅读(228) 评论(0) 推荐(0) 编辑
摘要:git push warning questions This warning was introduced in Git 1.7.11 along with the simple style of pushing. The issue is that the current default, ma 阅读全文
posted @ 2015-08-24 13:39 ChuckLu 阅读(405) 评论(0) 推荐(0) 编辑
摘要:Redundant Call to Object.ToString()The + operator for string is overloaded to call String.Concat passing in the left and right side of the expression.... 阅读全文
posted @ 2015-08-24 11:18 ChuckLu 阅读(1865) 评论(0) 推荐(0) 编辑
摘要:Specify a culture in string conversion explicitly There are different methods of grouping symbols, like 1000; 1 000 and 1'000. Besides there are diffe 阅读全文
posted @ 2015-08-24 10:55 ChuckLu 阅读(541) 评论(0) 推荐(0) 编辑
摘要:Benefits of Cold Showers: 7 Reasons Why Taking Cool Showers Is Good For Your HealthMost of us have been caught in that skin-cringing, and often dreade... 阅读全文
posted @ 2015-08-24 09:26 ChuckLu 阅读(372) 评论(0) 推荐(0) 编辑
摘要:https://medium.com/life-learning/how-creating-a-meaningful-morning-routine-will-make-you-more-successful-1b7372655938When I first heard friends talk a... 阅读全文
posted @ 2015-08-24 09:18 ChuckLu 阅读(244) 评论(0) 推荐(0) 编辑
摘要:1.第一种方法git gui菜单栏上repository-->visual all branch history或者直接使用命令gitk --all2.在git bash中,使用命令查看git log --graph --all【命令行查看不太适合相差太大的分支,分支的共同父节点和分支的当前节点隔开... 阅读全文
posted @ 2015-08-21 17:03 ChuckLu 阅读(24458) 评论(0) 推荐(0) 编辑
摘要:http://code.tutsplus.com/tutorials/rewriting-history-with-git-rebase--cms-231911. Rebasing for a Linear HistoryThe first use case we'll explore involv... 阅读全文
posted @ 2015-08-21 14:35 ChuckLu 阅读(390) 评论(0) 推荐(0) 编辑
摘要:在develop分支上rebase另外一个分支master,是将master作为本地,develop作为远端来处理的。 最后的效果是,develop分支看起来像是在master分支的最新的节点之后才进行开发的 develop分支上的commit记录 Administrator@LuJunTao MI 阅读全文
posted @ 2015-08-21 13:55 ChuckLu 阅读(12617) 评论(0) 推荐(2) 编辑
摘要:How do I create a new git branch from an old commit?git checkout -b justin a9c146a09505837ec03bThis will create the new branch and check it out.git br... 阅读全文
posted @ 2015-08-21 10:26 ChuckLu 阅读(9906) 评论(0) 推荐(1) 编辑
摘要:WCF服务安全控制之netTcpBinding的用户名密码验证http://www.cnblogs.com/wengyuli/archive/2011/05/14/wcf-nettcpbinding-username.html http://www.cnblogs.com/woxpp/p/62323 阅读全文
posted @ 2015-08-18 17:36 ChuckLu 阅读(249) 评论(0) 推荐(0) 编辑
摘要:Method syntax:Enumerable.Range(1, 100).ToList().ForEach(Console.WriteLine);Query syntax:(from n in Enumerable.Range(1, 100) select n) .ToList().For... 阅读全文
posted @ 2015-08-17 16:36 ChuckLu 阅读(252) 评论(0) 推荐(0) 编辑
摘要:.NET Framework Client ProfileThe .NET Client Profile is a subset of the .NET Framework, which was provided with .NET Framework 4 and earlier versions ... 阅读全文
posted @ 2015-08-17 15:57 ChuckLu 阅读(227) 评论(0) 推荐(0) 编辑
摘要:Resharper中 Visual Studio中注释代码 Ctrl+Alt+/ Ctrl+E+C取消注释 Ctrl+Alt+/ Ctrl+E+U上面的是VS2015中的VS2012中,VS自带的快捷注释,不会被Resharper覆盖,仍然有效 阅读全文
posted @ 2015-08-17 13:28 ChuckLu 阅读(1652) 评论(0) 推荐(0) 编辑
摘要:The numbers correspond to the internal version numbers of various editions of Visual Studiohttp://en.wikipedia.org/wiki/Microsoft_Visual_Studio#Versio... 阅读全文
posted @ 2015-08-17 11:15 ChuckLu 阅读(200) 评论(0) 推荐(0) 编辑
摘要:发现右键项目的时候,是没有类图的。https://msdn.microsoft.com/en-us/library/hyxd8c85.aspx右键项目--添加--新建项。 选择类图。然后将整个项目拖动到类图中 阅读全文
posted @ 2015-08-14 19:54 ChuckLu 阅读(1538) 评论(0) 推荐(0) 编辑
摘要:Make an existing Git branch track a remote branch? Given a branch foo and a remote upstream: As of Git 1.8.0: Or, if local branch foo is not the curre 阅读全文
posted @ 2015-08-14 17:44 ChuckLu 阅读(13254) 评论(0) 推荐(0) 编辑
摘要:http://stackoverflow.com/questions/4817369/why-does-does-it-really-listt-implement-all-these-interfaces-not-just-ilis 作者针对上面的问题,专门写了一篇文章 http://blogs. 阅读全文
posted @ 2015-08-14 14:37 ChuckLu 阅读(156) 评论(0) 推荐(0) 编辑
摘要:1.关闭诊断工具vs2015在程序启动之后,自带了内存和cpu使用情况查看的诊断工具。不喜欢这个,直接点击诊断工具右上角的关闭按钮2.解决方案资源管理器程序启动之后,解决方案资源管理器,被收缩到右侧了强制show出来,然后用钉子钉住3.git使用的时候,需要添加针对.vs的忽略vs2015能够自动针... 阅读全文
posted @ 2015-08-14 10:22 ChuckLu 阅读(584) 评论(0) 推荐(0) 编辑
摘要:One-Way and Duplex Communication A message exchange pattern describes the way messages are sent between applica-tions. There are three classic message 阅读全文
posted @ 2015-08-13 21:40 ChuckLu 阅读(866) 评论(0) 推荐(0) 编辑
摘要:发送到 net.tcp://192.168.1.18:8732/CallbackService 的请求操作在配置的超时(00:00:59.9879994)内未收到回复。分配给此操作的时间可能已经是更长超时的一部分。这可能由于服务仍在处理操作或服务无法发送回复消息。请考虑增加操作超时(将通道/代理转换... 阅读全文
posted @ 2015-08-13 13:39 ChuckLu 阅读(2899) 评论(0) 推荐(0) 编辑
摘要:Duplex Service in WCFIn WCF, a service can call back to its clients. That is to say that, at the time of call back, the service behaves as a client as... 阅读全文
posted @ 2015-08-12 17:40 ChuckLu 阅读(414) 评论(0) 推荐(0) 编辑
摘要:1.向ChannelFactory提供的InstanceContext包含未实现CallbackContractType的问题通过添加服务引用生成的客户端代码, public class CallbackHandler : ICalculatorDuplexCallback这里的接口必须是添加服务引... 阅读全文
posted @ 2015-08-12 15:53 ChuckLu 阅读(832) 评论(0) 推荐(0) 编辑
摘要:Duplex Servicesfrom msdnA duplex service contract is a message exchange pattern in which both endpoints can send messages to the other independently. ... 阅读全文
posted @ 2015-08-12 13:14 ChuckLu 阅读(329) 评论(0) 推荐(0) 编辑
摘要:1.命令行中查看日志 git log 默认是显示所有的日志信息,之前出来的界面显示的日志,很少。 最后发现,只需要使用键盘上向下键↓,就可以继续浏览更多的日志 空格键,可以翻页浏览日志。 向左← 向右 → 的箭头,可以水平移动查看日志 2.将日志按照格式导出到文件中 git log --pretty 阅读全文
posted @ 2015-08-11 16:30 ChuckLu 阅读(15803) 评论(1) 推荐(2) 编辑
摘要:一、使用了git reset之后,想要找回某一个commit1.git log -g 这个命令只能显示少部分的commit推荐使用git reflog找到想要恢复的那个commit的hash,假如目标hash为618a561实际操作中,一般只要前6位就可以定位到具体的commit2.gitreset... 阅读全文
posted @ 2015-08-11 16:28 ChuckLu 阅读(2267) 评论(0) 推荐(0) 编辑
摘要:自动排版 ctrl+e 然后再d 注释代码 ctrl+e +c 撤销注释 ctrl+e +u 修改变量名,并同步所有引用变量的代码 F2 2015年09月16日更新 删除一行代码 ctrl+l (是字母L) 2017年06月22日更新 折叠所有的region: ctrl+m 然后o 展开 ctrl+ 阅读全文
posted @ 2015-08-10 14:10 ChuckLu 阅读(263) 评论(0) 推荐(0) 编辑
摘要:File-less ActivationAlthough .svc files make it easy to expose WCF services, an even easier approach would be to define virtual activation endpoints w... 阅读全文
posted @ 2015-08-10 13:33 ChuckLu 阅读(276) 评论(0) 推荐(0) 编辑
摘要:Wow!什么是Wow64今天有个同事,被SysWow64搞晕了。这里简单介绍一下。64位的Windows并不是简单地把所有东西都编译成64位就万事大吉的。关于64位的CPU应该做成什么样子,Intel和AMD曾有各自的打算。AMD的回答直接了当:新的64位处理器,应该能在提高更高处理能力的同时,保持... 阅读全文
posted @ 2015-08-10 11:33 ChuckLu 阅读(272) 评论(0) 推荐(0) 编辑
摘要:“/”应用程序中的服务器错误。 未能加载文件或程序集“ZBMYunCoreLib.DLL”或它的某一个依赖项。找不到指定的模块。 说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.IO.Fi 阅读全文
posted @ 2015-08-10 11:16 ChuckLu 阅读(1005) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/x8a5axew.aspxLog on to the Web server by using an administrator account.Turn on Windows Authentication and II... 阅读全文
posted @ 2015-08-10 09:28 ChuckLu 阅读(356) 评论(0) 推荐(0) 编辑
摘要:Static Classes and Static Class MembersA static class is basically the same as a non-static class, but there is one difference: a static class cannot ... 阅读全文
posted @ 2015-08-07 09:55 ChuckLu 阅读(260) 评论(0) 推荐(0) 编辑
摘要:[2015/8/5 19:28:49]错误信息:接收对 http://192.168.1.18:8001/ObtainData/Service 的 HTTP 响应时发生错误。这可能是由于服务终结点绑定未使用 HTTP 协议造成的。这还可能是由于服务器中止了 HTTP 请求上下文(可能由于服务关闭)所... 阅读全文
posted @ 2015-08-06 15:56 ChuckLu 阅读(9254) 评论(0) 推荐(0) 编辑
摘要:Service Trace Viewer Tool 建议把SdrConfigExample.e2e修改为SdrConfigExample.svclog 阅读全文
posted @ 2015-08-06 15:48 ChuckLu 阅读(1484) 评论(0) 推荐(0) 编辑
摘要:http://stackoverflow.com/questions/5689960/how-do-i-create-a-commit-without-a-parent-in-git 这个问题和第二个链接是重复的问题http://stackoverflow.com/questions/645450/... 阅读全文
posted @ 2015-08-06 13:19 ChuckLu 阅读(530) 评论(0) 推荐(0) 编辑
摘要:http://think-like-a-git.net/sections/rebase-from-the-ground-up/cherry-picking-explained.html Git's own online help has a great, if characteristically 阅读全文
posted @ 2015-08-06 09:38 ChuckLu 阅读(10164) 评论(0) 推荐(0) 编辑
摘要:在Program.cs中添加如下代码,之后整个应用程序都不需要额外处理异常了。所以的异常都会在这里处理 补充: 还需要考虑没有文件的写权限,catch (UnauthorizedAccessException ex) Access to the path 'D:\ChuckLu\Git\Edenre 阅读全文
posted @ 2015-08-05 15:14 ChuckLu 阅读(628) 评论(0) 推荐(0) 编辑
摘要:AppDomainhttp://www.cnblogs.com/xiashengwang/archive/2012/07/17/2594623.htmlhttp://www.cnblogs.com/xiashengwang/archive/2012/07/17/2594641.html 阅读全文
posted @ 2015-08-05 14:03 ChuckLu 阅读(222) 评论(0) 推荐(0) 编辑
摘要:http://www.cnblogs.com/xiashengwang/p/3843197.html 阅读全文
posted @ 2015-08-05 13:57 ChuckLu 阅读(292) 评论(0) 推荐(0) 编辑
摘要:log4net使用总结 阅读全文
posted @ 2015-08-05 13:46 ChuckLu 阅读(159) 评论(0) 推荐(0) 编辑
摘要:Net.TCP Port Sharing 阅读全文
posted @ 2015-08-04 13:48 ChuckLu 阅读(520) 评论(0) 推荐(0) 编辑
摘要:Hosting Multiple Service Implementations On The Same Port With WCFRecently I have been playing around with WCF and Visual Studio 2008. I was building ... 阅读全文
posted @ 2015-08-04 13:41 ChuckLu 阅读(525) 评论(0) 推荐(0) 编辑
摘要:错误信息:此集合已经采用方案 http 的地址。此集合中每个方案中最多只能包含一个地址。如果服务承载于 IIS 中,则可以通过将“system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled”设置为 true,或指... 阅读全文
posted @ 2015-08-04 10:56 ChuckLu 阅读(2733) 评论(1) 推荐(0) 编辑
摘要:http://sandrinodimattia.net/fixing-common-issues-when-hosting-a-net-4-0-wcf-service-in-iis-7/Until today I never had to host a WCF service in IIS… I a... 阅读全文
posted @ 2015-08-03 13:24 ChuckLu 阅读(292) 评论(0) 推荐(0) 编辑
摘要:http://www.cnblogs.com/lzhlyle/p/4696645.html 如题,实际上,我想这是很困难的。 除非——只是为了给自己做一个提醒,能够看一眼就快速回想起该设计模式的种种记忆。 下列是我之前在学习《大话设计模式》时做的笔记总结,当中有部分措辞来自其作者程杰。(非常感谢他为 阅读全文
posted @ 2015-08-03 12:11 ChuckLu 阅读(211) 评论(0) 推荐(0) 编辑
摘要:https://svn.apache.org/repos/asf/incubator/stonehenge/contrib/stocktrader/dotnet/stocktrader项目的dotnet版本https://svn.apache.org/repos/asf/incubator/ston... 阅读全文
posted @ 2015-08-03 09:53 ChuckLu 阅读(235) 评论(0) 推荐(0) 编辑
摘要:协定类型 ZBMService.QueryHistoryData 不具有 ServiceContractAttribute 特性。若要定义有效协定,指定的类型(协定接口或服务类)必须具有 ServiceContractAttribute 特性。Uri TradeServiceUriBase = ne... 阅读全文
posted @ 2015-08-03 09:48 ChuckLu 阅读(2132) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示