03 2020 档案

摘要:How do I get notifications for commits to a repository? I just found out by accident that you can easily manage to achieve this: fork the project (if 阅读全文
posted @ 2020-03-31 18:23 ChuckLu 阅读(147) 评论(0) 推荐(0) 编辑
摘要:How to undo a git merge squash? If you run git merge --squash <other-branch> the working tree and index are updated with what the result of the merge 阅读全文
posted @ 2020-03-31 17:22 ChuckLu 阅读(194) 评论(0) 推荐(0) 编辑
摘要:Why use a public method in an internal class? UPDATE: This question was the subject of my blog in September 2014. Thanks for the great question! There 阅读全文
posted @ 2020-03-31 16:11 ChuckLu 阅读(172) 评论(0) 推荐(0) 编辑
摘要:web.config中配置 <appSettings> <add key="webpages:Version" value="3.0.0.0" /> <add key="ClientValidationEnabled" value="true" /> <add key="UnobtrusiveJav 阅读全文
posted @ 2020-03-31 15:27 ChuckLu 阅读(561) 评论(0) 推荐(0) 编辑
摘要:https://jqueryvalidation.org/documentation/ API Documentation You're probably looking for Options for the validate() method If not, read on. Throughou 阅读全文
posted @ 2020-03-31 14:39 ChuckLu 阅读(323) 评论(0) 推荐(0) 编辑
摘要:what will happen, if I boundle a js file with Bundle and manually reference the same file again on html If you bundle a JS file with Bundle and manual 阅读全文
posted @ 2020-03-31 13:43 ChuckLu 阅读(186) 评论(0) 推荐(0) 编辑
摘要:https://github.com/jquery-validation/jquery-validation/blob/master/src/core.js#L15 以下这段代码把插件作为validator塞到data里面 // Check if a validator for this form 阅读全文
posted @ 2020-03-31 12:36 ChuckLu 阅读(579) 评论(0) 推荐(0) 编辑
摘要:Model validation in ASP.NET Core MVC and Razor Pages [Remote] attribute The [Remote] attribute implements client-side validation that requires calling 阅读全文
posted @ 2020-03-31 11:02 ChuckLu 阅读(280) 评论(0) 推荐(0) 编辑
摘要:About Service Logon Accounts When a Win32-based service starts, it logs on to the local computer. It can log on as: A local or domain user account. Th 阅读全文
posted @ 2020-03-31 10:34 ChuckLu 阅读(326) 评论(0) 推荐(0) 编辑
摘要:LocalSystem Account The LocalSystem account is a predefined local account used by the service control manager. This account is not recognized by the s 阅读全文
posted @ 2020-03-31 10:09 ChuckLu 阅读(389) 评论(0) 推荐(0) 编辑
摘要:http://www.mimekit.net/docs/html/Getting-Started.htm https://github.com/jstedfast/MailKit 阅读全文
posted @ 2020-03-30 23:05 ChuckLu 阅读(139) 评论(0) 推荐(0) 编辑
摘要:Can't send mail using SmtpClient The server responds with 5.7.1 Client was not authenticated but only if you do not set UseDefaultCredentials to true. 阅读全文
posted @ 2020-03-30 17:41 ChuckLu 阅读(1231) 评论(0) 推荐(0) 编辑
摘要:Package is not found in the following primary source This is caused by caching. If you don't want to wait like the above answer suggested, just clear 阅读全文
posted @ 2020-03-30 13:05 ChuckLu 阅读(353) 评论(0) 推荐(0) 编辑
摘要:https://medium.com/hashmapinc/the-what-why-and-how-of-a-microservices-architecture-4179579423a9 For many years now we have been building systems and g 阅读全文
posted @ 2020-03-29 12:22 ChuckLu 阅读(152) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/sdflysha/p/20200325-19-csharp-interview-question-from-60k-boss-1.html 请简述async函数的编译方式 请简述Task状态机的实现和工作机制 请简述await的作用和原理,并说明和Ge 阅读全文
posted @ 2020-03-29 11:52 ChuckLu 阅读(337) 评论(0) 推荐(0) 编辑
摘要:Why can two different enum enumeration-constants have the same integer value? C enums are "really" integers -- not just because they happen to be impl 阅读全文
posted @ 2020-03-28 22:09 ChuckLu 阅读(143) 评论(0) 推荐(0) 编辑
摘要:What are the benefits of using Dependency Injection and IoC Containers? Most important, for me, is making it easy to follow the Single Responsibility 阅读全文
posted @ 2020-03-27 19:50 ChuckLu 阅读(160) 评论(0) 推荐(0) 编辑
摘要:Why does one use dependency injection? 回答1 I think a lot of times people get confused about the difference between dependency injection and a dependen 阅读全文
posted @ 2020-03-27 19:41 ChuckLu 阅读(208) 评论(0) 推荐(0) 编辑
摘要:Why would one use a third-party DI Container over the built-in ASP.NET Core DI Container? 回答1 For product development of any reasonably sized applicat 阅读全文
posted @ 2020-03-27 19:25 ChuckLu 阅读(131) 评论(0) 推荐(0) 编辑
摘要:Using Dependency Injection without any DI Library 回答1 I think that it would be much better to start with Pure DI instead of using ASP.NET vNext's buil 阅读全文
posted @ 2020-03-27 19:23 ChuckLu 阅读(254) 评论(0) 推荐(0) 编辑
摘要:日历版本的实施方案(英文) 图数据库软件 Dgraph 决定从语义版本切换到日历版本YY.0M.PatchNumber,本文介绍 Dgraph 的实施方案。 Versioning Scheme YY: Short year which indicates which year the release 阅读全文
posted @ 2020-03-27 15:24 ChuckLu 阅读(210) 评论(0) 推荐(0) 编辑
摘要:https://autofac.readthedocs.io/en/latest/lifetime/disposal.html Resources obtained within a unit of work - database connections, transactions, authent 阅读全文
posted @ 2020-03-27 02:40 ChuckLu 阅读(468) 评论(0) 推荐(0) 编辑
摘要:How do I work with per-request lifetime scope? In applications that have a request/response semantic (e.g., ASP.NET MVC or Web API), you can register 阅读全文
posted @ 2020-03-27 00:34 ChuckLu 阅读(369) 评论(0) 推荐(0) 编辑
摘要:taskkill /IM "LISA.Batch.RulesProcessor.exe" /F C:\WINDOWS\system32>taskkill /IM "ssh-agent.exe" /FSUCCESS: The process "ssh-agent.exe" with PID 33092 阅读全文
posted @ 2020-03-24 18:54 ChuckLu 阅读(271) 评论(0) 推荐(0) 编辑
摘要:web调用了wcf,发现是wcf那边出错,连不上数据库导致的。 数据库的ip更换了 2020-04-17 14:53:04,873 ERROR [38]: controller:Logon, action:LogonSystem.InvalidOperationException: An error 阅读全文
posted @ 2020-03-24 11:02 ChuckLu 阅读(1062) 评论(0) 推荐(0) 编辑
摘要:How many types of the lifetimescope in autofac? Autofac provides several built-in lifetime scopes that you can use to control how instances of compone 阅读全文
posted @ 2020-03-24 10:50 ChuckLu 阅读(234) 评论(0) 推荐(0) 编辑
摘要:https://autofaccn.readthedocs.io/en/latest/lifetime/index.html A great place to start learning about Autofac scope and lifetime is in Nick Blumhardt’s 阅读全文
posted @ 2020-03-24 10:45 ChuckLu 阅读(219) 评论(0) 推荐(0) 编辑
摘要:https://autofaccn.readthedocs.io/en/latest/lifetime/instance-scope.html Instance scope determines how an instance is shared between requests for the s 阅读全文
posted @ 2020-03-24 10:44 ChuckLu 阅读(384) 评论(0) 推荐(0) 编辑
摘要:http://www.codewars.com/kata/56676e8fabd2d1ff3000000c/train/csharp Can you find the needle in the haystack? Write a function findNeedle() that takes a 阅读全文
posted @ 2020-03-23 18:17 ChuckLu 阅读(530) 评论(0) 推荐(0) 编辑
摘要:Git does not apply deleted files when merging an old branch into the master. How can I tell Git to apply deleted files? The only way I can fathom this 阅读全文
posted @ 2020-03-23 16:09 ChuckLu 阅读(218) 评论(0) 推荐(0) 编辑
摘要:How to get the parents of a merge commit in git? git rev-list --parents -n 1 uk-645ec1aaab4714f7b47136e1e43744a70fc11a9f0 【the id of current commit】 f 阅读全文
posted @ 2020-03-23 15:50 ChuckLu 阅读(319) 评论(0) 推荐(0) 编辑
摘要:Data: Science, Analytics & Management Trainings Clearing the Confusion: AI vs Machine Learning vs Deep Learning Differences As you can see on the abov 阅读全文
posted @ 2020-03-23 11:45 ChuckLu 阅读(210) 评论(0) 推荐(0) 编辑
摘要:What is the difference between Clustered and Non-Clustered Indexes in SQL Server? Conclusion From the discussion we find following differences between 阅读全文
posted @ 2020-03-20 14:56 ChuckLu 阅读(136) 评论(0) 推荐(0) 编辑
摘要:You could try to remove the context menu by Easy Context Menu 1.6. https://github.com/PowerShell/PowerShell/issues/7826#issuecomment-601510083 阅读全文
posted @ 2020-03-20 13:10 ChuckLu 阅读(323) 评论(0) 推荐(0) 编辑
摘要:How much business logic should be allowed to exist in the controller layer? As little as possible. Preferably none. The controller should be concerned 阅读全文
posted @ 2020-03-19 14:01 ChuckLu 阅读(572) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/cassiel33/article/details/9187767 https://bbs.csdn.net/topics/390908213 select a.id,a.数量 - b.数量 from abc a left join abc b on a. 阅读全文
posted @ 2020-03-17 17:11 ChuckLu 阅读(2547) 评论(0) 推荐(0) 编辑
摘要:JQuery: Convert GET URL to POST what's the easiest way to convert a GET URL string to POST in jQuery? e.g. I want the params of a link <a href="/somep 阅读全文
posted @ 2020-03-16 11:33 ChuckLu 阅读(223) 评论(0) 推荐(0) 编辑
摘要:2020-03-16 11:04:35,168 ERROR [13]: System.InvalidOperationException: This request has been blocked because sensitive information could be disclosed t 阅读全文
posted @ 2020-03-16 11:09 ChuckLu 阅读(768) 评论(0) 推荐(0) 编辑
摘要:What is the difference between Shrink Database and File? Simply... DBCC ShrinkDatabase(): shrink all files DBCC ShrinkFile(): just one file For exampl 阅读全文
posted @ 2020-03-12 18:05 ChuckLu 阅读(165) 评论(0) 推荐(0) 编辑
摘要:The view 'Index' or its master was not found. 方案1 Global.asax file contain the URL Route. Default URL route like this. "{controller}/{action}/{id}" So 阅读全文
posted @ 2020-03-11 13:33 ChuckLu 阅读(514) 评论(0) 推荐(0) 编辑
摘要:打开dll的源码,然后attach到那个加载了反射dll的进程上。 就可以调试dll的代码 阅读全文
posted @ 2020-03-10 18:34 ChuckLu 阅读(426) 评论(0) 推荐(0) 编辑
摘要:https://hsreplay.net/replay/gBHGpWnetnE5ehnkjL23AR 第五回合手动干涉了 #######################################################################start calculations 阅读全文
posted @ 2020-03-08 13:31 ChuckLu 阅读(972) 评论(0) 推荐(0) 编辑
摘要:第一次的计算 doallmoves(false, true); if (p.enemyHero.Hp <= 0) { retval += 10000; if (retval < 10000) retval = 10000; } 第二次的计算【第一次计算不能斩杀的前提下,进行第二次计算】 doallm 阅读全文
posted @ 2020-03-07 21:07 ChuckLu 阅读(214) 评论(0) 推荐(0) 编辑
摘要:https://hsreplay.net/replay/DdL8mWj6ykBLEyv8Cp7Nnc 第五回合应该使用大漩涡传送门打死大法师瓦格斯的 当前ai的策略是, 1.手牌阴燃电鳗战吼打一下, 2.场上的阴燃电鳗攻击一下 3.召唤了图腾 本来还应该用一下大漩涡传送门的 正确的逻辑,需要使用的手 阅读全文
posted @ 2020-03-07 20:36 ChuckLu 阅读(604) 评论(0) 推荐(0) 编辑

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