上一页 1 2 3 4 5 6 7 8 ··· 35 下一页
摘要: 【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 翠微 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 【Git】合并远程和本地的多次提交 阅读全文
posted @ 2023-07-13 10:50 翠微 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 【Nginx】配置项说明 1、add_header X-Frame-Options 在 server 节点 页面不允许在frame中展示,即在相同域名的页面中嵌套也不允许 add_header X-Frame-Options 'DENY'; 页面可以在相同域名页面的frame中展示,正常情况下我们通 阅读全文
posted @ 2023-07-04 17:59 翠微 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 参考文档: https://blog.csdn.net/m0_56305656/article/details/121928757 阅读全文
posted @ 2023-07-04 10:08 翠微 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 【ElasticSearch】索引(删除) 阅读全文
posted @ 2023-06-17 16:18 翠微 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 增加字段 REST API 文档:https://www.elastic.co/guide/en/elasticsearch/reference/7.13/docs-reindex.html 准备一个空索引myindex PUT /myindex { "settings": { "number_of 阅读全文
posted @ 2023-06-17 16:18 翠微 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 1、REST API 文档:https://www.elastic.co/guide/en/elasticsearch/reference/7.13/indices-create-index.html ignore_above 默认值 256 settings 中的index可以去掉 "settin 阅读全文
posted @ 2023-06-17 16:17 翠微 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 接口接收文件@RequestParam("file") MultipartFile file MultipartFile转byte[] String name = file.getName(); String originalFilename = file.getOriginalFilename() 阅读全文
posted @ 2023-05-23 16:14 翠微 阅读(1063) 评论(0) 推荐(0) 编辑
摘要: 源码 安装必要的软件 yum -y install gcc cc cl pcre pcre-devel openssl openssl-devel zlib zlib-devel 下载解压源码 cd usr/local/src mkdir nginx cd nginx wget https://ng 阅读全文
posted @ 2023-05-17 16:18 翠微 阅读(6) 评论(0) 推荐(0) 编辑
摘要: spring: cloud: loadbalancer: retry: enabled: false gateway: globalcors: cors-configurations: '[/**]': allowedMethods: "*" allowedHeaders: "*" allowedO 阅读全文
posted @ 2023-04-20 11:21 翠微 阅读(16) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 35 下一页