会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
谷粒-笔记
无中生有是本质,物极必反是规律
博客园
首页
管理
上一页
1
2
3
4
5
6
7
8
9
···
37
下一页
2023年11月11日
【ElasticSearch】文档(添加)单个和批量
摘要: 创建空索引 PUT myindex { "settings": { "number_of_shards": 1, "number_of_replicas": 1 }, "mappings": { "properties": { "name": { "type": "keyword", "ignore
阅读全文
posted @ 2023-11-11 10:44 谷粒-笔记
阅读(203)
评论(0)
推荐(0)
2023年11月9日
【Java Web】从配置修改静态变量
摘要: 对象 @ConfigurationProperties(prefix = "system-upload-prefix") @Configuration @RefreshScope @Data public class SystemUploadPrefix { private String uploa
阅读全文
posted @ 2023-11-09 18:33 谷粒-笔记
阅读(72)
评论(0)
推荐(0)
2023年11月8日
【Java SE】String.format格式化
摘要: String.format 1、字符串左对齐,不足10位的右侧补空格:[123 ] String.format("%-10s", "123"); 2、字符串右对齐,不足10位的左侧补空格:[ 123] String.format("%10s", "123"); 3、整数格式化10位,不足左侧补0:[
阅读全文
posted @ 2023-11-08 13:31 谷粒-笔记
阅读(163)
评论(0)
推荐(0)
2023年9月4日
【CentOS7】rsync文件同步
摘要: 【CentOS7】rsync文件同步
阅读全文
posted @ 2023-09-04 14:58 谷粒-笔记
阅读(16)
评论(0)
推荐(0)
2023年8月9日
【Java Web】行锁for update
摘要: 【Java Web】行锁for update begin; select * from system_role where id_ = '1626887644786495491' for update; update system_role set version_ = 0 where id_ =
阅读全文
posted @ 2023-08-09 21:56 谷粒-笔记
阅读(56)
评论(0)
推荐(0)
2023年8月3日
【C】结构体 struct
摘要: 格式 struct 名称 struct Rectangle { int width; int height; }; int area(struct Rectangle rectangle); int area(struct Rectangle rectangle) { return rectangl
阅读全文
posted @ 2023-08-03 22:55 谷粒-笔记
阅读(29)
评论(0)
推荐(0)
2023年7月25日
【RabbitMQ】禁用AMQP配置中的明文身份验证机制
摘要: 【RabbitMQ】禁用AMQP配置中的明文身份验证机制 1、生成rabbitmq证书 #克隆生成证书的仓库到/ycx目录 git clone --depth 1 https://github.com/Berico-Technologies/CMF-AMQP-Configuration.git cd
阅读全文
posted @ 2023-07-25 10:57 谷粒-笔记
阅读(1516)
评论(0)
推荐(0)
2023年7月20日
【Rust】IO操作
摘要: 【Rust】IO操作 1、控制台读取一行字符串 let mut line = String::new(); std::io::stdin() .read_line(&mut line) .expect("Failed to read line");
阅读全文
posted @ 2023-07-20 14:37 谷粒-笔记
阅读(45)
评论(0)
推荐(0)
2023年7月13日
【Git】合并远程和本地的多次提交
摘要: 【Git】合并远程和本地的多次提交
阅读全文
posted @ 2023-07-13 10:50 谷粒-笔记
阅读(21)
评论(0)
推荐(0)
2023年7月4日
【Nginx】配置项说明
摘要: 【Nginx】配置项说明 1、add_header X-Frame-Options 在 server 节点 页面不允许在frame中展示,即在相同域名的页面中嵌套也不允许 add_header X-Frame-Options 'DENY'; 页面可以在相同域名页面的frame中展示,正常情况下我们通
阅读全文
posted @ 2023-07-04 17:59 谷粒-笔记
阅读(26)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
37
下一页