安装rpm包,特别是没有GPGkey校验,原因是rpm版本过低导致的。 代码如下: warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID***** 由于yum安装了旧版本的GPG keys造成的,解决办法就是 01、导入 ...
分类:
其他好文 时间:
2016-08-10 08:45:03
阅读次数:
165
例如将服务器网络配置设置如下 IP:172.16.1.10 Mask:255.255.00 Gateway:172.16.1.1 DNS:202.0.20.106 设置如下: 先查看ip地址,此时ip地址为:172.18.12.68 输入命令cd /etc/sysconfig/network-scr ...
分类:
其他好文 时间:
2016-08-10 08:44:13
阅读次数:
143
Write a program to find the node at which the intersection of two singly linked lists begins. For example, the following two linked lists: begin to in ...
分类:
其他好文 时间:
2016-08-10 08:45:02
阅读次数:
100
2016年8月10日 星期三 --出埃及记 Exodus 16:10While Aaron was speaking to the whole Israelite community, they looked toward the desert, and there was the glory of ...
分类:
其他好文 时间:
2016-08-10 08:45:28
阅读次数:
166
随着视频直播APP的迅速发展,许多APP也都会加入直播的功能,提高用户量。在网上也是寻找了许多直播的播放器,无意间发现Bilibili开源了一款播放器ijkplayer,想从最开始的步骤集成的同学可以点进去查看集成教程。当然,我这里为大家已经都封装好啦,只要简单的几步就可以使用该播放器了。LZH_I ...
分类:
其他好文 时间:
2016-08-10 08:43:45
阅读次数:
643
tomcat已经启动完成了,那么是怎么处理请求的呢?怎么到了我们所写的servlet的呢? 目录 Http11ConnectionHandler Http11Processor CoyoteAdapter StandardEngineValve StandardWrapperValve 总结 Htt ...
分类:
其他好文 时间:
2016-08-10 08:44:34
阅读次数:
125
Day1 T1(暴力):大水题 #include<cstdio> const int ok[5][5]={ 0,0,1,1,0, 1,0,0,1,0, 0,1,0,0,1, 0,0,1,0,1, 1,1,0,0,0, }; int a[210],b[210]; int main() { int n, ...
分类:
其他好文 时间:
2016-08-10 08:42:16
阅读次数:
278
Regionals 2002 >> Asia - Dhaka
问题链接:UVALive2701 UVA1189 POJ1426 ZOJ1530 Find The Multiple。
问题简述:输入若干个正整数n,n=0则结束。对于输入的n,输出正整数m,m是n的倍数并且只包含数字0和1。
问题分析:所求的值不是很大的话,用类型unsigned long long就可以了。开始时,先用1试...
分类:
其他好文 时间:
2016-08-10 07:41:46
阅读次数:
238
在分答上,到底要选择北上广还是家乡的省会城市,与此类似的问题,我被问了4次。所以,我们展开来聊聊。...
分类:
其他好文 时间:
2016-08-10 07:39:19
阅读次数:
423
1.关系选择符 示例: E F E>F E+F E~F 2.伪类选择符 E:link 设置超链接a在未被访问前的样式。 E:visited 设置超链接a在其链接地址已被访问过时的样式。 E:hover 设置元素在其鼠标悬停时的样式。 E:active 设置元素在被用户激活(在鼠标点击与释放之间发生的 ...
分类:
其他好文 时间:
2016-08-10 07:38:57
阅读次数:
300
Core Plugin 的功能是维护数据库中 network, subnet 和 port 的状态,并负责调用相应的 agent 在 network provider 上执行相关操作。本节将详细讨论最重要的 ML2 Core Plugin。 ...
分类:
其他好文 时间:
2016-08-10 07:40:53
阅读次数:
247
前言 Windows中有环境变量,比如我们熟悉的path……那么linux有没? 正文 操作系统 真没有大家想的那么智能,反而是很笨的 譬如我们输入 :ls立马执行 那操作系统是怎么执行的?它怎么知道ls要怎么执行?去哪执行?要执行的程序在哪? 环境变量:简单的说,就是告诉系统,根据命令去哪里(文件... ...
分类:
其他好文 时间:
2016-08-10 07:39:57
阅读次数:
198
重新做人 1 // Copy_On_Write.cpp : 定义控制台应用程序的入口点。 2 // 3 4 #include "stdafx.h" 5 #include <cstring> 6 #include <string> 7 8 using namespace std; 9 10 11 #p ...
分类:
其他好文 时间:
2016-08-10 07:38:40
阅读次数:
272
http://blog.oneapm.com/apm-tech/130.html 7天玩转ASP.NET MVC http://www.cnblogs.com/yuangang/p/5748506.html 从入门到精通ASP.NET MVC http://www.cnblogs.com/xiaoh ...
分类:
其他好文 时间:
2016-08-10 07:38:32
阅读次数:
152
组合学
有 n 个礼物, m个朋友, 其中k 个很要好的朋友, 要买 price 大于 d 的礼物
领 price >= d 的礼物个数为 cnt
则如果用 C[cnt][k] * C[n - k][m - k] 则显然不对, 因为这里面前面选的 price >= d的, 后面给普通好朋友选礼物的时候也会选到, 这样总的买的礼物数来说有大量重复了
所以 应该是分步 分类(price >= d 的与 < d 的分开算, 这样就不会相同的礼物选2次了)
首先 C[cnt][k] * C[n...
分类:
其他好文 时间:
2016-08-10 06:36:37
阅读次数:
209
Implement an iterator over a binary search tree (BST). Your iterator will be initialized with the root node of a BST. Calling next() will return the n ...
分类:
其他好文 时间:
2016-08-10 06:36:10
阅读次数:
125
Given two integers representing the numerator and denominator of a fraction, return the fraction in string format. If the fractional part is repeating ...
分类:
其他好文 时间:
2016-08-10 06:35:48
阅读次数:
172