摘要:
@https://blog.csdn.net/hwijew/article/details/88171749 @https://blog.csdn.net/lhyhaiyan/article/details/128546411 安装ssh server apt-get update apt-get 阅读全文
摘要:
@https://blog.csdn.net/yangshangwei/article/details/123260787 阅读全文
摘要:
@https://www.cnblogs.com/jum-bolg/p/13796595.html import base64 import io import os from PIL import Image from PIL import ImageFile # 压缩图片文件,改变尺寸 def 阅读全文
摘要:
![image](https://img2023.cnblogs.com/blog/2450939/202309/2450939-20230917215306668-958228145.png) 阅读全文
摘要:
docker docker run -d --name elasticsearch -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" elasticsearch:7.8.0 docker run -d --name kibana -- 阅读全文
摘要:
https://joshdimella.com/blog/adding-api-key-auth-to-fast-api Step 1: Define a List of Valid API Keys API_KEYS = [ "9d207bf0-10f5-4d8f-a479-22ff5aeff8d 阅读全文
摘要:
export default { counts_zh_str (str) { str = str.replace(/[^\x00-\xff]/g, "00") return str.length } } 阅读全文
摘要:
export default { async sleep(time){ return new Promise((resolve) => setTimeout(resolve, time)); } } 阅读全文
摘要:
class Test(BaseModel): name: str description: int created_at: str updated_at: str data: dict @validator("data", pre=True) def parse_data(cls, value): 阅读全文
摘要:
vi /etc/docker/daemon.json #编辑此文件,添加以下文件 { "registry-mirrors": [ "https://docker.mirrors.ustc.edu.cn", "https://registry.docker-cn.com", "http://hub-m 阅读全文