摘要: pip list|grep celery celery 5.5.1 celery-types 0.23.0 app/celery_app.py import functools from redis import StrictRedis from celery import Celery MQ_UR 阅读全文
posted @ 2025-04-23 10:30 waketzheng 阅读(28) 评论(0) 推荐(0)
摘要: Command pipx install "supervisor @ git+ssh://git@github.com/waketzheng/supervisor.git" Generate supervisord config echo_supervisord_conf > supervisord 阅读全文
posted @ 2025-04-18 18:28 waketzheng 阅读(16) 评论(0) 推荐(0)
摘要: 最新代码可以这样下载: curl https://gh-proxy.com/raw.githubusercontent.com/waketzheng/carstino/main/pip_conf.py -o pip_conf.py && python pip_conf.py aliyun --uv 阅读全文
posted @ 2025-04-01 11:31 waketzheng 阅读(300) 评论(0) 推荐(0)
摘要: HTML <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" conten 阅读全文
posted @ 2025-03-06 17:27 waketzheng 阅读(21) 评论(0) 推荐(0)
摘要: 首先安装和启动docker 然后创建容器: MySQL filename: begin_mysql_server_in_docker.sh content docker run -d -p 3306:3306 --name mysql_latest -e MYSQL_ROOT_PASSWORD=12 阅读全文
posted @ 2024-11-20 15:23 waketzheng 阅读(120) 评论(0) 推荐(0)
摘要: How to 1. export uv export --frozen --no-hashes -o dev_requirements.txt --frozen表示只输出txt,不更新uv.lock文件 2. create venv and install pip uv venv --python 阅读全文
posted @ 2024-10-29 10:05 waketzheng 阅读(199) 评论(0) 推荐(0)
摘要: Pass test in MacOS/Ubuntu22/CentOS7: export PLUGIN="zsh-autosuggestions" ([[ -f $PLUGIN.tar.xz ]] && tar xf $PLUGIN.tar.xz) || ([[ -f $PLUGIN-master.z 阅读全文
posted @ 2024-10-15 17:08 waketzheng 阅读(32) 评论(0) 推荐(0)
摘要: 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 阅读(94) 评论(0) 推荐(0)
摘要: 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 阅读(80) 评论(0) 推荐(0)
摘要: 安装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 阅读(849) 评论(0) 推荐(0)