- 博客(3)
- 收藏
- 关注
原创 mac不用secureCRT连接VMware的centos7 ssh更酸爽!
确定好centos7的网络连接方式为NAT之后 在mac terminal输入 ssh root@你centos7里的ip地址 可能会报错这个setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory 不要紧 继续在terminal里面输入 vi /etc/environment 然后把这两行加进去 LANG=en_US.utf-8 LC_ALL=en_US.utf-8 ESC :WQ 退出即可 再来一次ssh r
2021-06-03 00:19:44
130
原创 Unit Test中的一些初始化的问题
这周的作业是做一些基础的Test,配合JUnit 4. 我的基础不是很好,在初始化的时候就卡壳了,我是想测试是不是有两位参与者,所以我需要初始化两位参与者到原来代码的List里去,我一开始写的是: Student stdtA = new Student(“Alice”,“Fama”, null, null, null); Student stdtB = new Student(“Ben”,“French”, null, null, null); List attendees = new ArrayList(
2020-07-05 19:27:06
409
翻译 搬运 | R语言 计算行差值
Use data.table to calculate year on year change in rows If your data are very large, check out data.table. Even with this example, you’ll find a good speedup in relative terms. Plus the syntax is super compact and, in my opinion, easily readable. library(p
2020-06-01 22:16:57
3440
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人