04 2023 档案

摘要:var officegen = require('officegen'); var fs = require('fs'); var path = require('path'); var docx = officegen('docx'); docx.on('finalize', function ( 阅读全文
posted @ 2023-04-21 23:00 NAVYSUMMER 阅读(604) 评论(0) 推荐(0)
摘要:1.官网地址,去官网下载ffmpeg源码 https://ffmpeg.org 2.安装ffmpeg基础依赖 sudo apt-get update sudo apt-get install build-essential yasm texi2html libvorbis-dev libmp3lam 阅读全文
posted @ 2023-04-21 18:14 NAVYSUMMER 阅读(132) 评论(0) 推荐(0)
摘要:#include <opencv2/opencv.hpp> #include <iostream> #include <thread> using namespace cv; using namespace std; void getCameraInfo(int cameraId) { VideoC 阅读全文
posted @ 2023-04-19 15:17 NAVYSUMMER 阅读(1280) 评论(0) 推荐(0)
摘要:# 不带密码认证的 docker run --name pypi --restart always -p 8080:8080 -d pypiserver/pypiserver -P . -a . # 带密码认证的 docker run --name pypi --restart always -v 阅读全文
posted @ 2023-04-11 22:47 NAVYSUMMER 阅读(180) 评论(0) 推荐(0)
摘要:def es_mapping2dict(mapping): mapping_dict = dict() if isinstance(mapping, dict): if "properties" in mapping: for k, v in mapping.get("properties").it 阅读全文
posted @ 2023-04-08 01:30 NAVYSUMMER 阅读(15) 评论(0) 推荐(0)
摘要:def data2single_dict(source): stack = [(source, "")] result = {} while stack: obj, parent_name = stack.pop() if isinstance(obj, dict): for k, v in obj 阅读全文
posted @ 2023-04-08 00:31 NAVYSUMMER 阅读(12) 评论(0) 推荐(0)
摘要:def es_mapping2dict(mapping): mapping_dict = dict() if isinstance(mapping, dict): if "properties" in mapping: for k, v in mapping.get("properties").it 阅读全文
posted @ 2023-04-07 23:18 NAVYSUMMER 阅读(11) 评论(0) 推荐(0)
摘要:def convert_query(query): """ Convert Elasticsearch query to use keyword and text fields appropriately """ if isinstance(query, dict): for key, value 阅读全文
posted @ 2023-04-07 23:13 NAVYSUMMER 阅读(104) 评论(0) 推荐(0)

交流群 编程书籍