# vi /etc/yum.repos.d/dag.repo[dag]name=Dag RPM Repository for Red Hat Enterprise Linuxbaseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dagg...
分类:
数据库 时间:
2014-06-15 23:52:17
阅读次数:
500
(1).链接伪类使用a:link{color:pink;}-----未点击的链接a:visited{color:skyblue;}-----已经点击的链接a:hover{color:red;}-----鼠标移上去的颜色变化a:active{color:black;}----选定的链接的颜色变化Tip...
分类:
Web程序 时间:
2014-06-15 21:41:00
阅读次数:
284
转换成字符串
ECMAScript 的 Boolean 值、数字和字符串的原始值的有趣之处在于它们是伪对象,这意味着它们实际上具有属性和方法。例如,要获得字符串的长度,可以采用下面的代码:
var sColor = "red";
alert(sColor.length); //输出 "3"
尽管 "red" 是原始类型的字符串,它仍然具有属性 le...
分类:
编程语言 时间:
2014-06-15 16:45:49
阅读次数:
317
.x { border: solid 1px red; width: 100px; height:
100px; position: relative; background-color: ...
分类:
Web程序 时间:
2014-06-13 13:13:47
阅读次数:
262
题目
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 red, white and blue.
Here, we will use the...
分类:
其他好文 时间:
2014-06-10 07:21:21
阅读次数:
261
本文档以RDO的方式安装单节点、单网卡的Openstack。RDO是可在Red Hat
Enterprise Linux、Fedora及其变体上运行的社区支持OpenStack版本。部署简单方便,RDO中包含核心的OpenStack组件 –
Nova、Glance、Keystone、Cinder、N...
分类:
其他好文 时间:
2014-06-09 19:54:16
阅读次数:
385
GRID的行设置前景色和背景色$dataItem->set_row_color("red");
// 设置背景色 $dataItem->set_row_style("color:red"); //
设置前景色GRID支持多行显示mygrid.enableMultiline(true);TREE节点提...
分类:
Web程序 时间:
2014-06-09 15:23:45
阅读次数:
245
原题地址:https://oj.leetcode.com/problems/sort-colors/题意:Given
an array withnobjects colored red, white or blue, sort them so that objects of
the same col...
分类:
编程语言 时间:
2014-06-08 20:56:32
阅读次数:
394
我们在浏览一些网站,尤其是一些小说网站的时候,都会有修改页面背景颜色的地方,这个功能使用jquery很容易实现。
效果图:
show you code:
jquery test
white
red
green
yellow
$("button").click(
function()
{
var color = this.value;
$("...
分类:
Web程序 时间:
2014-06-08 16:48:45
阅读次数:
274
注意:本安装全部是在虚拟机上进行的,用的是ISO镜像文件安装。
1.安装完VMwareWorkstation后,启动VMwareWorkstation,新建一个虚拟机,其主界面如下图。
2.VMware Workstation的配置
VMwareworkstation安装完毕后,利用它可以建立多个虚拟机,每新建一个虚拟机,就会要求你建立一个配置文件。这个配置文件实际上相当...
分类:
系统相关 时间:
2014-06-08 05:30:18
阅读次数:
424