会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
bitterteaer
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
18
下一页
2023年9月22日
如何设置SSH远程连接docker容器
摘要: @https://blog.csdn.net/hwijew/article/details/88171749 @https://blog.csdn.net/lhyhaiyan/article/details/128546411 安装ssh server apt-get update apt-get
阅读全文
posted @ 2023-09-22 18:51 bitterteaer
阅读(94)
评论(0)
推荐(0)
2023年9月19日
Manager 层,通用业务处理层
摘要: @https://blog.csdn.net/yangshangwei/article/details/123260787
阅读全文
posted @ 2023-09-19 11:11 bitterteaer
阅读(33)
评论(0)
推荐(0)
2023年9月18日
Python 压缩图片至指定大小
摘要: @https://www.cnblogs.com/jum-bolg/p/13796595.html import base64 import io import os from PIL import Image from PIL import ImageFile # 压缩图片文件,改变尺寸 def
阅读全文
posted @ 2023-09-18 14:18 bitterteaer
阅读(274)
评论(0)
推荐(0)
2023年9月17日
Zuul服务网关
摘要: 
阅读全文
posted @ 2023-09-17 21:53 bitterteaer
阅读(17)
评论(0)
推荐(0)
elasticsearch
摘要: 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 --
阅读全文
posted @ 2023-09-17 18:55 bitterteaer
阅读(16)
评论(0)
推荐(0)
2023年9月15日
Adding API Key Authentication to a FastAPI application
摘要: 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
阅读全文
posted @ 2023-09-15 16:29 bitterteaer
阅读(168)
评论(0)
推荐(0)
js 利用正则表达式统计中文字符 size
摘要: export default { counts_zh_str (str) { str = str.replace(/[^\x00-\xff]/g, "00") return str.length } }
阅读全文
posted @ 2023-09-15 14:15 bitterteaer
阅读(24)
评论(0)
推荐(0)
js es6 实现 sleep 阻塞
摘要: export default { async sleep(time){ return new Promise((resolve) => setTimeout(resolve, time)); } }
阅读全文
posted @ 2023-09-15 14:13 bitterteaer
阅读(120)
评论(0)
推荐(0)
2023年9月14日
fastapi设置响应示例
摘要: class Test(BaseModel): name: str description: int created_at: str updated_at: str data: dict @validator("data", pre=True) def parse_data(cls, value):
阅读全文
posted @ 2023-09-14 14:16 bitterteaer
阅读(33)
评论(0)
推荐(0)
docker镜像加速
摘要: vi /etc/docker/daemon.json #编辑此文件,添加以下文件 { "registry-mirrors": [ "https://docker.mirrors.ustc.edu.cn", "https://registry.docker-cn.com", "http://hub-m
阅读全文
posted @ 2023-09-14 10:01 bitterteaer
阅读(20)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
18
下一页
公告