Css3圆角讲解:想必大家对于图片,背景圆角,都不陌生吧,圆角语法:border-radius:圆角值;这个值可以使用:em ,ex,pt,px,百分比;Border-radius跟margin,padding差不多Border-radius:lefttop,righttop,rightbottom...
分类:
Web程序 时间:
2014-08-27 16:29:37
阅读次数:
251
/* 进度条 */div.progress {width: 600px;margin: 10px auto;height: 20px;line-height: 20px;font-size: 14px;background: #F7F7F7;border-radius: 4px;box-shadow...
分类:
其他好文 时间:
2014-08-27 01:35:37
阅读次数:
448
//Archimedes
#include<iostream>
#include<cmath>
usingnamespacestd;
intmain()
{
constdoubley=62.4;
constdoublepi=3.1415926;
doubleweigth,radius,volume,fb;
cout<<"输入球的重量和半径:\n";
cin>>weigth>>radius;
volume=(4.0/3)*pi..
分类:
其他好文 时间:
2014-08-26 03:04:06
阅读次数:
227
此文长期更新,具体根据我博客的样式判定.架构: BlackLowKey页面CSS:div.prob{ box-shadow:0 0 4px #ccf; padding: 2px; text-align:left; border-radius:6px;}div.prob h2{ font-s...
分类:
其他好文 时间:
2014-08-24 20:45:12
阅读次数:
231
GLBP是思科私有协议,在一般高端设备才会支持。GLBP和HSRP、VRRP的目的是一样的,用多台路由器为LAN提供网关负载能力,但是HSRP和VRRP是将多台路由器配成一个组并虚拟成一个IP地址,用户将数据发到这个IP地址,组内只有一台主路由器,其它都是备份路由器,只有主路由器才能转发..
分类:
其他好文 时间:
2014-08-21 11:41:54
阅读次数:
246
function circleIntersectRect(circle_pt, radius, rect)
local cx = nil
local cy = nil
-- Find the point on the collision box closest to the center of the circle
if circle_pt.x...
分类:
其他好文 时间:
2014-08-20 16:22:42
阅读次数:
213
效果图: css代码:img{ width:30px; height:30px; border-radius:50px;}
分类:
Web程序 时间:
2014-08-20 13:58:12
阅读次数:
269
BGP是一个路径矢量路由协议,它的工作就是在自主系统间交换路由信息,以便发现访问互联网某处数据的最有效路径。如何选择最佳路径进行路由?思科无边界网络为我们揭示了BGP的14条选路原则:BGP的选路原则:前提(路由的下一跳可达、关闭同步、路由没有被惩罚、前缀没有被入境路由..
分类:
其他好文 时间:
2014-08-20 10:36:46
阅读次数:
251
8、BGP优先选择到下一跳IGP度量值最低的路径。不管都是EBGPpeer还是都是IBGPpeer还是分别是联邦EBGP和联邦IBGP都比较这一步。9、当前面的8条选路原则都无法优选出最优路由时,并且在BGP进程下面配置了maximum-paths[ibgp]<1-16>,那么将执行等价负载均衡,如果没有ibgp关键..
分类:
其他好文 时间:
2014-08-20 10:36:36
阅读次数:
281