Problem DescriptionThere are a bunch of stones on the beach; Stone color is white or black. Little Sheep has a magic brush, she can change the color o...
分类:
其他好文 时间:
2014-08-20 12:11:22
阅读次数:
209
ftrace - 函数跟踪器 ========================Copyright 2008 Red Hat Inc. Author: Steven Rostedt License: The GNU Free Documentation License, Version 1.2 (.....
分类:
其他好文 时间:
2014-08-19 22:13:15
阅读次数:
261
先来解释一下啥是事件委托:
事件委托就是:子元素的事件,委托给他的父级
先来个例子看看:
无标题文档
*{margin:0; padding:0}
ul,li{ list-style:none;}
#ul{ overflow:hidden;}
li{width:100px; height:100px; background:red; margin:20px; fl...
分类:
其他好文 时间:
2014-08-19 16:31:14
阅读次数:
196
淡出css#div1 { height: 300px; width: 300px; background: red; }js function fadeOut() { var i = ...
分类:
其他好文 时间:
2014-08-19 15:52:44
阅读次数:
196
指针数组 && 数组指针
char (*ptr)[5]; //定义一个指向数组指针ptr,指向包含5个char类型的数组
char *a[5]; //定义一个指针数组a,包含5个char*类型指针
#include
int main(void)
{
char *a[5]={"red","white","blue","dark","green"};
pri...
分类:
编程语言 时间:
2014-08-19 12:55:44
阅读次数:
230
Decorations can screen print or embroidery.Cotton bags are more durable than plastic and black more desirable. They can be washed when dirty, and is s...
分类:
其他好文 时间:
2014-08-19 12:38:04
阅读次数:
312
dp;枚举red,dp前i 个塔中有j 个蓝塔的最大伤害。机智的地方:dp前i 个塔的时候可以同时处理n-i 个红塔,这样就少了个循环。。。(枚举红塔的循环) 1 #include 2 #include 3 #include 4 using namespace std; 5 6 long l...
分类:
其他好文 时间:
2014-08-19 12:23:24
阅读次数:
179
deb是debian linus的安装格式,跟red hat的rpm非常相似,最基本的安装命令是:dpkg -i file.debdpkg 是Debian Package的简写,是为Debian 专门开发的套件管理系统,方便软件的安装、更新及移除。所有源自Debian的Linux发行版都使用dpkg...
分类:
其他好文 时间:
2014-08-19 00:58:33
阅读次数:
281
RedHat6.3配置DNS服务器? ?作者:沈小然 北京证联支付有限责任公司 ? 1???????? 系统环境 OS:Red Hat Enterprise Linux Server release 6.3 (Santiago) DNS 服务器:172.21.20.1/255.255.0.0 2???...
分类:
其他好文 时间:
2014-08-18 18:57:24
阅读次数:
361
opacity声明来设置元素的透明值(改透明度的值介于0-1之间的小数, 0.5表示50%透明)。opacity的特点是:当opacity设置元素的透明值,内部的文字及元素也会透明.demo{ background-color:red; filter:alpha(opacity=30);...
分类:
其他好文 时间:
2014-08-18 18:22:02
阅读次数:
185