上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 35 下一页
摘要: 音频DSP库:fundsp https://github.com/SamiPerttu/fundsp 命令行工具:uwuifyy https://github.com/sgoudham/uwuifyy 搜索引擎:Meilisearch https://github.com/meilisearch M 阅读全文
posted @ 2022-02-05 21:29 翠微 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 包(Packages): Cargo 的一个功能,它允许你构建、测试和分享 crate。Crates :一个模块的树形结构,它形成了库或二进制项目。模块(Modules)和 use: 允许你控制作用域和路径的私有性。路径(path):一个命名例如结构体、函数或模块等项的方式 创建一个库 cargo 阅读全文
posted @ 2022-02-04 18:27 翠微 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 2021.1.1 <component name="RunDashboard"> <option name="configurationTypes"> <set> <option value="SpringBootApplicationConfigurationType" /> </set> </o 阅读全文
posted @ 2022-01-27 20:30 翠微 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 【Spring Boot】启动时执行:CommandLineRunner、ApplicationRunner 和 ApplicationListener 阅读全文
posted @ 2022-01-21 11:27 翠微 阅读(196) 评论(0) 推荐(0) 编辑
摘要: post public static String doPost(String url, String json) { PrintWriter out = null; BufferedReader in = null; String result = ""; try { URL realUrl = 阅读全文
posted @ 2022-01-17 19:54 翠微 阅读(63) 评论(0) 推荐(0) 编辑
摘要: 【Rust】枚举 enum 阅读全文
posted @ 2022-01-13 21:05 翠微 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 定义结构体 #[derive(Debug)] struct Rectangle { name: String, width: u32, height: u32, } 定义结构体方法 impl Rectangle { // 方法 fn area(&self) -> u32 { self.width * 阅读全文
posted @ 2022-01-13 21:04 翠微 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 所有权 所有权的规则 1. Rust 中的每一个值都有一个被称为其 所有者(owner)的变量。 2. 值在任一时刻有且只有一个所有者。 3. 当所有者(变量)离开作用域,这个值将被丢弃。 Rust 采取了一个不同的策略:内存在拥有它的变量离开作用域后就被自动释放 变量与数据交互 方式(一):移动, 阅读全文
posted @ 2022-01-08 20:57 翠微 阅读(249) 评论(0) 推荐(0) 编辑
摘要: String类 1. push_str 2. push 3. as_bytes 4. chars 5. bytes 6. slice 7. as_str 定义字符串 // 不可变 let s = String::from("hello"); // 可变 let mut s = String::fro 阅读全文
posted @ 2022-01-06 22:08 翠微 阅读(74) 评论(0) 推荐(0) 编辑
摘要: http { limit_req_zone $binary_remote_addr zone=mybufname:10m rate=200r/s; } 第一个参数:$binary_remote_addr 表示通过 remote_addr 这个标识来做限制,"binary_"的目的是缩写内存占用量,是 阅读全文
posted @ 2022-01-05 21:10 翠微 阅读(342) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 35 下一页