02 2024 档案

摘要:def merge(lists): list.sort(key=lamba x: x[0]) merges = [] for l in list: if not merges or l[0] > merges[-1][1] merges.append(l) else: merges[-1][1] = 阅读全文
posted @ 2024-02-28 20:01 干炸小黄鱼 阅读(19) 评论(0) 推荐(0) 编辑
摘要:import time class LocalStrategy: def execute(self): print("this is a local 104 execute") class SaasStrategy: def execute(self): print("this is a saas 阅读全文
posted @ 2024-02-28 19:57 干炸小黄鱼 阅读(3) 评论(0) 推荐(0) 编辑
摘要:import time class Observer: def __init__(self, name) -> None: self.name = name def update(self, message): print("name %s received message: %s" % (self 阅读全文
posted @ 2024-02-28 19:57 干炸小黄鱼 阅读(2) 评论(0) 推荐(0) 编辑
摘要:启动测试应用时, 有时需要自己配置证书签名: 1 使用系统自带openssl openssl req \ > -x509 \ > -nodes \ > -days 365 \ > -newkey rsa:2048 \ > -keyout example.key \ > -out example.cr 阅读全文
posted @ 2024-02-23 11:09 干炸小黄鱼 阅读(431) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示