mysql开启binlog模式 查看mysql是否开启binlog模式 SHOW VARIABLES LIKE ‘%log_bin%‘ </DI< div> 修改/etc/my.cnf 需要开启binlog模式 [mysqld] log-bin=mysql-bin binlog-format=ROW ...
分类:
其他好文 时间:
2020-12-09 11:33:40
阅读次数:
4
#GET my_store/_search{ "query": { "match_all": {} }}#添加索引PUT /test2{ "mappings": { "properties": { "name":{ "type": "text" }, "age":{ "type": "long" } ...
分类:
其他好文 时间:
2020-12-08 12:13:35
阅读次数:
4
1.变量 (1)规则 命名只能使用英文字母,数字和下划线,首个字符不能以数字开头 中间不能有空格,可以使用下划线(_) 不能使用标点符号 不能使用bash里的关键字(可使用help命令查看保留关键字) (2)定义与使用变量 只读变量 删除变量 注:不能删除只读变量 (3)变量类型 字符串:my_na ...
分类:
其他好文 时间:
2020-12-07 12:02:22
阅读次数:
4
PIE-Hyp参量反演 高光谱数据波谱分辨率高,可精确识别地物波谱特征,捕捉同种地物间微小差别,为地物的定量反演提供帮助,因而高光谱应用范围极其广泛。 在地质学领域中,矿物中金属离子Fe3+、Fe2+、Mn2+的电子跃迁在可见光、近红外光谱区域形成典型的光谱波形,矿物中官能团OH-、CO32-及Si ...
分类:
其他好文 时间:
2020-12-05 11:00:35
阅读次数:
7
def my_sum(x,y): return x+y res = my_sum(1,2) print(res) 函数对象 #函数名是第一类对象: 函数名指向的值可以被当作参数传递(类似于变量) name = 'syy' x = name print(x) #syy print(id(x)) #25 ...
分类:
其他好文 时间:
2020-12-04 11:03:30
阅读次数:
4
#include<iostream> #include<string> using namespace std; void getNext(string s, int *nex) { nex[0] = -1; int i = 0, j = -1; int len = s.length(); whil ...
分类:
其他好文 时间:
2020-12-01 12:22:41
阅读次数:
7
# which mysqld /usr/local/mysql/bin/mysqld # /usr/local/mysql/bin/mysqld --verbose --help | grep -A 1 "Default options" Default options are read from ...
分类:
其他好文 时间:
2020-12-01 12:17:06
阅读次数:
6
Blog 序 岁月如梭,韶光易逝,重回首,去时年,揽尽风雨苦亦甜。夜阑珊,读无眠,听尽春言,每天都是新的一片,不再清闲,望着洒满月光的星星一路向前。 来吧,新的旅程从更新开始! 关于友链 友链已经好啦,欢迎大家参观 \(My\) \(Friends'blog.\) 半笙、凡尘 今生有幸遇见小彬喔。 ...
分类:
其他好文 时间:
2020-12-01 12:11:17
阅读次数:
5
事件名字 组件上使用camelCase 名字的事件无法被kebab-case监听 this.$emit('myEvent'); <!-- 没有效果 --> <my-component v-on:my-event="doSomething"></my-componet> 始终使用 kebab-case ...
分类:
其他好文 时间:
2020-12-01 11:52:00
阅读次数:
4
Elastic 默认是区分大小写查询的,比如: { "foo": "BÀR" } 查询的时候 通过“bar”是查询不到的,需要在 "settings": { "analysis": { "normalizer": { "my_normalizer": { "type": "custom", "fil ...
分类:
其他好文 时间:
2020-11-30 16:05:20
阅读次数:
5