上一页 1 2 3 4 5 6 7 8 ··· 37 下一页
摘要: 【html】JavaScript操作dom 阅读全文
posted @ 2024-04-01 14:26 谷粒-笔记 阅读(9) 评论(0) 推荐(0)
摘要: REST API { "query": { "bool": { "must": [ { "term": { "sqStatus": { "value": 3, "boost": 1 } } }, { "script": { "script": { "source": "if (doc['finish 阅读全文
posted @ 2024-01-31 15:53 谷粒-笔记 阅读(43) 评论(0) 推荐(0)
摘要: Base64 转码btoa():任意值转为 Base64 编码atob():Base64 编码转为原来的值 function b64Encode(str) { return btoa(encodeURIComponent(str)); } function b64Decode(str) { retu 阅读全文
posted @ 2024-01-10 16:24 谷粒-笔记 阅读(305) 评论(0) 推荐(0)
摘要: URL编码 https://www.iamwawa.cn/urldecode.html 空格 %20 或 + :冒号 %3A /斜杠 %2F RFC3986 协议对 URL 的编解码问题做出了详细的建议,指出了哪些字符需要被编码才不会引起 URL 语义的转变,以及对为什么这些字符需要编码做出了相应的 阅读全文
posted @ 2024-01-10 15:09 谷粒-笔记 阅读(90) 评论(0) 推荐(0)
摘要: REST API Java Client BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery(); boolQueryBuilder.must(QueryBuilders.termQuery("enable", 1)); final 阅读全文
posted @ 2024-01-03 11:35 谷粒-笔记 阅读(115) 评论(0) 推荐(0)
摘要: 【OpenGauss】CentOS安装 1、关闭防火墙 修改 vim /etc/selinux/config SELINUX=disabled # 禁止自动启动 systemctl disable firewalld.service # 停止防火请 systemctl stop firewalld. 阅读全文
posted @ 2023-11-28 15:59 谷粒-笔记 阅读(211) 评论(0) 推荐(0)
摘要: # Disabling symbolic-links is recommended to prevent assorted security risks #symbolic-links=0 # Settings user and group are ignored when systemd is u 阅读全文
posted @ 2023-11-22 10:34 谷粒-笔记 阅读(58) 评论(0) 推荐(0)
摘要: 【CentOS7】安装ffmpeg 编译器 yum -y install gcc cc cl 下载解压yasm cd /ycx wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz tar -zxvf yasm-1. 阅读全文
posted @ 2023-11-22 10:30 谷粒-笔记 阅读(110) 评论(0) 推荐(0)
摘要: 1、单个删除文档 rest api DELETE myindex/_doc/1 java client DeleteRequest deleteRequest = new DeleteRequest(index, ElasticsearchConstants.INDEX_TYPE, id); del 阅读全文
posted @ 2023-11-11 10:46 谷粒-笔记 阅读(175) 评论(0) 推荐(0)
摘要: 1、单个更新文档 rest api POST myindex/_update/1 { "doc": { "name": "Smith" } } 不存在则添加,存在则更新 POST myindex/_update/2 { "upsert": { "name": "Alice Smith" } } ja 阅读全文
posted @ 2023-11-11 10:45 谷粒-笔记 阅读(130) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 37 下一页