05 2018 档案

摘要:https://github.com/nsubstitute/NSubstitute http://nsubstitute.github.io/help/creating-a-substitute/ NSubstitute完全手册索引 What's the default value will NS 阅读全文
posted @ 2018-05-31 19:30 ChuckLu 阅读(199) 评论(0) 推荐(0) 编辑
摘要:What is mocking? Mocking is a process used in unit testing when the unit being tested has external dependencies. The purpose of mocking is to focus on 阅读全文
posted @ 2018-05-31 19:12 ChuckLu 阅读(216) 评论(0) 推荐(0) 编辑
摘要:Test double - Wikipedia In computer programming and computer science, programmers and developers employ a technique called automated unit testing to e 阅读全文
posted @ 2018-05-31 18:28 ChuckLu 阅读(224) 评论(0) 推荐(0) 编辑
摘要:通过这种方式绑定数据 ("#modalTarget").data("target", paras); 然后取出数据, data: JSON.stringify(("#modalTarget").data("target")), data-dismiss https://stackoverflow 阅读全文
posted @ 2018-05-31 14:13 ChuckLu 阅读(507) 评论(0) 推荐(0) 编辑
摘要:https://docs.microsoft.com/en-us/dotnet/api/system.web.ui.webcontrols.placeholder?view=netframework-4.7 Using Panel or PlaceHolder https://stackoverfl 阅读全文
posted @ 2018-05-31 13:51 ChuckLu 阅读(269) 评论(0) 推荐(0) 编辑
摘要:在SiteManager中,Settings中,选择好站点,然后Content,Default alias path 阅读全文
posted @ 2018-05-30 11:32 ChuckLu 阅读(189) 评论(0) 推荐(0) 编辑
摘要:https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+MSBuild Features The SonarScanner for MSBuild is the recommended way to l 阅读全文
posted @ 2018-05-30 09:47 ChuckLu 阅读(660) 评论(0) 推荐(0) 编辑
摘要:https://github.com/Microsoft/nodejstools/wiki/Projects 1. 安装vs2017的时候,需要勾选Node.js 2.新建项目的时候,选择其他语言,然后JavaScript,Node.js 阅读全文
posted @ 2018-05-29 13:24 ChuckLu 阅读(4759) 评论(0) 推荐(0) 编辑
摘要:可以直接在vs code里面调试 在debug侧边栏里,创建一个launch.json,选择node.js。然后会自动生成 { // Use IntelliSense to learn about possible attributes. // Hover to view descriptions 阅读全文
posted @ 2018-05-29 12:51 ChuckLu 阅读(877) 评论(0) 推荐(0) 编辑
摘要:https://wiki.jenkins.io/display/JENKINS/Email-ext+plugin General This plugin extends Jenkins built in email notification functionality by giving you m 阅读全文
posted @ 2018-05-29 10:14 ChuckLu 阅读(483) 评论(0) 推荐(0) 编辑
摘要:https://docs.microsoft.com/en-us/visualstudio/install/modify-visual-studio 直接用everything搜索vs_installer.exe C:\Program Files (x86)\Microsoft Visual Stu 阅读全文
posted @ 2018-05-28 21:23 ChuckLu 阅读(292) 评论(0) 推荐(0) 编辑
摘要:https://github.com/node-inspector/node-inspector 前提 1.npm install -g node-pre-gyp https://github.com/mapbox/node-pre-gyp/wiki/FAQ On Windows for Node 阅读全文
posted @ 2018-05-28 19:36 ChuckLu 阅读(1765) 评论(2) 推荐(0) 编辑
摘要:安装visual studio的时候,安装Node.js会同时安装npm 查看版本 PS C:\Users\clu\Desktop> npm --version5.6.0 PS C:\Users\clu\Desktop> npm version{ npm: '5.6.0', ares: '1.14. 阅读全文
posted @ 2018-05-28 19:32 ChuckLu 阅读(12880) 评论(0) 推荐(0) 编辑
摘要:安装 官方的安装包 安装完成之后,会自动添加到环境变量中 通过visual studio安装 命令行 查看版本 阅读全文
posted @ 2018-05-28 19:11 ChuckLu 阅读(2771) 评论(0) 推荐(0) 编辑
摘要:在页面上右键view page source(Ctrl+U),然后在弹出来的界面可以查找JavaScript函数 注意:这个只能看到内嵌在网页上的JavaScript函数 一般来讲,JavaScript函数都是单独写在js文件中的: F12调出菜单,选择Network,然后选择JS 阅读全文
posted @ 2018-05-28 17:36 ChuckLu 阅读(3886) 评论(0) 推荐(0) 编辑
摘要:在network或者source的tab中找到对应的JavaScript文件 重点在右下角的{}图标,点击一下,就会帮你自动格式化了 https://plus.google.com/+AddyOsmani/posts/Q7t2U51G7YR 阅读全文
posted @ 2018-05-28 17:09 ChuckLu 阅读(1854) 评论(0) 推荐(0) 编辑
摘要:3.1 语法 3.1.1 区分大小写 3.1.2 标识符 3.1.3 注释 3.1.4 严格模式strict mode "use strict" 3.1.5 语句 3.2 关键字和保留字 3.3 变量 3.4 数据类型 阅读全文
posted @ 2018-05-21 20:23 ChuckLu 阅读(200) 评论(0) 推荐(0) 编辑
摘要:Forms authentication timeout vs sessionState timeout They are different things. The Forms Authentication Timeout value sets the amount of time in minu 阅读全文
posted @ 2018-05-21 17:45 ChuckLu 阅读(589) 评论(0) 推荐(0) 编辑
摘要:https://stackoverflow.com/questions/23758704/asp-net-sessionid-vs-aspxauth-why-do-we-need-both-of-them ASP.Net_SessionId is a cookie which is used to 阅读全文
posted @ 2018-05-21 14:48 ChuckLu 阅读(1224) 评论(0) 推荐(0) 编辑
摘要:https://msdn.microsoft.com/en-us/library/ms178581.aspx 阅读全文
posted @ 2018-05-21 14:26 ChuckLu 阅读(129) 评论(0) 推荐(0) 编辑
摘要:https://www.codeproject.com/Articles/1432/What-is-an-ISAPI-Extension Introduction Unless you have been a caveman, you have seen a number of web sites 阅读全文
posted @ 2018-05-19 12:41 ChuckLu 阅读(344) 评论(0) 推荐(0) 编辑
摘要:xml文件如下 筛选出不是a的元素,在打印的时候只能打印OuterXml,XmlNode的InnerXml是空的 阅读全文
posted @ 2018-05-18 14:56 ChuckLu 阅读(259) 评论(0) 推荐(0) 编辑
摘要:PostMan调试技巧 https://github.com/postmanlabs/postman-app-support/issues/3127 在view菜单中,show postman console 所有request都不工作,但是其他软件是可以的 https://github.com/p 阅读全文
posted @ 2018-05-17 16:48 ChuckLu 阅读(362) 评论(0) 推荐(0) 编辑
摘要:连接上ftp服务器之后,在remote site那边邮件选中了目录下载文件,但是下载完成之后。 不知道下载到哪里了,用search everything软件搜了一下,发现就在D盘的根目录。 所以,下载默认是下载到左侧的Local site的 阅读全文
posted @ 2018-05-17 13:42 ChuckLu 阅读(7617) 评论(0) 推荐(0) 编辑
摘要:https://docs.kentico.com/k11/developing-websites/developing-websites-using-the-portal-engine/using-web-part-containers Webpart Container webpart conta 阅读全文
posted @ 2018-05-16 18:10 ChuckLu 阅读(341) 评论(0) 推荐(0) 编辑
摘要:redgate给出的提示 https://www.red-gate.com/hub/product-learning/sql-prompt/consider-using-not-exists-instead-not-subquery Phil Factor explains why you shou 阅读全文
posted @ 2018-05-16 15:44 ChuckLu 阅读(724) 评论(0) 推荐(0) 编辑
摘要:选择让page和folder都显示出来 阅读全文
posted @ 2018-05-15 18:37 ChuckLu 阅读(417) 评论(0) 推荐(0) 编辑
摘要:create master page with css list menu Add the navigation menu Add a dynamic web part that will represent the website menu. The web part ensures that t 阅读全文
posted @ 2018-05-15 17:39 ChuckLu 阅读(236) 评论(0) 推荐(0) 编辑
摘要:根据表名查找数据约束 CONSTRAINT_CATALOG CONSTRAINT_SCHEMA CONSTRAINT_NAME TABLE_CATALOG TABLE_SCHEMA TABLE_NAME CONSTRAINT_TYPE IS_DEFERRABLE INITIALLY_DEFERRED 阅读全文
posted @ 2018-05-15 10:44 ChuckLu 阅读(1347) 评论(1) 推荐(1) 编辑
摘要:private List _ignoreList; private void InitIgnoreList() { _ignoreList = new List { "/configuration/appSettings/add[(@key='CMSTrialKey')]... 阅读全文
posted @ 2018-05-14 15:54 ChuckLu 阅读(374) 评论(0) 推荐(0) 编辑
摘要:从xml配置文件中移除命令空间 https://stackoverflow.com/questions/987135/how-to-remove-all-namespaces-from-xml-with-c 阅读全文
posted @ 2018-05-14 09:42 ChuckLu 阅读(337) 评论(0) 推荐(0) 编辑
摘要:1.git clone 初始会有默认的master分支,并且master和origin/master自动建立了映射关系 2. git checkout -b local 创建并且切换到local分支 3. 随时都可以commit到local分支 4. 等到需要push的时候 4.1 git chec 阅读全文
posted @ 2018-05-10 17:54 ChuckLu 阅读(583) 评论(0) 推荐(0) 编辑
摘要:谷歌搜索xhr site:cnblogs.com https://www.cnblogs.com/xiaohuochai/p/6036475.html 在Chrome的network监视中,类型为XHR 阅读全文
posted @ 2018-05-10 15:57 ChuckLu 阅读(142) 评论(0) 推荐(0) 编辑
摘要:prototype.js https://github.com/sstephenson/prototype moment js https://github.com/moment/moment three.js https://github.com/mrdoob/three.js/ Select2 阅读全文
posted @ 2018-05-10 15:20 ChuckLu 阅读(412) 评论(0) 推荐(0) 编辑
摘要:http://lokeshdhakar.com/projects/lightbox2/ 简单的demo 在ascx中使用lightbox 阅读全文
posted @ 2018-05-09 17:53 ChuckLu 阅读(261) 评论(0) 推荐(0) 编辑
摘要:https://www.jianshu.com/p/8247a9401725 2.1 Script元素 https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script <script>定义了下列6个属性: async:可选。async 阅读全文
posted @ 2018-05-08 20:05 ChuckLu 阅读(293) 评论(0) 推荐(0) 编辑
摘要:http://www.w3school.com.cn/js/pro_js_implement.asp 出自《JavaScript高级程序设计(第3版)》 1.1 JavaScript简史 1997年,以JavaScript 1.1为蓝本的建议被提交给了欧洲计算机制造商协会(Ecma,European 阅读全文
posted @ 2018-05-08 19:17 ChuckLu 阅读(213) 评论(0) 推荐(0) 编辑
摘要:The installation was successful The following were installed at C:\Program Files\dotnet • .NET Core SDK 2.1.105 • .NET Core Runtime 2.0.7 • Runtime Pa 阅读全文
posted @ 2018-05-08 13:32 ChuckLu 阅读(216) 评论(0) 推荐(0) 编辑
摘要:https://devnet.kentico.com/articles/fighting-featuritis https://blog.intercom.com/product-strategy-means-saying-no/ https://en.wikipedia.org/wiki/Feat 阅读全文
posted @ 2018-05-08 10:25 ChuckLu 阅读(160) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/shanyou/p/8996748.html 阅读全文
posted @ 2018-05-07 09:32 ChuckLu 阅读(193) 评论(0) 推荐(0) 编辑
摘要:repent feel or express sincere regret or remorse about one's wrongdoing or sin. the priest urged his listeners to repent burden load mundane ordinary 阅读全文
posted @ 2018-05-05 15:21 ChuckLu 阅读(234) 评论(0) 推荐(0) 编辑
摘要:https://marketplace.visualstudio.com/items?itemName=DavidGardiner.ShowMissing2019 显示缺失的文件,包括在项目路径下,但是没有include的 https://marketplace.visualstudio.com/i 阅读全文
posted @ 2018-05-04 16:34 ChuckLu 阅读(476) 评论(0) 推荐(0) 编辑
摘要:https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie Domain=<domain-value> Optional Specifies those hosts to which the cookie will be 阅读全文
posted @ 2018-05-04 11:01 ChuckLu 阅读(523) 评论(0) 推荐(0) 编辑
摘要:How do browser cookie domains work? 答案一 Although there is the RFC 2965 (Set-Cookie2, had already obsoleted RFC 2109) that should define the cookie now 阅读全文
posted @ 2018-05-04 10:52 ChuckLu 阅读(230) 评论(0) 推荐(0) 编辑
摘要:http://docs.automapper.org/en/stable/Getting-started.html IMappingExpression<TSource, TDestination> CreateMap<TSource, TDestination>(MemberList member 阅读全文
posted @ 2018-05-02 10:03 ChuckLu 阅读(421) 评论(0) 推荐(0) 编辑

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