参考自:http://blog.csdn.net/dog_in_yellow/archive/2008/01/13/2041079.aspx 以前一直迷惑,什么叫一次调用,两次返回。通过上网搜索,终于知其原由。现将自己的理解记录于此。准备知识: 内存中的进程包括三个部分:可执行文件(即程序),相关数...
分类:
其他好文 时间:
2014-10-26 00:21:28
阅读次数:
225
MySQL聚合函数里面提供了加,平均数,最小,最大等,但是没有提供乘法,我们这里来利用MYSQL现有的GROUP_CONCAT函数实现聚合乘法。先创建一张示例表:CREATETABLE`tb_seq`(
`num`int(10)NOTNULL,
`seq_type`enum(‘yellow‘,‘green‘,‘red‘)NOTNULL
)ENGINE=InnoDBDEFAULTCHARSET=..
分类:
数据库 时间:
2014-10-21 15:35:37
阅读次数:
249
<colorname="white">#FFFFFF</color><!--白色--><colorname="ivory">#FFFFF0</color><!--象牙色--><colorname="lightyellow">#FFFFE0</color><!--亮***--><colorname="yellow">#FFFF00</color><!--***--..
分类:
移动开发 时间:
2014-10-20 15:25:36
阅读次数:
240
渐变色(例子):/*1属性:渐变角度 2属性:颜色+空格+纯色的长度(百分比、px)。。*//*background:-webkit-linear-gradient(top right,red 50px,yellow);*//*background:-webkit-linear-gradient(....
分类:
其他好文 时间:
2014-10-15 21:01:01
阅读次数:
160
//包含Header所有的单元格的背景色为黄色
DataGridView1.DefaultCellStyle.BackColor = Color.Yellow;
//包含Header所有的单元格的前景色为黄色
DataGridView1.DefaultCellStyle.ForeColor= Color.Yellow; //前景色设置,只需要将BackColor改为ForeColor即...
在Python中使用list 来序列元素例:l = [] #一个空的listl2 = [1,2,3] # 一个数字列表l3 = ['a', 'b', 'c'] # 一个字符串列表l4 = [[3,4],['black', 'red', 'yellow'], []] # 一个长度为3的 列表list ...
分类:
编程语言 时间:
2014-10-12 21:54:38
阅读次数:
213
Just a few weeks ago, I had a discussion with one of my colleagues about how to manage the transaction in our innovation project, and I found it a big bang knowledge when dig into details. So I want to go through these details and give an internal knowledg...
分类:
编程语言 时间:
2014-10-12 03:04:07
阅读次数:
182
1.CSS hack的技巧!important除IE6外都识别,通用:background-color:blue; /*所有浏览器*/background-color:red\9;/*所有的ie*/background-color:yellow\0; /* ie8+*/*background-col...
分类:
Web程序 时间:
2014-10-10 20:44:44
阅读次数:
222
部长练习jquery的属性
.bor{border:10px solid yellow;}
.red{color:red;}
$(document).ready(function(e) {
//增加属性居中
//$('div').attr('align','center');
//设定多个属性
$('div').attr({'alig...
分类:
Web程序 时间:
2014-10-05 18:25:08
阅读次数:
233
在使用RedHat系统过程中,经常会安装各种包,而包的安装又存在着依赖性的问题,即一个包的安装通常依赖其它很多包的安装。这样,就会相当不便。所幸,RedHat提供了Yum。Yum(全称为 Yellow dog Updater, Modified)是一个在Fedora和RedHat以及CentOS中的...
分类:
其他好文 时间:
2014-09-30 19:34:29
阅读次数:
234