51
Dev开发社区
首页
文章
问答
工具
搜索
登录
注册
#he
pt-online-schema-change的实现原理
pt-online-schema-change用于MySQL的在线DDL。下面结合官方文档和generallog来分析其实现原理。 测试表mysql>showcreatetablet2G***************************1.row***************************...
IT猿
·
2020-03-28
pt-online-schema-change
实现
原理
[C#] 使用 StackExchange.Redis 封装属于自己的 RedisHelper
目前.NET使用访问Redis的的类库主流应该是 StackExchange.Redis,自己参考网上的文章(也许是吃饱了撑着),也尝试做出简单的封装。///<summary>///Redis助手///</summary>publicclassRedisHelper{///<su...
IT猿
·
2020-03-28
使用
StackExchange.Redis
封装
属于
自己的
SpringSecurity-UsernamePasswordAuthenticationFilter的作用
UsernamePasswordAuthenticationFilter应该是我们最关注的Filter,因为它实现了我们最常用的基于用户名和密码的认证逻辑。先看一下一个常用的form-login配置:1<form-loginlogin-page="/login"2username-parameter="ssoId...
IT猿
·
2020-03-28
SpringSecurity-UsernamePasswordAuthenticationFilter
作用
SpringBoot+Mybatis+ Druid+PageHelper 实现多数据源并分页
本篇文章主要讲述的是SpringBoot整合Mybatis、Druid和PageHelper 并实现多数据源和分页。其中SpringBoot整合Mybatis这块,在之前的的一篇文章中已经讲述了,这里就不过多说明了。重点是讲述在多数据源下的如何配置使用Druid和PageHelper。在使用Druid之前,先...
IT猿
·
2020-03-28
SpringBoot+Mybatis+
Druid+PageHelper
实现
数据源
分页
where T : class的含义
publicvirtualvoidUpdate<T>(Tentity,IDbTransactiontransaction=null,int?commandTimeout=null)whereT:class{if(entity==null){thrownewArgumentNullException("ent...
IT猿
·
2020-03-28
where
class
含义
两种应该掌握的排序方法--------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...
IT猿
·
2020-03-27
两种
应该
掌握
排序
方法
HelloWorld
算算毕业也两个多月,工作一年多了.一直都是看别人的博客,自己很奇葩的把各种杂乱的知识记录在world上.后来在小本本几番挂掉之后想想还是要想办法备份下来,毕竟是自己学习成长的印记.写博客的灵感还有另一个,女票大学了还能一直保持写日记的习惯,这点比我强,应该向她学习.写写东西确实是好事,能让人沉淀.同事说过一句话,这...
IT猿
·
2020-03-27
HelloWorld
HTML head元素
head标签中可以包含的标签元素有: <title>:定义html页面的标题 <meta>: <meta>标签提供了元数据.元数据也不显示在页面上,但会被浏览器解析。META元素通常用于指定网页的描述,关键词,文件的最后修改时间,作者,和其他元数据。元数...
IT猿
·
2020-03-27
HTML
head
元素
vue watcher
虽然计算属性在大多数情况下更合适,但有时也需要一个自定义的watcher。这是为什么Vue提供一个更通用的方法通过watch 选项,来响应数据的变化。当你想要在数据变化响应时,执行异步操作或开销较大的操作,这是很有用的。例如:在这个示例中,使用 watch 选项允许我们执行异步操作(访问一...
IT猿
·
2020-03-27
vue
watcher
dreamvc框架(三),dispartcher做了些什么
这一篇我会介绍一些dreamvc的核心类Dispatcher都做了些什么,首先我们先来看一看init方法,这是在DispatcherServlet和DispatcherFilter里面都会调用到的一个方法voidinit(FixableConfigconfig)throwsServletException{this.s...
IT猿
·
2020-03-27
dreamvc
框架
dispartcher
做了
什么
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出...
IT猿
·
2020-03-27
Git
apply
deleted
files
does
How to get the parents of a merge commit in git?
gitrev-list--parents-n1uk-645ec1aaab4714f7b47136e1e43744a70fc11a9f0 【theidofcurrentcommit】f49cddd09d099ed3a04fe608c2b4fc3e159fbb47025a7525fabb4...
IT猿
·
2020-03-27
How
to
get
the
parents
What is the difference between Clustered and Non-Clustered Indexes in SQL Server?
Fromthediscussionwefindfollowingdifferencesbetweenclusteredandnon-clusteredindexes.Therecanbeonlyoneclusteredindexpertable.However,youcancreatemultiplenon-clust...
IT猿
·
2020-03-27
What
is
the
difference
between
How much business logic should be allowed to exist in the controller layer?
Aslittleaspossible.Preferablynone.Thecontrollershouldbeconcernedwithacceptingtherequest,askingthecorrectdomainservicetoprocesstherequest,andhandingofftherespons...
IT猿
·
2020-03-27
How
much
business
logic
should
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...
IT猿
·
2020-03-27
This
request
has
been
blocked
首页
上一页
...
410
411
412
413
414
...
下一页
尾页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他