Docker启动容器报错。Error response from daemon: driver failed programming external connectivity on endpoint mysql3308 (9b142778c31ebc6d13e9c2e0feaa027fbb025c... ...
分类:
数据库 时间:
2020-12-01 12:26:21
阅读次数:
14
主键约束 SQL> alter table customers add constraint customers_pk primary key (customer_id); Table altered. col constraint_name for a30 col constraint_type ...
分类:
数据库 时间:
2020-12-01 12:20:58
阅读次数:
12
四轮车 car ##【题目描述】: 在地图上散落着 n 个车轮,小 J 想用它们造一辆车。要求如下: 1. 一辆车需要四个车轮,且四个车轮构成一个正方形 2. 车轮不能移动 你需要计算有多少种造车的方案(两个方案不同当且仅当所用车轮不全相同,坐标相同的两个车轮视为不同车轮)。 ##【输入描述】: 第 ...
分类:
其他好文 时间:
2020-12-01 12:20:27
阅读次数:
10
这个题目比较坑,没有描述清楚 create TABLE #TB ( ID INT, 科目 int, 成绩 int ) select * from #TB insert into #TB(ID,科目,成绩) select 1,66,66 union select 1,55,55 union selec ...
分类:
其他好文 时间:
2020-12-01 12:15:35
阅读次数:
4
{ "size": 0, "query": { "bool": { "filter": [ { "range": { "@timestamp": { "gte": 1596572166943, "lte": 1596593766943, "format": "epoch_millis" } } }, ...
分类:
其他好文 时间:
2020-12-01 12:04:43
阅读次数:
3
新生代垃圾收集器 1. Serial收集器 serial收集器即串行收集器,是一个单线程收集器。 串行收集器在进行垃圾回收时只使用一个CPU或一条收集线程去完成垃圾回收工作,并且会暂停其他的工作线程(stop the world),直至回收完成。适用于运行在client模式下的JVM。 在单CPU年 ...
分类:
其他好文 时间:
2020-12-01 11:55:56
阅读次数:
4
Elastic 默认是区分大小写查询的,比如: { "foo": "BÀR" } 查询的时候 通过“bar”是查询不到的,需要在 "settings": { "analysis": { "normalizer": { "my_normalizer": { "type": "custom", "fil ...
分类:
其他好文 时间:
2020-11-30 16:05:20
阅读次数:
5
sqlserver读取excel文件数据到数据库 1.sqlserver 读取 excel中的数据 SELECT * FROM OpenDataSource( ‘Microsoft.Jet.OLEDB.4.0’, ‘Data Source=“c:/book1.xls”;User ID=Admin;P ...
分类:
数据库 时间:
2020-11-30 15:51:12
阅读次数:
10
1)配置flume(flume-kafka.conf) # define a1.sources = r1 a1.sinks = k1 a1.channels = c1 # source a1.sources.r1.type = exec a1.sources.r1.command = tail -F ...
分类:
Web程序 时间:
2020-11-30 15:35:17
阅读次数:
9
web相关概念回顾 1. 软件架构 1. C/S:客户端/服务器端 2. B/S:浏览器/服务器端 2. 资源分类 1. 静态资源:所有用户访问后,得到的结果都是一样的,称为静态资源.静态资源可以直接被浏览器解析 * 如: html,css,JavaScript 2. 动态资源:每个用户访问相同资源 ...
分类:
其他好文 时间:
2020-11-30 15:19:17
阅读次数:
3