一.redis简介 Redis是基于内存、可持久化的日志型、key-value高性能存储系统。关键字(Keys)是用来标识数据块。值(Values)是关联于关键字的实际值,可以是任何东西。有时候你会存储字符串,有时候是整数,还有时候你会存储序列化对象(使用JSON、XML等)。在大多数情况下,Red ...
分类:
其他好文 时间:
2016-04-20 00:36:36
阅读次数:
209
<!DOCTYPE html><html> <head> <style> p{ display: inline-block; background-color:red; } p>i{ display: block; width:120px; height:50px; background-image ...
分类:
Web程序 时间:
2016-04-20 00:35:08
阅读次数:
161
deb是Debian Linux的安装格式,跟Red Hat的rpm非常相似,最基本的安装命令是:dpkg -i file.debdpkg 是Debian Package的简写,是为Debian 专门开发的套件管理系统,方便软件的安装、更新及移除。所有源自Debian的Linux发行版都使用dpkg ...
分类:
系统相关 时间:
2016-04-19 16:56:36
阅读次数:
227
01.渐变色窗体 Color颜色对象的FromArgb()方法的应用,语法结构: public static System.Drawing.Color FromArgb(int red,int green,int blue) Pen对象的应用 Graphics对象的DrawRectangle方法,语 ...
1. 如何实现高度很小的容器、在高级浏览器中直接设置,但是在IE6中要添加overflow: hidden;.demo{ width:100px; height:1px; background:red; overflow:hidden;}2. 高级浏览器用display: inline-block定... ...
分类:
其他好文 时间:
2016-04-19 14:08:43
阅读次数:
262
type master; file "tcbuu.cn.zone"; }; zone "227.168.192.in-addr.arpa" IN { type master; file "227.168.192.in-addr.arpa.zone"; }; 5.在/var/named/路径下创建两个 ...
分类:
其他好文 时间:
2016-04-19 11:46:27
阅读次数:
158
<h2>名称应与意义相关而不是表现。</h2> 比如,某些元素你希望他们显示为红色,然后分配类名red。 不要这样做。应该根据“它们是什么”来为元素命名,而不是根据“它们的外观如何”来命名。 有意义的类名的优点是可以在整个网站中重用它们。 举例: 不好的命名: 好的命名: red error lef ...
分类:
其他好文 时间:
2016-04-19 11:36:57
阅读次数:
121
var divs = document.querySelectorAll('div'); [].forEach.call(divs, function(div) { // do whatever div.style.color = "red";}); http://www.webhek.com/di ...
分类:
Web程序 时间:
2016-04-19 06:07:58
阅读次数:
170
We have a machine for painting cubes. It is supplied with three different colors: blue, red and green. Each face of the cube gets one of these colors. ...
分类:
其他好文 时间:
2016-04-18 20:46:50
阅读次数:
179
yum 安装软件时,报错:No package XXX available. 配置一台CentOS 7.x或RHEL 7.x的系统使用Fedora EPEL repos和第三方软件包安装各种软件包。请注意,这些软件包没有正式获得任何的CentOS或Red Hat的支持,但提供了许多流行的包和应用程序 ...
分类:
其他好文 时间:
2016-04-18 18:38:06
阅读次数:
17509