会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
pearlcity
博客园
首页
新随笔
联系
订阅
管理
2025年9月9日
java、Kotlin、Exposed ORM经验
摘要: `object` 和 `class` 的关键区别在于:**`class` 是蓝图,用于创建多个实例;而 `object` 是单一实体,本身就是一个唯一的、全局可用的实例**。 为了更直观地理解,我们先来看一个对比表格,然后进行详细解释。 ### `object` 和 `class` 主要区别对比 |
阅读全文
posted @ 2025-09-09 11:11 pearlcity
阅读(21)
评论(0)
推荐(0)
2024年10月23日
PlatformIO ESP32经验
摘要: 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
阅读(95)
评论(0)
推荐(0)
2024年9月30日
全家桶 win激活教程
摘要:
阅读全文
posted @ 2024-09-30 19:33 pearlcity
阅读(67)
评论(0)
推荐(0)
2024年9月21日
hyper-express + prisma nodejs编程
摘要: 一、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
阅读(215)
评论(0)
推荐(0)
2024年9月11日
C++编程 有web框架:matt-42/lithium
摘要: 1、vector是什么 在C++语言中,vector是一个动态数组容器,类似于Python中的list或JavaScript中的Array。vector容器提供了一系列常用操作,如插入元素、删除元素、访问元素等。 以下是一些常用的vector操作及其类比示例代码: 创建一个空的vector: std
阅读全文
posted @ 2024-09-11 20:48 pearlcity
阅读(39)
评论(0)
推荐(0)
2024年8月31日
esp32 platformio
摘要: 一、新建工程 一、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
阅读(201)
评论(0)
推荐(0)
2024年8月11日
Arduino IDE框架 Arduino Uno
摘要: 一、唤醒 在Arduino IDE框架中进行Arduino Uno开发时,可以使用SLEEP_MODE_PWR_DOWN模式来实现最深层次的休眠,以降低功耗。在这种模式下,Arduino Uno会关闭大部分微控制器功能,包括定时器中断,因此通常需要一个外部中断来唤醒设备。 为了使用一个按钮来唤醒Ar
阅读全文
posted @ 2024-08-11 14:16 pearlcity
阅读(287)
评论(0)
推荐(0)
2024年7月25日
动态语言常用操作-python、JavaScript、flutter(dartf)
摘要: 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
阅读(33)
评论(0)
推荐(0)
2024年7月24日
编译发布安卓app
摘要: 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
阅读(40)
评论(0)
推荐(0)
2024年4月10日
HyperExpress经验
摘要: 一、HyperExpress链接https://gitee.com/gridsoft/hyper-express#/gridsoft/hyper-express/blob/master/docs/Router.md 二、错误处理中间件的示例: const express = require('exp
阅读全文
posted @ 2024-04-10 10:59 pearlcity
阅读(315)
评论(0)
推荐(0)
下一页
公告