一、bond模式 Mode=0(balance-rr) 表示负载分担round-robin,和交换机的聚合强制不协商的方式配合 Mode=1(active-backup) 表示主备模式,只有一块网卡是active,另外一块是备的standby,这时如果交换机配的是捆绑,将不能正常工作,因为交换机往两 ...
分类:
其他好文 时间:
2018-11-09 19:30:57
阅读次数:
2606
Team Rank Year Points 0 Riders 1 2014 876 1 Riders 2 2015 789 2 Devils 2 2014 863 3 Devils 3 2015 673 4 Kings 3 2014 741 5 Kings 4 2015 812 6 Kings 1 ...
分类:
其他好文 时间:
2018-11-08 16:22:44
阅读次数:
145
题目意思: 给n个士兵排队,每个士兵三种G、R、P可选,求至少有m个连续G士兵,最多有k个连续R士兵的排列的种数。 原题 Attack on Titans Time Limit: 2 Seconds Memory Limit: 65536 KB Over centuries ago, mankind ...
分类:
其他好文 时间:
2018-11-07 23:04:46
阅读次数:
251
安装java8 sudo add-apt-repository ppa:webupd8team/javasudo apt-get updatesudo apt-get install oracle-java8-installer 查看java是否安装成功java -version 该版本java设为 ...
分类:
编程语言 时间:
2018-11-07 17:44:17
阅读次数:
677
1,不管是提交代码,还是更新本地的代码,首先都要:先同步,就是选择你要同步的工程,然后点Team,点synchronize with repository,然后对比。 2,如果已经没有突然了,那就update,或者commit,记得写下备注。 ...
分类:
其他好文 时间:
2018-11-07 11:33:30
阅读次数:
161
1、eclipse mars2等较新版本已经集成git,点击window->show view->other里搜索git repository,展示git仓库视图 2、window->preference->team->git->configuration->user settings->add e ...
分类:
系统相关 时间:
2018-11-06 22:37:09
阅读次数:
240
1、vmware安装黑苹果,然后在appStore安装XCode http://blog.csdn.net/forgot2015/article/details/51104329 2、真机调试证书等申请 http://jingyan.baidu.com/article/ff411625b814131 ...
分类:
系统相关 时间:
2018-11-06 22:26:48
阅读次数:
350
二.jQuery是什么 jQuery由美国人John Resig创建,至今已经吸引了来自实践各地的众多javascript高手加入其team jQuery是继prototype之后又一个优秀的JavaScript框架,其宗旨是 WRITE LESS,DO MORE! 它是轻量级的JS库(压缩后只有2 ...
分类:
Web程序 时间:
2018-11-06 15:42:02
阅读次数:
222
Javascript Promises 2018-11-05 THUDM team Eunbi Choi Syntax executor: A function that is passed with the arguments resolve and reject. The executor fu ...
分类:
编程语言 时间:
2018-11-06 00:55:15
阅读次数:
162
1 #include 2 3 int n,T,cnt; 4 5 int read() 6 { 7 char ch = getchar(); 8 int num = 0; 9 bool fl = 0; 10 for (; !isdigit(ch); ch=getchar()) 11 if (ch=='... ...
分类:
其他好文 时间:
2018-11-05 23:42:38
阅读次数:
231