摘要: 分为两部分,文件压缩/解压缩 和 文件校验。 1. 单文件压缩 1.1 自动tar # 其中 '*' 替换为'gz', 'bz2', 'xz'等. $ tar -acf hello.tar.* hello/ 1.2 gz $ tar -zcf hello.tar.gz hello/ 1.3 bz2 阅读全文
posted @ 2025-01-07 19:43 this毛豆 阅读(65) 评论(0) 推荐(0) 编辑
摘要: 平台:Windows 10 for x64. 主要流程:先介绍如何刷官方miui,然后,再介绍如何刷Lineage OS,这样出了问题,还可以刷回miui。 1. 搭建环境 首先安装ADB,Fastboot等应用和usb driver驱动,两种常用方法,任选其一: 1. 开发者安装Android S 阅读全文
posted @ 2025-01-02 20:06 this毛豆 阅读(53) 评论(0) 推荐(0) 编辑
摘要: 加密算法,这里分为4类: 非对称加密算法 对称加密算法 哈希功能算法 消息认证算法 非对称加密算法 1. Blum–Goldwasser (BG) cryptosystem Blum-Goldwasser 密码系统是一种概率公钥加密方案,由 Manuel Blum 和 Shafi Goldwasse 阅读全文
posted @ 2024-11-15 21:58 this毛豆 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 高通SNPE运行在Windows 11 for x64上的基础教程,相关软件自行下载,注意版本差异。 1. 平台 Windows 11 on x64 Powershell Visual Studio 2022 Python 3.10 Qualcomm Neural Processing SDK 2. 阅读全文
posted @ 2024-07-12 18:31 this毛豆 阅读(293) 评论(0) 推荐(0) 编辑
摘要: Host:Windows 11 Target: Ubuntu 22 on VirtualBox 原理:使用网络端口转发功能,把本地端口映射到虚拟机的22端口。 1. 配置端口转发 NAT网络模式下,依次点击:虚拟机 --> 网络 --> 适配器1 --> 高级 --> 端口转发。 2. 填写网络参数 阅读全文
posted @ 2024-05-29 11:13 this毛豆 阅读(506) 评论(0) 推荐(0) 编辑
摘要: 本例程使用清华镜像站提供的AOSP。 1. Android 镜像使用帮助 注意: 本镜像是 AOSP 镜像,Android SDK因版权原因,我们不能提供镜像服务。 可访问 <https://cs.android.com> 或 <https://github.com/aosp-mirror> 在线搜 阅读全文
posted @ 2024-05-15 11:05 this毛豆 阅读(114) 评论(0) 推荐(0) 编辑
摘要: AList是一个支持多种存储的文件列表程序,跨平台,开源免费。 官网:[https://alist.nn.ci/zh/] 开源地址:[https://github.com/alist-org/alist] alist支持挂载本地存储器和一些云盘(谷歌、百度、阿里云盘等),本教程在Ubuntu中,使用 阅读全文
posted @ 2024-04-22 17:37 this毛豆 阅读(3969) 评论(0) 推荐(1) 编辑
摘要: U-Boot Sandbox 是一个仿真平台,可以用来调试u-boot的非架构相关代码。 平台:ubuntu 22.04 for x86_64 1. 开发环境 Ubuntu 22.04 for x86_64. $ sudo apt update $ sudo apt install build-es 阅读全文
posted @ 2024-01-15 21:28 this毛豆 阅读(258) 评论(0) 推荐(0) 编辑
摘要: ARM v7处理器有9种模式(参考自官方文档): 模式 缩写 编码 特权级别 执行 安全状态 User usr 10000 PL0 Always Both FIQ fiq 10001 PL1 Always Both IRQ irq 10010 PL1 Always Both Supervisor s 阅读全文
posted @ 2024-01-03 16:35 this毛豆 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 本文中的双机调试是通过两个机器处于同一网络下,使用网网络进行调试,适用于两个物理机,或物理机和虚拟机组合等情况,以下是具体步骤: 1.host端,下载和安装Windows SDK; 2.host端,安装Windbg; 3.host端,在windbg安装目录找到如下文件: Debuggers\x64\ 阅读全文
posted @ 2023-12-28 17:52 this毛豆 阅读(392) 评论(0) 推荐(0) 编辑