上一页 1 2 3 4 5 6 7 8 ··· 15 下一页
摘要: Chocolatey、Scoop 和 Winget 都是流行的 Windows 软件包管理工具,最近我使用了Winget安装了Git,使用命令行方式安装或更新软件(特别是非GUI软件——比如Git、Maven等)非常方便,在此简介一下Winget的常用指令。 1. 是否已安装 Winget 要确定是 阅读全文
posted @ 2024-05-29 15:30 Ashe|||^_^ 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 最近遇到当JavaBean不遵循驼峰命名规则时,使用反射赋值失败。但是我的类中属性个数非常多(一个一个改也太恼火了),因此写了个将蛇形变量名转驼峰变量名的方法,在此分享出来供大家使用。 public static void convertToCamelCase(Class<?> clazz) { F 阅读全文
posted @ 2024-05-08 11:28 Ashe|||^_^ 阅读(106) 评论(0) 推荐(0) 编辑
摘要: First, let’s take a look at the ownership rules. Keep these rules in mind as we through the examples that illustrate them: Each value in Rust has an o 阅读全文
posted @ 2024-04-23 18:06 Ashe|||^_^ 阅读(1) 评论(0) 推荐(0) 编辑
摘要: Many programming languages don’t require you to think about the stack and the heap very often. 许多编程语言并不会要求你经常思考堆栈。But in a system programming language 阅读全文
posted @ 2024-04-21 19:33 Ashe|||^_^ 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 对于Git的使用,笔者也仅仅是使用过……,今天就简单聊聊何为Git以及如何正确的使用Git来管理我们的项目代码。 https://git-scm.com/about Git is a free and open source distributed version control system Gi 阅读全文
posted @ 2024-04-21 17:05 Ashe|||^_^ 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 在Rust中常用于流程控制的代码就是if expressions & loops if expressions if expressions以关键字if开始,后面跟一个条件(布尔类型)。Optionally,we can also include an else expression, which 阅读全文
posted @ 2024-04-12 15:49 Ashe|||^_^ 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 一、依赖做出修改 在src同级的目录下新建一个目录例如sdk/lib……,用以收纳项目需要使用的SDK/JAR。 在pom.xml中引入时,加入上图所示的标签即可。 也可以将该JAR上传至公司的Maven私服/Alibaba的Maven中央仓库/Apache的Maven仓库,然后通过Maven GA 阅读全文
posted @ 2024-04-11 12:15 Ashe|||^_^ 阅读(139) 评论(0) 推荐(0) 编辑
摘要: Functions are prevalent in Rust code. You’ve already seen one of the most important functions in the language: the main function, which is the entry p 阅读全文
posted @ 2024-04-10 17:48 Ashe|||^_^ 阅读(12) 评论(0) 推荐(0) 编辑
摘要: Every value in Rust is of a certain data type, which tells Rust what kind of data is being specified so it knows how to work with that data. We’ll loo 阅读全文
posted @ 2024-04-08 16:44 Ashe|||^_^ 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 移动当前行向上:Alt + ↑Move a single line up 移动当前行向下:Alt + ↓Move a single line down 复制当前行并将其插入到上一行:Shift + Alt + ↑Duplicate the current line or selection abov 阅读全文
posted @ 2024-04-07 18:58 Ashe|||^_^ 阅读(22) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 15 下一页