Yes, even though they probably certainly know that you probabaly wouldn't, they don't certainly know that although you probably wouldn't, there's no p ...
分类:
其他好文 时间:
2020-08-10 19:47:20
阅读次数:
112
WindowManager显示负坐标,需要设置LayoutParamsflag为FLAG_LAYOUT_NO_LIMITSLayoutParamstype为2007以上PopupWindow也是设置WindowManager的,查看了内部代码,.要设置flag为FLAG_LAYOUT_NO_LIMITS,则需要在setContentView之前设置thissetClippingEnabled(fa
mysql 5.7密码策略修改 1、查看当前的密码策略 show variables like 'validate_password%'; 2、密码策略的各项值 validate_password_dictionary_file:密码策略文件,策略为STRONG才需要 validate_passwo ...
分类:
数据库 时间:
2020-08-08 21:22:09
阅读次数:
98
什么是索引 在现实生活中,我们经常去图书馆查阅图书。现在我们将所有图书杂乱无章的摆放在一起,那么找一本书就像大海捞针一样效率非常低。如果我们按分类整理排序后,根据类别去找对应的图书那么效率就很高了。其实这个过程就是在建立索引。 查看mysql中语句执行效率 show variables like ' ...
分类:
数据库 时间:
2020-08-08 17:46:39
阅读次数:
87
链接:https://leetcode-cn.com/problems/lru-cache/ 代码 /* * @lc app=leetcode.cn id=146 lang=cpp * * [146] LRU缓存机制 */ // @lc code=start class LRUCache { pub ...
分类:
其他好文 时间:
2020-08-08 17:39:19
阅读次数:
63
织梦副栏目 dede:list 和 dede:arclist 调用问题,网上都是说 dede:arclist 的,而且都不正确的。看了官方代码dedecms程序默认是没有用到typeid2副栏目,其他地方有用like模糊匹配,字符串中没有分隔符,我们用Find_IN_SET 精确匹配,字段值以英文,... ...
分类:
其他好文 时间:
2020-08-08 17:33:26
阅读次数:
59
一、redis集群节点修改 #添加和删除节点的流程 1.新节点添加槽位 2.源节点中的数据进行迁移 3.源节点数据迁移完毕 4.迁移下一个槽位的数据,依次循环 1.添加节点 1)准备新机器 [root@db02 ~]# mkdir /service/redis/{6381,6382} [root@d ...
分类:
其他好文 时间:
2020-08-07 21:42:57
阅读次数:
70
https://www.cnblogs.com/yeungchie/ code ;创建一个选项A A = hiCreateMenuItem( ?name 'A ?itemText "A" ) ;创建一个选项B B = hiCreateMenuItem( ?name 'B ?itemText "B" ...
分类:
其他好文 时间:
2020-08-06 23:16:26
阅读次数:
127
原文:https://blog.csdn.net/weixin_42114097/article/details/88229140 select * from user where username like CONCAT('%',#{username},'%') ...
分类:
数据库 时间:
2020-08-06 11:53:11
阅读次数:
76