03 2019 档案
摘要:Explanation of the UML arrows Here's some explanations from the Visual Studio 2015 docs: UML Class Diagrams: Reference: https://msdn.microsoft.com/lib
阅读全文
摘要:What is the difference between .NET Core and .NET Standard Class Library project types? Answer1 When should we use one over the other? The decision is
阅读全文
摘要:https://docs.microsoft.com/en-us/dotnet/api/system.io.fileattributes?view=netframework-4.7.2 读取FileAttributes 在桌面新建一个文件file-to-delete.txt,设置只读属性。先删除,然
阅读全文
摘要:https://csharpindepth.com/Articles/Singleton 懒汉,饿汉,以及双层锁之外 Fourth version - not quite as lazy, but thread-safe without using locks public sealed class
阅读全文
摘要:http://www.runoob.com/design-pattern/facade-pattern.html 外观模式 外观模式(Facade Pattern)隐藏系统的复杂性,并向客户端提供了一个客户端可以访问系统的接口。这种类型的设计模式属于结构型模式,它向现有的系统添加一个接口,来隐藏系统
阅读全文
摘要:https://www.codeproject.com/Articles/36836/Forms-Authentication-and-Role-based-Authorization Problem Space Sad, but true, “Forms authentication in ASP
阅读全文
摘要:https://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-howto-minlogmsgsize.html Force users to enter a log message Force users to enter a log messag
阅读全文
摘要:http://www.ruanyifeng.com/blog/2019/03/grid-layout-tutorial.html
阅读全文
摘要:https://www.codeproject.com/Reference/788434/List-of-rd-Party-NET-UI-Reporting-Components Introduction This is a resource collection. Anyone is welcom
阅读全文
摘要:1.配置错误,需要检查对应的windows service的exe文件所在文件夹下的log 2.在命令行通过Start-Service启动,需要有管理员权限。
阅读全文
摘要:https://clrdaily.com/2015/09/08/how-to-introduce-micro-service/
阅读全文
摘要:System.ServiceModel.FaultException: Server error. Detail: The EXECUTE permission was denied on the object 'sp', database 'login', schema 'dbo'. SELECT
阅读全文
摘要:https://unix.stackexchange.com/questions/288521/with-the-linux-cat-command-how-do-i-show-only-certain-lines-by-number To print one line (5) To print m
阅读全文
摘要:https://www.sherweb.com/blog/how-to-set-up-database-mail-for-sql-server-job-failures/ Configure Database Mail
阅读全文
摘要:https://www.elastic.co/guide/en/x-pack/current/setting-up-authentication.html Active Directory User Authentication 域账号集成 https://www.elastic.co/guide/
阅读全文
摘要:查询Index信息 GET /bank HTTP/1.1Host: localhost:9200 { "bank": { "aliases": {}, "mappings": { "_doc": { "properties": { "account_number": { "type": "long"
阅读全文
摘要:https://www.elastic.co/guide/en/kibana/6.6/tutorial-build-dashboard.html Building your own dashboard Ready to load some data and build a dashboard? Th
阅读全文
摘要:下载以及安装 https://www.elastic.co/downloads/kibana 1.Download and unzip Kibana 2. Open config/kibana.yml in an editor Set elasticsearch.hosts to point at
阅读全文
摘要:https://www.cnblogs.com/aresxin/p/8035137.html Elasticsearch是个开源分布式搜索引擎,提供搜集、分析、存储数据三大功能。它的特点有:分布式,零配置,自动发现,索引自动分片,索引副本机制,restful风格接口,多数据源,自动搜索负载等。 Lo
阅读全文
摘要:Configuring Logstash To configure Logstash, you create a config file that specifies which plugins you want to use and settings for each plugin. You ca
阅读全文
摘要:https://www.elastic.co/downloads/logstash 1.Download and unzip Logstash 2.Prepare a logstash.conf config file 3.Run bin/logstash -f logstash.conf 4.Di
阅读全文
摘要:https://stackoverflow.com/questions/672693/windows-batch-file-starting-directory-when-run-as-admin Better than cd is pushd which will change drive let
阅读全文
摘要:https://qualibrate.com/blog/quality-assurance/jmeter-module-controller/ 通过组合Test Fragments 和Module Controller来实现复用。 TestFragments和ThreadGroup在同一个level
阅读全文
摘要:Exploring Your Data Sample Dataset Now that we’ve gotten a glimpse of the basics, let’s try to work on a more realistic dataset. I’ve prepared a sampl
阅读全文
摘要:What are the differences between Flyweight and Object Pool patterns? They differ in the way they are used. Pooled objects can simultaneously be used b
阅读全文
摘要:https://www.elastic.co/guide/en/elasticsearch/reference/current/getting-started-modify-data.html Modifying Your Data Modifying Your Data Modifying You
阅读全文
摘要:How to remove the .NET Core Runtime and SDK https://docs.microsoft.com/en-us/dotnet/core/versions/remove-runtime-sdk-versions?tabs=windows Over time,
阅读全文
摘要:cluster_block_exception https://stackoverflow.com/questions/50609417/elasticsearch-error-cluster-block-exception-forbidden-12-index-read-only-all 在向in
阅读全文
摘要:如何清空View Results Tree 先选中目标view results tree,然后在菜单上选择Run-->Clear https://stackoverflow.com/questions/4899217/how-to-clear-the-results-in-aggregate-rep
阅读全文
摘要:104. Maximum Depth of Binary Tree Easy Easy Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest pa
阅读全文
摘要:Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree [1,2,2,3,4,4,3] is symmet
阅读全文
摘要:https://flywaydb.org/documentation/faq What is the best strategy for dealing with hot fixes? You have a regular release schedule, say once per sprint.
阅读全文
摘要:Baseline Baselines an existing database, excluding all migrations upto and including baselineVersion. Baseline is for introducing Flyway to existing d
阅读全文
摘要:This brief tutorial will teach how to get up and running with the Flyway Command-line tool. It will take you through the steps on how to configure it
阅读全文
摘要:https://flywaydb.org/documentation/migrations Overview With Flyway all changes to the database are called migrations. Migrations can be either version
阅读全文
摘要:The easiest scenario is when you point Flyway to an empty database. It will try to locate its schema history table. As the database is empty, Flyway w
阅读全文
摘要:https://flywaydb.org/getstarted/why First, let's start from the beginning and assume we have a project called Shiny and its primary deliverable is a p
阅读全文
摘要:https://flywaydb.org/documentation/ Flyway is an open-source database migration tool. It strongly favors simplicity and convention over configuration.
阅读全文
摘要:https://jmeter.apache.org/usermanual/test_plan.html This section describes the different parts of a test plan. A minimal test will consist of the Test
阅读全文
摘要:一共需要3个文件,把这3个文件放在一个路径下 UTF8NoBOM.bat 这个文件是为了调用ps1 pwsh -file "%cd%\UTF8NoBOM.ps1" UTF8NoBOM.ps1 这个文件是为了导入自定义的module,使用自定义module中定义的Powershell函数 Import
阅读全文
摘要:https://web.mit.edu/sp.268/www/rubik.pdf Introduction to Group Theory and Permutation Puzzles March 17, 2009 Introduction Almost everyone has tried to
阅读全文
摘要:https://docs.microsoft.com/en-us/powershell/gallery/getting-started https://www.powershellgallery.com/packages?q=PowerShell-Beautifier Get-PSRepositor
阅读全文
摘要:Auto Formatting PowerShell in Visual Studio Code 1.安装visual studio code 2.安装powershell extension 3.打开脚本文件 4.F1,然后输入format,找到format document的选项 但是这个用起来
阅读全文
摘要:在看https://github.com/PowerShell/PowerShell/releases的时候发现,已经发布了6.2.0的preview版本的情况下,还会继续发布6.1.3。 在ReadMe中,stable是6.1.3的版本。preview是6.2.0的版本。
阅读全文
摘要:Create Foreign Key Relationships Create a foreign key relationship in Table Designer Using SQL Server Management Studio In Object Explorer, right-clic
阅读全文
摘要:Given two binary trees, write a function to check if they are the same or not. Two binary trees are considered the same if they are structurally ident
阅读全文
摘要:Is it bad to rely on foreign key cascading? I'll preface前言 this by saying that I rarely delete rows period. Generally most data you want to keep. You
阅读全文
摘要:How can I list all foreign keys referencing a given table in SQL Server? how to check if columns in table was used as foreign key in other tables Not
阅读全文
摘要:Page是主表,主键是pageid;UserGroupPage表中的PageID字段是Page表里的数据。 https://www.codeproject.com/Questions/677277/I-am-getting-error-while-delete-entry You are tryin
阅读全文
摘要:Given a non-empty, singly linked list with head node head, return a middle node of linked list. If there are two middle nodes, return the second middl
阅读全文
摘要:https://docs.microsoft.com/en-us/dotnet/api/system.threading.tasks.valuetask-1?view=netcore-2.2 https://devblogs.microsoft.com/dotnet/understanding-th
阅读全文
摘要:https://cloud.tencent.com/developer/news/244102 https://mobaxterm.mobatek.net/ MobaXterm is your ultimate toolbox for remote computing. In a single Wi
阅读全文
摘要:https://forums.asp.net/t/1300113.aspx?SqlBulkCopy+Precision+Error+from+C+Double+to+Sql+Decimal+ Before I bulkcopy data into the database, I use DataTa
阅读全文
摘要:调整菜单语言 http://nimishprabhu.com/change-language-7-zip-software.html 从开始菜单启动7zip manager,然后在Tools-->Options中设置language 授予管理员权限 C:\ProgramData\Microsoft\
阅读全文
摘要:https://ridnt-b.blogspot.com/2018/01/adobe-reader-2018-free-download.html http://ardownload.adobe.com/pub/adobe/reader/win/AcrobatDC/1900820071/AcroRd
阅读全文
摘要:https://www.windowscentral.com/how-mount-or-unmount-iso-images-windows-10 You can also right-click the .iso file and click the Mount option. Once you'
阅读全文
摘要:https://help.github.com/en/articles/searching-issues-and-pull-requests 根据 reporter筛选issues https://help.github.com/en/articles/searching-issues-and-pu
阅读全文
摘要:https://docs.microsoft.com/en-us/sql/relational-databases/tables/specify-computed-columns-in-a-table?view=sql-server-2017 Before You Begin Limitations
阅读全文
摘要:$ git push v5 v5/hotfix/5.1:hotfix/5.1-quartzerror: The destination you provided is not a full refname (i.e.,starting with "refs/"). We tried to guess
阅读全文
摘要:https://jmeter.apache.org/usermanual/get-started.html 1.0 Overview When using JMeter you will usually follow this process: 1.0.1 Test plan building To
阅读全文
摘要:Write a function to delete a node (except the tail) in a singly linked list, given only access to that node. Given linked list -- head = [4,5,1,9], wh
阅读全文
摘要:Remove all elements from a linked list of integers that have value val. Example: 如果第一个数字,就需要删除,那么需要重置head。所以自己构建1个myHead。 Remove all elements from a l
阅读全文
摘要:https://martinfowler.com/articles/injection.html 翻译版本 控制反转容器&依赖注入模式 One of the entertaining things about the enterprise Java world is the huge amount
阅读全文
摘要:Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. Example 1: Example 2:
阅读全文
摘要:Given a sorted linked list, delete all duplicates such that each element appear only once. Example 1: Example 2: 分析,因为是sorted的list。所以,重复的数字,会是连续的。 只需要
阅读全文
摘要:https://troubleshooter.xyz/wiki/fix-the-application-has-failed-to-start-because-the-side-by-side-configuration-is-incorrect/ 1. C:\WINDOWS\system32>Sx
阅读全文
摘要:Google Chrome Update Patches Zero-Day Actively Exploited in the Wild 如果有同事使用google Chrome浏览器的话,请检查版本是否升级到最新72.0.3626.121,如果没有的话请升级到最新的版本,有什么问题的话请联系我们,
阅读全文
摘要:decimal d2 = 0.0000002500m; Console.WriteLine(d2.ToString()); double d3 = 0.0000002500; Console.WriteLine(d3.ToString()); 输出结果是, 0.00000025002.5E-07 d
阅读全文
摘要:https://gist.github.com/shaunlebron/746476e6e7a4d698b373 1.普通的换行 在文本结束后面,加2个空格 2.段落之间的换行 使用反斜杠\
阅读全文
摘要:卸载enterprise版本 Microsoft.FSharp.SDK.Core卸载失败Package 'Microsoft.FSharp.SDK.Core,version=15.7.20180605.5' failed to uninstall. Search URL https://aka.ms
阅读全文
摘要:Version 直接对localhost:9200发出一个get请求 { "name": "WqeJVip", "cluster_name": "elasticsearch", "cluster_uuid": "BcCJ0AuOTCyD6RYSBCEACA", "version": { "numbe
阅读全文
摘要:查看版本 C:\WINDOWS\system32>curl --versioncurl 7.64.0 (x86_64-pc-win32) libcurl/7.64.0 (OpenSSL/1.1.1b) Schannel zlib/1.2.11 brotli/1.0.7 WinIDN libssh2/
阅读全文
摘要:https://stackoverflow.com/questions/34491244/environment-variable-is-too-large-on-windows-10 方案1 When PATH variable gets overloaded with too many valu
阅读全文
摘要:使用everything搜索本地的curl.exe发现如下 官网查看最新版本https://curl.haxx.se/windows/ 2019-03-06 最新版本7.64.0 curl-7.64.0_1-win64-mingw.zip Size: 3.1 MB sha256: e835a5c7c
阅读全文
摘要:https://www.elastic.co/solutions/logging The Elastic Stack (sometimes known as the ELK Stack) is the most popular open source logging platform. Here's
阅读全文
摘要:https://github.com/elastic/elasticsearch Getting Started First of all, DON’T PANIC. It will take 5 minutes to get the gist of what Elasticsearch is al
阅读全文
摘要:https://stackoverflow.com/questions/13532447/http-error-500-19-iis-7-5-error-0x8007000d It seems you are using the url rewrite functionality. Please m
阅读全文
摘要:在powershell中执行 Get-ChildItem IIS:\AppPools | where {$_.state -eq "Stopped"} | Start-WebAppPool 需要确保以下2个service是启动的 Start-Service WAS (windows process
阅读全文
摘要:文件编码 使用code page来标记的,没有找到utf8 without bom 换行
阅读全文
摘要:https://social.msdn.microsoft.com/Forums/sqlserver/en-US/3569bd60-1299-4fe4-bfa1-d77ffa3e579f/insert-into-with-not-exists?forum=transactsql 错误的语法 方案1,
阅读全文
摘要:日志路径 %SystemDrive%\inetpub\logs\LogFiles https://stackify.com/where-are-iis-log-files-located/ Where Are IIS Log Files Located for IIS 7.0+? 1. From W
阅读全文
摘要:Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. Example:
阅读全文
摘要:https://answers.microsoft.com/en-us/windows/forum/windows_7-performance/several-service-control-manager-issues-event-ids/5eb047bb-e5bf-47b3-a661-299f6
阅读全文
摘要:https://github.com/RSuter/NJsonSchema/wiki/JsonSchemaGenerator#integer-vs-string-enumerations Integer vs string enumerations JSON Schema supports inte
阅读全文
摘要:https://github.com/git-for-windows/git/issues/1854 https://github.com/git-for-windows/git/pull/1902/files 分了2步操作,第一步是git reset,第二部是git cherry-pick --c
阅读全文