摘要: 💻 环境配置指南 1. 安装 Scoop (Windows 包管理器) 在 非管理员终端 执行以下命令进行 Scoop 的安装: 1.1. 设置执行策略并安装 # 设置执行策略为 RemoteSigned,仅对当前用户有效 Set-ExecutionPolicy -ExecutionPolicy 阅读全文
posted @ 2025-10-24 11:18 phrink 阅读(5) 评论(0) 推荐(0)
摘要: 打开无线调试模式 会看到 IP 地址和端口 : 192.168.AAAA 使用配对码配对设备: 打开有WLAN配对码:xxx ,IP 地址和端口:xxx 在命令行里 #connect 第一个IP 地址和端口 建立信任关系 adb connect 192.168.AAA #connect第二个 adb 阅读全文
posted @ 2025-10-10 18:37 phrink 阅读(22) 评论(0) 推荐(0)
摘要: 1打开无线调试模式 会看到 IP 地址和端口 : 192.168.AAAA 使用配对码配对设备: 打开有WLAN配对码:xxx ,IP 地址和端口:xxx 在命令行里 #connect 第一个IP 地址和端口 建立信任关系 adb connect 192.168.AAA #connect第二个 ad 阅读全文
posted @ 2025-10-10 13:43 phrink 阅读(17) 评论(0) 推荐(0)
摘要: 看一个cpp的例子 考虑以下的代码类似ls的代码minils.c #include <dirent.h> //包含使用的Opendir readdir closedir 函数 #include <error.h> #include <stdio.h> #include <string.h> #inc 阅读全文
posted @ 2025-10-10 09:55 phrink 阅读(10) 评论(0) 推荐(0)
摘要: 9.16 修复报错字体大小bug 补充日志 TeXmacs/progs/debug/debug-widgets.scm 修改build-message 为以下 (define (build-message m) (let* ((k (tm->stree (tm-ref m 0))) (s (utf8 阅读全文
posted @ 2025-09-16 17:45 phrink 阅读(11) 评论(0) 推荐(0)
摘要: vscode 常用默认快捷键 1、工作区快捷键 Mac 快捷键 Win 快捷键 作用 备注 Cmd + Shift + P Ctrl + Shift + P 显示命令面板 F1 Cmd + B Ctrl + B 显示/隐藏侧边栏 很实用 Cmd + \ Ctrl + \ 拆分为多个编辑器 【重要】写 阅读全文
posted @ 2025-08-04 10:01 phrink 阅读(189) 评论(0) 推荐(0)
摘要: chp5 改动的代码文件和注释 5.1 wait用于等待任意一个子进程,waitpid用于等待特定子进程 /// 等待任意一个子进程 pub fn wait(exit_code: &mut i32) -> isize { loop { match sys_waitpid(-1, exit_code 阅读全文
posted @ 2025-04-15 22:24 phrink 阅读(23) 评论(0) 推荐(0)
摘要: 最近常用网站 opencamp:https://github.com/LearningOS/rust-based-os-comp2025/blob/main/2025-spring-scheduling-2.md 调节bilibili倍速,开发者模式控制台输入以下命令 document.queryS 阅读全文
posted @ 2025-03-30 23:02 phrink 阅读(18) 评论(0) 推荐(0)
摘要: bilibili本地监听失败,使用第三方推流 #终端管理员下操作 #1. netstat -aon|findstr "1935" #2. #检查ESTABLIESHED后面的数字,任务管理器查找pid #然后结束该任务的运行 #3.停止和重启 net stop winnat net start wi 阅读全文
posted @ 2025-03-30 19:49 phrink 阅读(371) 评论(0) 推荐(0)
摘要: CXX 常见快速类型转换 1.int ->string #include <string> #include <iostream> int num = 123; std::string str = std::to_string(num); std::cout << str << std::endl; 阅读全文
posted @ 2025-03-30 18:51 phrink 阅读(10) 评论(0) 推荐(0)