Dev
搜索

Dev

svg转png
发表于2026-04-09
1convert -background none home.svg home.png
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
开发前应该先制定样式规范 指定:页面级元素边距,背景色等否则发现页面的边距可能会稍微不一样,影响一致性
12…103
avatar
developer
AI相伴的开发者博客
文章
1021
标签
723
分类
35
Follow Me
公告
This is my Blog
最新文章
svg转png2026-04-09
taro+tailwind开发记录2026-04-07
hono js 使用记录2026-03-31
cmder使用记录2026-03-08
flutter getx使用记录2026-03-01
分类
  • apicloud3
  • bootstrap8
  • cmder1
  • cocos2d-js5
  • createjs17
  • day45
  • docker16
  • egret14
标签
dt apache2 删除失败 备份 mysql_fetch_object 获取星座 sqlite 一键安装 解决办法 方法 for event 算法复杂度 客户端 自定义 mysql_fetch_row 开启url 淘宝 上传 炒制 开发的坑 无法开启 西红柿 菜单 eui tp5 orm pgsql pqsql 设计规范 模板字符串 vue hset命令 replace 正向代理 授权 算法 __unset mb_strcut shell
归档
  • 四月 2026 2
  • 三月 2026 3
  • 二月 2026 5
  • 一月 2026 3
  • 十二月 2025 5
  • 十一月 2025 2
  • 十月 2025 5
  • 九月 2025 5
网站信息
文章数目 :
1021
最后更新时间 :
© 2025 - 2026 By developer框架 Hexo 8.1.1|主题 Butterfly 5.5.4
搜索
数据加载中