Zookeeper到底是干嘛的 Zookeeper到底是干嘛的 在Zookeeper的官网上有这么一句话:ZooKeeper is a centralized service for maintaining configuration information, naming, providing d ...
分类:
其他好文 时间:
2019-08-14 12:45:41
阅读次数:
56
开启认证: 在配置文件里新增一行 auth = true 创建用户: 1.创建语法:createUser 2.{user:"<name>", pwd:"<cleartext password>", customData:{<any information>}, roles:[{role:"<role ...
分类:
数据库 时间:
2019-08-13 22:52:26
阅读次数:
192
package com.information.util.quartz; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Objects; /** * 日期转换cron表达式 * @author A... ...
分类:
编程语言 时间:
2019-08-10 19:40:32
阅读次数:
624
为什么会404NotFound Internet Information Services (IIS) 第一步:安装 "IIS UrlRewrite" 第二步:配置重写URL规则 在你的网站根目录中创建一个 文件,内容如下: 配置完成后,在IIS上的URL 重写页面可以看见配置好的 或者,直接在II ...
分类:
其他好文 时间:
2019-08-10 14:20:24
阅读次数:
83
链接: https://vjudge.net/problem/HDU 4289 题意: You, the head of Department of Security, recently received a top secret information that a group of terror ...
分类:
其他好文 时间:
2019-08-10 13:50:14
阅读次数:
88
题意:给你一棵树,要选择若干节点,若一个点i没有选择,则有$d(dis(i,j))$的代价,其中j被选择。选择一个点代价为k,求最小代价。 首先,考虑这样一个问题: 如果距离a的最近被选点为i,距离b的最近被选点也是i,那么a到b的路径上的点的最近被选点都是i。 考虑一条链:设Ax是链上第x个点,那 ...
分类:
其他好文 时间:
2019-08-09 23:49:38
阅读次数:
116
https://www.jianshu.com/p/403d6ad11e30 最近使用git pull的时候多次碰见下面的情况: There is no tracking information for the current branch. Please specify which branch ...
分类:
其他好文 时间:
2019-08-09 23:18:51
阅读次数:
163
#字典的镶嵌 dic={"name":["apple","banana","grape"], "information":{1:"sweet",2:"delisious",3:"sour"}, "hobby":"fruit", "age":18 } print(dic) print(dic["nam... ...
分类:
其他好文 时间:
2019-08-08 12:58:17
阅读次数:
72
1. select all table 2. select all column name from table 3. get column type 4. select table that have some column select t.TABLE_NAME from INFORMATION ...
分类:
数据库 时间:
2019-08-07 14:41:25
阅读次数:
126
Level of Qustion:Finish: * easily** trouble(麻烦)***hard(Need check book or other information)Not:+ easy understand&after look can code by myself++ hard ...
分类:
其他好文 时间:
2019-08-06 14:18:52
阅读次数:
120