.class1{ color:Red}
.class2{ font-size:100px}
$(function () {
$("#btn1").click(function () { //当点击#btn1的时候给#div1添加一个class2的样式
$("#div1").addClas...
分类:
其他好文 时间:
2014-07-29 22:08:22
阅读次数:
247
Logging.c:/* Copyright (c) 2008-2012 Red Hat, Inc. This file is part of GlusterFS. This file is licensed to you under your choice of the GNU Lesse...
分类:
其他好文 时间:
2014-07-29 21:13:02
阅读次数:
382
一、Linux系统安装配置
1.安装系统时选Desktop
2.设置eth0网卡为静态IP,添加子网掩码,网关,DNS,并配置自动启动
3.修改/etc/hosts,添加主机名和对应IP
4.禁用firewall和selinux
chkconfig iptables off
vi /etc/selinux/config
SELINUX=disabled...
分类:
数据库 时间:
2014-07-29 14:18:48
阅读次数:
412
/**
* 功能:文本查询程序
* 时间:2014年7月23日10:26:09
* 作者:cutter_point
*/
#include
#include
#include
#include
#include
#include
#include
using namespace std;
/*
Alice Emma has long flowing red hair.
Her Daddy s...
分类:
编程语言 时间:
2014-07-28 16:15:33
阅读次数:
387
我们已经讲过如何筛选出连个数组中不共有的元素,今天就来看看php如何筛选出两个数组中共有的元素,例如筛选$array1和$array2共有的元素。函数名:array_intersect();调用方式:array_intersect($array1,$array2);实例: "green", "red...
分类:
Web程序 时间:
2014-07-28 15:03:13
阅读次数:
265
题目:Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order r....
分类:
编程语言 时间:
2014-07-28 11:34:20
阅读次数:
297
最近想学习下Linux,于是就在Vmware Workstation虚拟机上安装了red hat, 但是安装好后 不能通过putty访问虚拟机或者可以通过putty访问虚拟机,但是win7不能上网了,各种度娘,试验,问题解决了,分享如下。1. 虚拟机内redhat安装好后,进入 应用程序-->系.....
分类:
系统相关 时间:
2014-07-27 21:51:39
阅读次数:
343
1.创建画布: $img=imagescreatetruecolor(200,200); 创建颜色并填充 $red=imagecolorallocate($img,255,0,0); //创建颜色 $imagefill($img,0,10,$red); //填充颜色2.画图形 矩形: ...
分类:
Web程序 时间:
2014-07-27 10:40:02
阅读次数:
218
枚举是JDK 5以后引入的,被称作新特性,虽然JDK 5推出已经N年了,不过鉴于这个版本在Java里程碑上的重要性,就姑且继续称作新特性吧。枚举的定义:1 public enum Lamp {2 RED,GREEN,YELLOW;3 }枚举使用关键字enum定义,enum是enumerati...
分类:
编程语言 时间:
2014-07-27 10:25:02
阅读次数:
292
使用Heartbeat构建Linux双机热备系统本文档版本号: V1.0版 本 历 史版本号更新时间说 明创建者V1.02013-3-23修改版金桥1 部署环境OS: Red Hat Enterprise Linux release 6.0 Beta (Santiago)kernel: 2.6.32...
分类:
其他好文 时间:
2014-07-27 10:08:59
阅读次数:
922