会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
bitterteaer
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
6
7
8
9
10
11
12
13
14
···
18
下一页
2023年6月19日
git回滚!!!线上遇到问题紧急救援
摘要: 一、打开Git Bash Here输入git reflog ```sh //输入命令 git reflog //得到以下历史提交记录 4d3221f (HEAD -> dev, origin/dev) HEAD@{13}: commit: 拓扑图配色优化 fa646fe HEAD@{14}: com
阅读全文
posted @ 2023-06-19 12:56 bitterteaer
阅读(33)
评论(0)
推荐(0)
2023年6月17日
Git:解决报错:fatal: The remote end hung up unexpectedly
摘要: 问题描述:Git在推送项目时报错:fatal: The remote end hung up unexpectedly。 问题原因:推送的文件太大。 解决方法: ### 1.修改设置git config文件的postBuffer的大小。(设置为500MB) ```sh $ git config --
阅读全文
posted @ 2023-06-17 12:57 bitterteaer
阅读(775)
评论(0)
推荐(0)
2023年6月13日
fastapi ResponseModel
摘要: ```python from pydantic import BaseModel class ResponseModel(BaseModel): code: int = 200 msg: str = "" success: bool = True data: dict = None class Ta
阅读全文
posted @ 2023-06-13 12:48 bitterteaer
阅读(24)
评论(0)
推荐(0)
2023年5月8日
在一个进程中通过队列的方式缓存opencv视频帧,并在另一个进程中读取
摘要: import _thread import queue import time import cv2 from flask import Flask, Response app = Flask(__name__) max_size = 3 q1 = queue.Queue(maxsize=max_s
阅读全文
posted @ 2023-05-08 11:28 bitterteaer
阅读(227)
评论(0)
推荐(0)
在python中将opencv读取到的视频数据发布为ros话题,并在ros中能够通过rqt显示出来
摘要: import cv2 import rospy from sensor_msgs.msg import Image from cv_bridge import CvBridge, CvBridgeError # Initialize ROS node rospy.init_node('video_p
阅读全文
posted @ 2023-05-08 11:06 bitterteaer
阅读(200)
评论(0)
推荐(0)
2023年5月7日
超级详细的Lua语言的基础教程
摘要: https://blog.csdn.net/qq_43594278/article/details/116018869
阅读全文
posted @ 2023-05-07 13:38 bitterteaer
阅读(14)
评论(0)
推荐(0)
python asyncio
摘要: 例子 import asyncio async def main(): print("hello") await asyncio.sleep(1) print("world") asyncio.run(main()) 主要函数 task = asyncio.create_tas() res = aw
阅读全文
posted @ 2023-05-07 13:36 bitterteaer
阅读(19)
评论(0)
推荐(0)
yazi框架学习笔记
摘要: 主线程 监听和建立客户端的连接 接收客户端的请求数据,创建一个任务,该任务携带请求数据,并把该任务放入任务队列 告诉分发线程,有请求任务过来了,叫他赶紧去处理 重复上面三个步骤 注意:主线程不处理具体请求 分发线程 查看任务队列,看是否有请求任务?没有任务则继续睡觉,否则把任务取出来,然后分发给线程
阅读全文
posted @ 2023-05-07 13:30 bitterteaer
阅读(159)
评论(0)
推荐(0)
(select poll epoll)-图解
摘要: 
阅读全文
posted @ 2023-05-07 13:17 bitterteaer
阅读(22)
评论(0)
推荐(0)
2023年5月5日
deepsort主要代码
摘要: app.py import json import os import time import numpy as np import requests import objtracker from exts import passers_by_requests_post, video_post, d
阅读全文
posted @ 2023-05-05 14:33 bitterteaer
阅读(132)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
11
12
13
14
···
18
下一页
公告