Dev
搜索

Dev

taro+tailwind开发记录
发表于2026-04-07
版本 taro 4 tailwind 3 (当前节点我发现ai对3更熟悉) 安装 先安装taro https://docs.taro.zone/docs/GETTING-STARTED 配置tailwind https://tw.icebreaker.top/docs/quick-start/install#taro 注意 当前scss版本不建议使用@import,而应该使用@use引入tailwind的样式
hono js 使用记录
发表于2026-03-31|ts
OpenAPIHono遇到的问题1234567891011121314151617181920const getChatRoute = createRoute({ method: 'get', path: '/chat', request: { query: z.object({ question: z.string().min(1, 'Question is required'), }), }, responses: { 200: { description: '成功返回AI回答', content: { 'application/json': { schema: ChatResponseSchema, }, }, }, },...
cmder使用记录
发表于2026-03-08|cmder
中文字体重叠默认条件下我发现cmder有时候会中文字体重叠 设置-通用-字体取消勾选Compress long strings to fit space
flutter getx使用记录
发表于2026-03-01|flutter
全局注册1234567void main() async { await GetStorage.init(); await Get.put(DeviceController(), permanent: true).ensureInitialized(); Get.lazyPut(() => AuthController()); Get.lazyPut(() => LoginDialogController(), fenix: true); runApp(const MainApp());} fenix参数是让这个控制器销毁后恢复之前的状态,取了一个很好的名字:凤凰 页面注入通过binding可以注入,这样的好处是在页面打开时候他会自动创建,等页面退出他会自动销毁 12345678GetPage( name: AppRoutes.talentApply, page: () => const TalentApplyScreen(), binding: BindingsBuilder(() { ...
统计代码行数
发表于2026-02-27|git
1git ls-files "lib/*.dart" | xargs wc -l 还有专用工具 12sudo apt install cloccloc application/
php easywechat 6.x 微信支付 手动解密
发表于2026-02-25|php
123456789101112131415161718192021222324252627282930313233$raw = '{ "id": "c4d4f8ec-8b57-5880-b86e-c007bb148124", "create_time": "2026-02-24T23:51:27+08:00", "resource_type": "encrypt-resource", "event_type": "TRANSACTION.SUCCESS", "summary": "支付成功", "resource": { "original_type": "transaction", "algorithm"...
php 反引号 执行shell脚本
发表于2026-02-25|php
php中使用反引号包裹里面的内容会被当作脚本执行,并返回,类似shell_exec,非常方便 12$raw = `ls -lha`;dd($raw);
mysql使用记录
发表于2026-02-19|mysql
mysql查看binlog文件列表1SHOW BINARY LOGS; 清理binlog1PURGE BINARY LOGS BEFORE NOW(); 设置日志时间12SHOW VARIABLES LIKE 'expire_logs_days';SET GLOBAL expire_logs_days = 7;
flutter开发流程
发表于2026-02-08
开发前应该先制定样式规范 指定:页面级元素边距,背景色等否则发现页面的边距可能会稍微不一样,影响一致性
react native 0.83 turbo modules 安卓 使用记录
发表于2026-01-10|day
结论总的来说能用,但是官方文档不是很全,基本靠猜 生成步骤定义接口在specs目录下创建一个接口定义 12345678910import type { TurboModule } from 'react-native/Libraries/TurboModule/RCTExport';import { TurboModuleRegistry } from 'react-native';// 定义模块的接口export interface Spec extends TurboModule { // 显示简单弹窗 showAlert(title: string, message: string): void;}export default TurboModuleRegistry.getEnforcing<Spec>('NativeAlert'); 添加配置在packege.json中增加 12345678"codegenConfig...
12…102
avatar
developer
AI相伴的开发者博客
文章
1020
标签
721
分类
35
Follow Me
公告
This is my Blog
最新文章
taro+tailwind开发记录2026-04-07
hono js 使用记录2026-03-31
cmder使用记录2026-03-08
flutter getx使用记录2026-03-01
统计代码行数2026-02-27
分类
  • apicloud3
  • bootstrap8
  • cmder1
  • cocos2d-js5
  • createjs17
  • day45
  • docker16
  • egret14
标签
备份 bug SSL 部分产品对比 utf8 常用算法 nginx ffmpeg 占位符 swarm 效果 等工具 1 语法高亮 conda jssdk ibdata1 模板字符串 读取 模型初始化 wp_filter 启动 数据不更新问题 腾讯云 nginx日志 获取 恢复 我的全新开始 指定目录 无法开启 文件 攻击 M方法 macos 工作模式 laravel trait 播放声音 tsc版本不同 workerman
归档
  • 四月 2026 1
  • 三月 2026 3
  • 二月 2026 5
  • 一月 2026 3
  • 十二月 2025 5
  • 十一月 2025 2
  • 十月 2025 5
  • 九月 2025 5
网站信息
文章数目 :
1020
最后更新时间 :
© 2025 - 2026 By developer框架 Hexo 8.1.1|主题 Butterfly 5.5.4
搜索
数据加载中