准备CentOS-7.x镜像,可以从网上直接下载,我这里准备的镜像是CentOS-7.2-x86_64[root@linux-node1~]#ls-l/tmp/CentOS-7-x86_64-DVD-1511.iso-rw-r--r--1rootroot4329570304Jan72016/tmp/CentOS-7-x86_64-DVD-1511.iso安装相关软件[root@linux-node
分类:
其他好文 时间:
2018-02-01 17:15:40
阅读次数:
391
题目链接: https://vjudge.net/problem/POJ-3624 题目描述: Bessie has gone to the mall's jewelry store and spies a charm bracelet. Of course, she'd like to fill ...
分类:
其他好文 时间:
2018-02-01 13:16:19
阅读次数:
194
//第二个窗体 public delegate void DAddress(string address); public event DAddress ESignAddress; protected void SignAddress(string address) { ESignAddress(a ...
在很多python脚本中在最后的部分会执行一个判断语句if __name__ == "__main__:",之后还可能会有一些执行语句。那添加这个判断的目的何在? 在python编译器读取源文件的时候会执行它找到的所有代码,而在执行之前会根据当前运行的模块是否为主程序而定义变量__name__的值为 ...
分类:
编程语言 时间:
2018-01-31 20:27:01
阅读次数:
183
使用cocopod导入第三方swift包后,编译报以下错误: The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift ...
分类:
编程语言 时间:
2018-01-31 18:38:34
阅读次数:
1335
2008R2 Hyper-V 系统自带备份报错0x8100010处理
分类:
其他好文 时间:
2018-01-31 15:37:52
阅读次数:
176
Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. For example: Given num = 38, the process is like: ...
分类:
其他好文 时间:
2018-01-31 11:19:43
阅读次数:
119
如何去解决fatal: refusing to merge unrelated histories 先pull,因为两个仓库不同,发现refusing to merge unrelated histories,无法pull 因为他们是两个不同的项目,要把两个不同的项目合并 git需要添加一句代码,然 ...
分类:
其他好文 时间:
2018-01-31 01:07:00
阅读次数:
320
public class Activity extends ActionBarActivity implements SensorEventListener{ SensorManager sensorManager; EditText et_sensor; @Override protected v... ...
分类:
其他好文 时间:
2018-01-31 01:06:13
阅读次数:
178
题面: http://www.lydsy.com/JudgeOnline/problem.php?id=2329 思路: 显然,操作4中输出补全的最小费用是关键 这决定了我们不可能在splay上只维护1-2个值。 考虑一段括号序列,将其中所有合法序列删去以后,留下的一定是形如 ))))))((( 的 ...
分类:
其他好文 时间:
2018-01-31 01:02:14
阅读次数:
213