摘要: Xget 正确使用指南:开发者资源加速全攻略 🚀 一、基础使用方法(新手必读) 1. URL 转换法(最简单) 访问官方转换器:https://xuc.xi-xu.me/ 步骤: 复制需要加速的原始 URL(如 GitHub 链接) 粘贴到转换器输入框 点击"转换"按钮 复制生成的 Xget 加速 阅读全文
posted @ 2026-02-08 21:47 pearlcity 阅读(9) 评论(0) 推荐(0)
摘要: `object` 和 `class` 的关键区别在于:**`class` 是蓝图,用于创建多个实例;而 `object` 是单一实体,本身就是一个唯一的、全局可用的实例**。 为了更直观地理解,我们先来看一个对比表格,然后进行详细解释。 ### `object` 和 `class` 主要区别对比 | 阅读全文
posted @ 2025-09-09 11:11 pearlcity 阅读(22) 评论(0) 推荐(0)
摘要: dependencies https://docs.platformio.org/en/latest/manifests/library-json/fields/dependencies.html johboh/nlohmann-json https://registry.platformio.or 阅读全文
posted @ 2024-10-23 12:33 pearlcity 阅读(111) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2024-09-30 19:33 pearlcity 阅读(68) 评论(0) 推荐(0)
摘要: 一、docker部署(已成功部署)(一)、生成基础镜像1、dockerfile文件 # 使用 Node.js v22的镜像作为基础latest FROM node:22 # 创建工作目录 WORKDIR /code # 复制package.json和package-lock.json到工作目录 CO 阅读全文
posted @ 2024-09-21 01:43 pearlcity 阅读(246) 评论(0) 推荐(0)
摘要: 1、vector是什么 在C++语言中,vector是一个动态数组容器,类似于Python中的list或JavaScript中的Array。vector容器提供了一系列常用操作,如插入元素、删除元素、访问元素等。 以下是一些常用的vector操作及其类比示例代码: 创建一个空的vector: std 阅读全文
posted @ 2024-09-11 20:48 pearlcity 阅读(52) 评论(0) 推荐(0)
摘要: 一、新建工程 一、ESP32查看调试信息的方法 |一、找不到头文件 设置文件位置 环境变量: //定义用于RTC_GPIO唤醒的IO,0b为二进制,“0010”为2^(gpio 1)的二进制数 //gpio0~3 为0b1111,即2^0+2^1+2^2+2^3=15的二进制数 const uint 阅读全文
posted @ 2024-08-31 21:03 pearlcity 阅读(216) 评论(0) 推荐(0)
摘要: 一、唤醒 在Arduino IDE框架中进行Arduino Uno开发时,可以使用SLEEP_MODE_PWR_DOWN模式来实现最深层次的休眠,以降低功耗。在这种模式下,Arduino Uno会关闭大部分微控制器功能,包括定时器中断,因此通常需要一个外部中断来唤醒设备。 为了使用一个按钮来唤醒Ar 阅读全文
posted @ 2024-08-11 14:16 pearlcity 阅读(334) 评论(0) 推荐(0)
摘要: 1、列表是否包含变量 JavaScript const isContained = array.includes(variable); Python isContained = variable in my_list Dart bool isContained = list.contains(var 阅读全文
posted @ 2024-07-25 07:14 pearlcity 阅读(46) 评论(0) 推荐(0)
摘要: flutter build apk --release android { ... signingConfigs { release { storeFile file('c:/users/your_name/key.jks') storePassword 'your_store_password' 阅读全文
posted @ 2024-07-24 23:44 pearlcity 阅读(51) 评论(0) 推荐(0)