http://www.css88.com/jqapi-1.9/first-of-type/index.html#p=//www.css88.com/jqapi-1.9/last-child-selector---动态添加的table 的tr 给tr设定click事件 使用jquery 1.9$(do...
分类:
Web程序 时间:
2015-01-24 19:56:22
阅读次数:
278
一、进程的创建fork()函数由fork创建的新进程被称为子进程(child process)。该函数被调用一次,但返回两次。两次返回的区别是子进程的返回值是0,而父进程的返回值则是 新子进程的进程ID。将子进程ID返回给父进程的理由是:因为一个进程的子进程可以多于一个,所有没有一个函数使一个进程可...
http://www.cnblogs.com/little-ant/p/3196201.htmlsimple_one_for_one vs one_for_one:相同点:这种Restart Strategy和one_for_one基本相同(即当一个child process挂掉后,仅仅重启该chi...
分类:
其他好文 时间:
2015-01-23 13:08:28
阅读次数:
244
查看绑定变量的值 --还有一种方式
--首先查询出这条SQL 语句的 HASH_VALUE
select A.SQL_ID,A.HASH_VALUE,A.CHILD_NUMBER,A.SQL_TEXT from v$sql a where A.SQL_TEXT like 'SELECT T_LTE_...
分类:
其他好文 时间:
2015-01-22 14:44:37
阅读次数:
226
点击打开链接
1017. Staircases
Time limit: 1.0 second
Memory limit: 64 MB
One curious child has a set of N little bricks (5 ≤ N ≤ 500). From these bricks he builds different staircases. S...
分类:
其他好文 时间:
2015-01-18 14:27:09
阅读次数:
156
代码:#! /usr/bin/env python#coding=utf-8import random,copydef heap_sort_helper(lst,left,right): # max heapify current_value = lst[left] child =...
分类:
编程语言 时间:
2015-01-17 22:07:01
阅读次数:
318
我之前写了一个ScrollView老是报java.lang.IllegalStateException: ScrollView can host only one direct child,意思是说:ScrollView只能有一个子布局,所以用一个布局把你写的布局抱起来就OK,隐藏滚动条。
<ScrollView
android:layout_width="match_p...
分类:
其他好文 时间:
2015-01-16 16:54:52
阅读次数:
182
// 每两个为一组包裹起来 var slides2n = $("#frame").find(".phone-screen:nth-child(2n)").each(function(i){ slides.slice(i*2,i*2+2).wrapAll(""); }); //剩下的再用...
分类:
Web程序 时间:
2015-01-16 14:32:30
阅读次数:
205
对li标签的相关操作——8种方式获取li标签的第一个元素的内容1、alert($("ul>li").first().html());2、alert($('ul>li').eq(0).html());3、alert($('ul>li:nth-child(1)').html()); 4、alert($(...
分类:
Web程序 时间:
2015-01-16 12:40:33
阅读次数:
183
读书笔记《javascript面向对象编程指南》
(YUI)库所用的方法:
function extend(Child, Parent) {
var F = function(){};
F.prototype = Parent.prototype;
Child.prototype = new F();
Ch...
分类:
其他好文 时间:
2015-01-15 10:56:38
阅读次数:
163