会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
waketzheng
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
2024年9月5日
YOLOv8 detect person only
摘要: demo.py from io import BytesIO from pathlib import Path # pip install opencv-python pillow ultralytics import cv2 from PIL import Image from ultralyti
阅读全文
posted @ 2024-09-05 18:49 waketzheng
阅读(119)
评论(0)
推荐(0)
2024年8月20日
Install clickhouse and configure mysql sync
摘要: Verify support https://bbs.huaweicloud.com/blogs/369216 grep -q sse4_2 /proc/cpuinfo && echo "SSE 4.2 supported" || echo "SSE 4.2 not supported" Insta
阅读全文
posted @ 2024-08-20 10:06 waketzheng
阅读(86)
评论(0)
推荐(0)
2024年8月19日
使用duckdb加载mysql
摘要: 安装duckdb https://duckdb.org/docs/installation/index 加载mysql扩展 https://duckdb.org/docs/extensions/mysql.html 离线安装的话,可以等INSTALL mysql;超时后,根据它提示的URL到有网环境
阅读全文
posted @ 2024-08-19 12:17 waketzheng
阅读(931)
评论(0)
推荐(0)
2024年8月11日
python asyncio grpc
摘要: 1. 准备环境 python3.11 -m venv venv source venv/*/activate pip install grpcio-tools #包含了grpcio和protobuf pip install types-protobuf grpc-stubs # 可选安装,用于myp
阅读全文
posted @ 2024-08-11 12:27 waketzheng
阅读(153)
评论(0)
推荐(0)
2024年7月25日
python之七彩进度条rich.progress
摘要: Spinner 中国有七彩云南,Python有七彩进度条rich.progress.Progress #!/usr/bin/env python from contextlib import contextmanager from typing import Generator # pip inst
阅读全文
posted @ 2024-07-25 18:37 waketzheng
阅读(198)
评论(0)
推荐(0)
2024年7月23日
使用ublacklist屏蔽某度
摘要: 谷歌浏览器,已升级到最新版,uBlacklist插件也已安装 设置如下: 内容: baidu.com *://*.baidu.com/* tieba.baidu.com *.baidu.*/ 勾选要启用的搜索引擎: 启用后效果如下: 点开发现确实屏蔽掉某度了,感觉整个世界瞬间清净晒: 惜秦皇汉武,略
阅读全文
posted @ 2024-07-23 16:36 waketzheng
阅读(166)
评论(0)
推荐(0)
2024年7月15日
asyncio/trio fastdfs python client
摘要: Code ts.py #!/usr/bin/env python """ FastDFS并发测试脚本 Usage:: $ python <me>.py 200 --show """ import functools import itertools import json import os imp
阅读全文
posted @ 2024-07-15 20:07 waketzheng
阅读(52)
评论(0)
推荐(0)
2024年6月21日
nginx fastdfs https
摘要: compile ./configure --prefix=/usr/local/nginx \ --with-http_v3_module \ --with-http_v2_module \ --with-cc-opt="-I../boringssl/include" \ --with-ld-opt
阅读全文
posted @ 2024-06-21 17:31 waketzheng
阅读(22)
评论(0)
推荐(0)
2024年6月20日
fastapi文档加锁
摘要: Install pip install 'fastapi-cdn-host>=0.5.2' Code import fastapi_cdn_host from fastapi import FastAPI app = FastAPI( openapi_url="/api/v1/openapi.jso
阅读全文
posted @ 2024-06-20 15:12 waketzheng
阅读(88)
评论(0)
推荐(0)
2024年6月13日
fastapi-pagination高级用法
摘要: 祥开龙角应三农,小队旌旗猎猎风。 models.py class Group(Model): id = IntField(pk=True) name = CharField(max_length=10) class User(Model): id = IntField(pk=True) group
阅读全文
posted @ 2024-06-13 15:53 waketzheng
阅读(565)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告