Loading

摘要: 猜随机数字 use std::cmp::Ordering; use std::io; use rand::Rng; fn main() { println!("guess the number!"); let secret_number = rand::thread_rng().gen_range( 阅读全文
posted @ 2025-06-04 21:34 suehoo 阅读(1) 评论(0) 推荐(0)
摘要: 身体稳定 胸部训练: 锁定肩胛骨(后缩+下压、上移、前伸) 哑铃卧推:1:锁定肩胛骨(后缩+下压)2、起桥 3、身体稳定 4、腹式呼吸节奏(呼推吸放) 5、手臂角度(拳头和乳头一个水平线)+前臂垂直地面 6、下方幅度 7、有意识手肘内夹 上斜哑铃卧推:1:锁定肩胛骨 2、不要起桥 3、身体稳定 4、 阅读全文
posted @ 2025-05-11 11:15 suehoo 阅读(5) 评论(0) 推荐(0)
摘要: 依赖注入 DI综合案例 需求说明 先建一个ConsoleMailSend总项目,然后建一个类库项目 声明一个接口: using System; using System.Collections.Generic; using System.Linq; using System.Text; using 阅读全文
posted @ 2025-03-10 23:06 suehoo 阅读(23) 评论(0) 推荐(0)
摘要: 依赖注入概念 概念 例子: 接口 两个实现类: using Microsoft.Extensions.DependencyInjection; namespace ioc1 { internal class Program { static void Main(string[] args) { Se 阅读全文
posted @ 2025-03-06 23:06 suehoo 阅读(6) 评论(0) 推荐(0)
摘要: CPU实现 CPU的数据通路 module CPU( input[15:0] inM, // M value input (M = contents of RAM[A]) instruction, // Instruction for execution input clock, reset, // 阅读全文
posted @ 2024-12-24 22:47 suehoo 阅读(29) 评论(0) 推荐(0)
摘要: 2024 ASP.NET Core 开发者路线图 阅读全文
posted @ 2024-12-21 11:08 suehoo 阅读(23) 评论(0) 推荐(0)
摘要: 门电路实现 与非门 可以使用两个NMOS管串联跟两个PMOS管并联构成: NMOS管是当gate输入高电压导通,PMOS管是当gate输入低电压的时候导通。 对于其他门电路: 等价电路:交换律、结合律、分配律、德摩根律、幂等律、双重否定律 与非门Verilog HDL表示 module Nand(i 阅读全文
posted @ 2024-12-15 20:49 suehoo 阅读(69) 评论(0) 推荐(0)
摘要: 改注册表无限试用 start.bat文件 @echo off setlocal enabledelayedexpansion chcp 65001 > nul REM 获取当前日期,格式为MM/dd/yyyy for /f "delims=" %%a in ('wmic OS Get localda 阅读全文
posted @ 2024-12-14 15:13 suehoo 阅读(1033) 评论(0) 推荐(0)
摘要: ALU实现 Or16way /** * 16-way Or: * out = (in[0] or in[1] or ... or in[15]) */ module Or16Way(input[15:0] in,output out); // your code here wire out1,out 阅读全文
posted @ 2024-12-10 00:05 suehoo 阅读(33) 评论(0) 推荐(0)
摘要: 你好哈哈 快乐每一天,加油 阅读全文
posted @ 2024-12-01 00:52 suehoo 阅读(18) 评论(0) 推荐(0)