#he

pt-online-schema-change的实现原理

pt-online-schema-change用于MySQL的在线DDL。下面结合官方文档和generallog来分析其实现原理。 测试表mysql>showcreatetablet2G***************************1.row***************************...

[C#] 使用 StackExchange.Redis 封装属于自己的 RedisHelper

目前.NET使用访问Redis的的类库主流应该是 StackExchange.Redis,自己参考网上的文章(也许是吃饱了撑着),也尝试做出简单的封装。///<summary>///Redis助手///</summary>publicclassRedisHelper{///<su...

SpringSecurity-UsernamePasswordAuthenticationFilter的作用

UsernamePasswordAuthenticationFilter应该是我们最关注的Filter,因为它实现了我们最常用的基于用户名和密码的认证逻辑。先看一下一个常用的form-login配置:1<form-loginlogin-page="/login"2username-parameter="ssoId...

SpringBoot+Mybatis+ Druid+PageHelper 实现多数据源并分页

本篇文章主要讲述的是SpringBoot整合Mybatis、Druid和PageHelper 并实现多数据源和分页。其中SpringBoot整合Mybatis这块,在之前的的一篇文章中已经讲述了,这里就不过多说明了。重点是讲述在多数据源下的如何配置使用Druid和PageHelper。在使用Druid之前,先...

where T : class的含义

publicvirtualvoidUpdate<T>(Tentity,IDbTransactiontransaction=null,int?commandTimeout=null)whereT:class{if(entity==null){thrownewArgumentNullException("ent...
IT猿 ·2020-03-28

两种应该掌握的排序方法--------1.shell Sort

先了解下什么都有什么排序算法 https://en.wikipedia.org/wiki/Sorting_algorithm  http://zh.wikipedia.org/zh/%E6%8E%92%E5%BA%8F%E7%AE%97%E6%B3%95http://student.zjz...

HelloWorld

  算算毕业也两个多月,工作一年多了.一直都是看别人的博客,自己很奇葩的把各种杂乱的知识记录在world上.后来在小本本几番挂掉之后想想还是要想办法备份下来,毕竟是自己学习成长的印记.写博客的灵感还有另一个,女票大学了还能一直保持写日记的习惯,这点比我强,应该向她学习.写写东西确实是好事,能让人沉淀.同事说过一句话,这...
IT猿 ·2020-03-27

HTML head元素

head标签中可以包含的标签元素有: <title>:定义html页面的标题 <meta>: <meta>标签提供了元数据.元数据也不显示在页面上,但会被浏览器解析。META元素通常用于指定网页的描述,关键词,文件的最后修改时间,作者,和其他元数据。元数...
IT猿 ·2020-03-27

vue watcher

虽然计算属性在大多数情况下更合适,但有时也需要一个自定义的watcher。这是为什么Vue提供一个更通用的方法通过watch 选项,来响应数据的变化。当你想要在数据变化响应时,执行异步操作或开销较大的操作,这是很有用的。例如:在这个示例中,使用 watch 选项允许我们执行异步操作(访问一...
IT猿 ·2020-03-27

dreamvc框架(三),dispartcher做了些什么

这一篇我会介绍一些dreamvc的核心类Dispatcher都做了些什么,首先我们先来看一看init方法,这是在DispatcherServlet和DispatcherFilter里面都会调用到的一个方法voidinit(FixableConfigconfig)throwsServletException{this.s...

Git does not apply deleted files when merging an old branch into the master. How can I tell Git to apply deleted files?

TheonlywayIcanfathomthispossiblesituationisifyoucreatedtwodifferentfiles,eachwiththesamefilename,inindependentbranches. 我遇到的情况的是Branch5和Branch6基于同一个commit出...

How to get the parents of a merge commit in git?

 gitrev-list--parents-n1uk-645ec1aaab4714f7b47136e1e43744a70fc11a9f0  【theidofcurrentcommit】f49cddd09d099ed3a04fe608c2b4fc3e159fbb47025a7525fabb4...

What is the difference between Clustered and Non-Clustered Indexes in SQL Server?

Fromthediscussionwefindfollowingdifferencesbetweenclusteredandnon-clusteredindexes.Therecanbeonlyoneclusteredindexpertable.However,youcancreatemultiplenon-clust...

How much business logic should be allowed to exist in the controller layer?

Aslittleaspossible.Preferablynone.Thecontrollershouldbeconcernedwithacceptingtherequest,askingthecorrectdomainservicetoprocesstherequest,andhandingofftherespons...

This request has been blocked because sensitive information could be disclosed to third party web sites when this is used in a GET request.

2020-03-1611:04:35,168ERROR[13]:System.InvalidOperationException:Thisrequesthasbeenblockedbecausesensitiveinformationcouldbedisclosedtothirdpartywebsiteswhenthi...
首页上一页...410411412413414...下一页尾页