链接转自与http://www.linuxdiyf.com/linux/30931.html 使用VMware Workstation安装完Ubuntu18.04系统后要安装VMware Tools来实现文件共享,以下方法介绍的是先在虚拟机中设置文件夹共享,然后在虚拟机选项中点击安装VMware T ...
分类:
系统相关 时间:
2018-11-13 02:42:56
阅读次数:
205
学习环境:VMware Workstation 12 + RHEL 7。安装tips ###1 电脑内存 =2GB,虚拟机内存分配1GB 电脑内存 =4GB,虚拟机内存分配2GB 电脑内存 >=8GB,虚拟机内存分配2GB ###2 虚拟机处理器核心数量8=主机CPU核数8 ###3 RPM, YU ...
分类:
系统相关 时间:
2018-11-12 23:58:44
阅读次数:
374
import java.util.HashMap; import java.util.Map; public enum PayType { ALIPAY("支付宝扫码", 15), WEIXIN_PAY("微信扫码", 16) PayType(String name, int value) { th... ...
分类:
其他好文 时间:
2018-11-12 17:27:00
阅读次数:
220
异常是程序中的一些错误,但并不是所有的错误都是异常,错误有时候是可以避免的。异常的对象有两个来源,一是Java运行时环境自动抛出系统生成的异常,而不管你是否愿意捕获和处理,它总要被抛出!比如除数为0的异常。二是程序员自己抛出的异常,这个异常可以是程序员自己定义的,也可以是Java语言中定义的,用th ...
分类:
编程语言 时间:
2018-11-11 23:27:45
阅读次数:
411
Anniversary party HDU - 1520 There is going to be a party to celebrate the 80-th Anniversary of the Ural State University. The University has a hierar ...
分类:
其他好文 时间:
2018-11-11 11:50:43
阅读次数:
126
A positive integer is magical if it is divisible by either A or B. Return the N-th magical number. Since the answer may be very large, return it modul ...
分类:
其他好文 时间:
2018-11-10 20:14:42
阅读次数:
157
Koko loves to eat bananas. There are N piles of bananas, the i-th pile has piles[i] bananas. The guards have gone and will come back in H hours. Koko ...
分类:
其他好文 时间:
2018-11-10 19:15:15
阅读次数:
209
Given a tree, you are supposed to tell if it is a complete binary tree. Input Specification: Each input file contains one test case. For each case, th ...
分类:
其他好文 时间:
2018-11-10 18:06:26
阅读次数:
279
Plants vs. Zombies http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5819 BaoBao and DreamGrid are playing the game Plants vs. Zombies. In th ...
分类:
其他好文 时间:
2018-11-10 18:00:43
阅读次数:
354
注意,输入是以行来显示的 <td>是输入,<th>是标签,一般会加粗 还有跨行 横着跨,是colspan 竖着跨,是rowspan 也可以格中格 单元格边距:cellpadding 单元格间距:cellspacing ...
分类:
Web程序 时间:
2018-11-10 15:13:32
阅读次数:
202