摘要: 在线的 离线的自用之后的体验 主要关注易用性,持久性,价格敏感 Logseq: 软件在github上开源,文档都是本地的markdown文件形式。工作上用它记了差不多一年,双向链接功能很好用。card和画板功能我没怎么用。因为同步不方便/记录需要先组织好逻辑,逐渐放弃 Notion: 白嫖了一个教育 阅读全文
posted @ 2024-01-26 23:05 Jneeee 阅读(96) 评论(0) 推荐(0) 编辑
摘要: Thanks for comments. I have tested the perform between these: ``` import timeit def using_is_none(variable): return variable is None def using_if_not_ 阅读全文
posted @ 2023-08-12 10:24 Jneeee 阅读(74) 评论(0) 推荐(0) 编辑
摘要: Rust 社区的代码准则,因为写的比较好被到处引用。原文在 https://www.rust-lang.org/policies/code-of-conduct 这里贴个 ChatGpt 的翻译 1. 我们致力于为所有人提供友好、安全和热情的环境,无论其经验水平、性别认同和表达、性取向、残疾、个人外 阅读全文
posted @ 2023-07-21 23:22 Jneeee 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 以前一直以为清华 tuna 镜像是他们学校自己搞得,虽然比较全但肯定没阿里腾讯云带宽高。 今天看到 alpine 统计的镜像站数据:https://mirrors.alpinelinux.org/ 10Gbps 带宽的中国镜像有: - mirrors.tuna.tsinghua.edu.cn - m 阅读全文
posted @ 2023-07-21 23:17 Jneeee 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 某平台的 NAT MV ![](https://img2023.cnblogs.com/blog/1311407/202306/1311407-20230605205249533-1824907054.png) ## 1 安装 alpine 挑战 alpine DVD 启动顺序,启动后通过链接 VN 阅读全文
posted @ 2023-06-05 21:06 Jneeee 阅读(18) 评论(0) 推荐(0) 编辑
摘要: Windmill https://www.windmill.dev/ 是个把脚本做成 workflow 的平台,源代码开源,和现在的低代码、微搭的概念有点像。又像 AWS 函数流,创建一个脚本可以通过各种触发器、定时器、webhook 去触发执行。以解决下面几种需求。 有一些定时任务脚本。你想方便地 阅读全文
posted @ 2023-04-10 17:37 Jneeee 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 1 如果字典里一个键指向一个实例,深拷贝会拷贝出一个新的实例吗? 不会: class foo: def __init__(self): print('do init foo') a = {'cls': foo()} a # do init foo {'cls': <__main__.foo at 0 阅读全文
posted @ 2023-02-05 14:29 Jneeee 阅读(20) 评论(0) 推荐(0) 编辑
摘要: Create registered limit using cURL 1. Get token ref to https://docs.openstack.org/api-ref/identity/v3/index.html?expanded=create-registered-limits-det 阅读全文
posted @ 2023-01-30 21:23 Jneeee 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 我希望创建一个 api-gateway httpapi,把 $default 路由全发给一个lambda函数。 SAM配置: ... Events: ExplicitApi: # warning: creates a public endpoint Type: HttpApi Properties: 阅读全文
posted @ 2022-12-04 17:32 Jneeee 阅读(64) 评论(0) 推荐(0) 编辑
摘要: dynamodb = boto3.resource('dynamodb') 是boto3 的高级接口,更底层的有: import boto3 dynamodb_client = boto3.client('dynamodb') res = dynamodb_client.list_tables() 阅读全文
posted @ 2022-11-20 10:46 Jneeee 阅读(144) 评论(0) 推荐(0) 编辑