上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 118 下一页
摘要: 简单认识 k8s 集群中对资源管理和资源对象编排部署都可以通过声明样式( YAML)文件来解决, 也 就是可以把需要对资源对象操作编辑到YAML格式文件中, 一般使用 YAML 格式的文件来创建符合我们预期期望的 pod , 我们把这种文件叫做资源清单文件, 通过 kubectl 命令直接使用资源清 阅读全文
posted @ 2022-07-09 15:55 NAVYSUMMER 阅读(295) 评论(0) 推荐(0)
摘要: # 根据索引和条件查找 GET lc_auth_user/_search { "query": { "bool": { "must": [ {"term": { "username.keyword": { "value": "admin" } }}, { "term": { "client_id.k 阅读全文
posted @ 2022-06-25 00:19 NAVYSUMMER 阅读(88) 评论(0) 推荐(0)
摘要: #coding=utf-8 import datetime from datetime import timedelta now = datetime.datetime.now() #今天 today = now #昨天 yesterday = now - timedelta(days=1) #明天 阅读全文
posted @ 2022-06-14 22:05 NAVYSUMMER 阅读(43) 评论(0) 推荐(0)
摘要: def convert2tree(data): result = [] obj = {} for x in data: obj[x.get("id", "")] = x for x in data: parent_id = x.get("parent_id") if parent_id: paren 阅读全文
posted @ 2022-06-06 18:45 NAVYSUMMER 阅读(289) 评论(0) 推荐(0)
摘要: function CopyTable(tab) function _copy(obj) if type(obj) ~= "table" then return obj end local new_table = {} for k, v in pairs(obj) do new_table[_copy 阅读全文
posted @ 2022-06-04 16:29 NAVYSUMMER 阅读(53) 评论(0) 推荐(0)
摘要: main.cpp #include <istream> #include <opencv2/opencv.hpp> using namespace cv; using namespace std; Mat src, gray_src, dst; int threshold_value = 127; 阅读全文
posted @ 2022-06-04 13:00 NAVYSUMMER 阅读(48) 评论(0) 推荐(0)
摘要: main.cpp #include <istream> #include <opencv2/opencv.hpp> using namespace cv; using namespace std; int main(int argc, char **argv) { Mat src, up_dst, 阅读全文
posted @ 2022-05-26 22:05 NAVYSUMMER 阅读(90) 评论(0) 推荐(0)
摘要: main.cpp #include <istream> #include <opencv2/opencv.hpp> using namespace cv; using namespace std; int main(int argc, char **argv) { Mat src, gray_dst 阅读全文
posted @ 2022-05-26 21:26 NAVYSUMMER 阅读(144) 评论(0) 推荐(0)
摘要: main.cpp #include <istream> #include <opencv2/opencv.hpp> using namespace cv; using namespace std; int main(int argc, char **argv) { Mat src, open_dst 阅读全文
posted @ 2022-05-26 17:43 NAVYSUMMER 阅读(31) 评论(0) 推荐(0)
摘要: main.cpp #include <istream> #include <opencv2/opencv.hpp> using namespace cv; using namespace std; int main(int argc, char **argv) { Mat src, open_dst 阅读全文
posted @ 2022-05-26 17:20 NAVYSUMMER 阅读(31) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 118 下一页
交流群 编程书籍