实验操作环境: 操作系统:Red Hat Enterprise Linux ES release 4 (Nahant Update 6) 数据库 : Oracle Database 10g Release 10.2.0.4.0 – Production 32bit今晚使用shutdown immed...
分类:
数据库 时间:
2015-06-08 21:29:40
阅读次数:
222
代码注释,可以说是比代码本身更重要。这里有一些方法可以确保你写在代码中的注释是友好的:不要重复阅读者已经知道的内容能明确说明代码是做什么的注释对我们是没有帮助的。1234//Ifthecolorisred,turnitgreenif(color.is_red()){color.turn_green(...
分类:
其他好文 时间:
2015-06-08 21:19:49
阅读次数:
136
No.75 Sort ColorsGiven an array withnobjects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in ...
分类:
其他好文 时间:
2015-06-08 19:06:12
阅读次数:
85
无序集合 哈希表NSSet *colors=[NSSet setWithObjects:@@"yellow",@"red",@"blue",@"black",nil];NSArray *array=[colors allObjects];NSString *obj = [colors anyObje...
分类:
其他好文 时间:
2015-06-08 13:05:32
阅读次数:
134
一、python升级到最新版(2.7.10) 1、检查python环境 [root@vice ?~]# python Python 2.7.5 (default, Jun 17 2014, 18:11:42)? [GCC 4.8.2 20140120 (Red Hat 4.8.2-16)] on linux2 Type "help", "copyright"...
分类:
移动开发 时间:
2015-06-08 11:51:39
阅读次数:
731
今天是周六,看到一片KVM相关的文章,感觉写得很不错,翻译了,原文在这里:KVM Technology
在开放服务器虚拟化的应用方面,KVM虚拟化技术近年来广受关注。自从2006年10月份诞生以来,其简单的思想激起了Linux内核开发者们的兴趣,在他们的帮助下,KVM的功能得到迅速扩展。目前,KVM得到Red Hat企业版Linux的正式支持,并从版本6开始受到Fujitsu的支持。...
分类:
其他好文 时间:
2015-06-06 18:18:12
阅读次数:
198
代码注释,可以说是比代码本身更重要。这里有一些方法可以确保你写在代码中的注释是友好的:
不要重复阅读者已经知道的内容
能明确说明代码是做什么的注释对我们是没有帮助的。
// If the color is red, turn it green
if (color.is_red()) {
color.turn_green();
}
要注释说明推理和历史
如果代码中的业务逻辑以后可能需要...
分类:
编程语言 时间:
2015-06-06 13:34:08
阅读次数:
114
http://poj.org/problem?id=1979#include #include using namespace std;const int maxn = 21;bool vis[maxn][maxn];char maz[maxn][maxn];int n,m;const int dx...
分类:
其他好文 时间:
2015-06-05 22:34:19
阅读次数:
177
其中:before和:after的作用就是在指定的元素内容(不是元素本身)之前或者之后插入一个包含content属性指定内容的行内元素。
最基本的用法如下:
#xin:before{
content:"之前的内容";
color:red;
}
#xin:after{
content:"之后的内容";
color:blue;
}
...
分类:
其他好文 时间:
2015-06-05 15:46:08
阅读次数:
159
错误信息如下:JSP代码如下: Warning !! Importing file has some errors as below: ...
分类:
其他好文 时间:
2015-06-05 15:43:21
阅读次数:
194