会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
书山有路勤为径,学海无涯苦作舟(肖建锋)
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
···
24
下一页
2022年6月30日
html加水印背景
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>页面添加水印</title> <script src="https://s3.pstatp.com/cdn/expire-1-M/jquery/3.3.1/jq
阅读全文
posted @ 2022-06-30 09:25 肖建锋
阅读(221)
评论(0)
推荐(0)
2022年6月10日
elasticsearch 聚合+排序
摘要: 聚合的两种排序方式 1. 按组内字段排序: 分组后按组内数据某个字段进行排序 2. 按聚合后指标排序: 分组聚合后按照聚合后的某个新指标字段进行排序 案例: 按组内字段排序 AggregationBuilder aggregation = AggregationBuilders .terms("ag
阅读全文
posted @ 2022-06-10 16:58 肖建锋
阅读(761)
评论(0)
推荐(0)
2022年6月6日
npm配置nexu私服地址
摘要: 现在公司内外配置nexus, 前端开发尽量使用公司私服, 减少构建时间。 npm install -g cnpm --registry=https://registry.npmmirror.com npm config set registry https://registry.npmmirror.
阅读全文
posted @ 2022-06-06 18:01 肖建锋
阅读(366)
评论(0)
推荐(0)
2022年4月18日
vue中el-checkbox-group无法选中
摘要: 原因:vue中给对象新增属性直接用=赋值方式,虽然可以新增属性,但是不会触发视图更新 例如定义了temp对象在操作过程中又新增了b属性 data () { return { temp: { a: '' } } } //直接赋值不会触发视图更新 this.temp.b= 24 可以新增属性,但是不会触
阅读全文
posted @ 2022-04-18 12:40 肖建锋
阅读(1416)
评论(0)
推荐(0)
2022年3月14日
elasticsearch 修改默认最大分片数
摘要: curl -XPUT -H "Content-Type:application/json" http://localhost:9200/_cluster/settings -d '{"transient":{"cluster":{"max_shards_per_node":10000}}}'
阅读全文
posted @ 2022-03-14 14:15 肖建锋
阅读(358)
评论(0)
推荐(0)
elasticsearch 自允许动创建索引
摘要: curl -XPUT -H "Content-Type:application/json" http://localhost:9200/_cluster/settings -d '{"persistent":{"action.auto_create_index":"true"}}'
阅读全文
posted @ 2022-03-14 14:14 肖建锋
阅读(813)
评论(0)
推荐(0)
查找磁盘下文件超过100M大小的所有文件
摘要: [root@localhost /]# find /hytd -type f -size +100M -print0|xargs -0 du -h
阅读全文
posted @ 2022-03-14 10:31 肖建锋
阅读(172)
评论(0)
推荐(0)
2021年9月7日
页面轮播
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"/> <title>Swiper demo</title> <meta name="viewport" content="width=device-width, initial-
阅读全文
posted @ 2021-09-07 18:17 肖建锋
阅读(57)
评论(0)
推荐(0)
2021年7月15日
Linux中挂载新的磁盘到指定目录或分区
摘要: 新增磁盘的设备文件名为 /dev/vdb 大小为100GB。 #fdisk -l 查看新增的的磁盘 1、对新增磁盘进行分区 #fdisk /dev/vdb 按提示操作 p打印 n新增 d 删除 w操作生效 q退出 操作后 w #partprobe 强制让内核重新找一次分区表(更新分区表) 这里我们新
阅读全文
posted @ 2021-07-15 10:50 肖建锋
阅读(663)
评论(0)
推荐(0)
2021年6月15日
使用maven插件构建docker镜像并推送到阿里镜像仓库
摘要: 1、阿里云镜像仓库 阿里云提供了docker镜像仓库,可以上传私有的镜像 2、com.spotify 提供的docker构建插件 docker-maven-plugin <plugin> <groupId>com.spotify</groupId> <artifactId>docker-maven-
阅读全文
posted @ 2021-06-15 17:25 肖建锋
阅读(1319)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
24
下一页