用shell写了个递归遍历目录的脚本,本脚本实现递归遍历指定目录,打印目录下的文件名(全路径)。#!/bin/sh function scandir() {
local cur_dir parent_dir workdir workdir=$1 cd ${workdir} if [ ${w...
分类:
其他好文 时间:
2014-07-22 23:14:53
阅读次数:
563
一.asp.net1.点击Repeater中的LinkButton,获取当中label中的值:
Label lblName = ((LinkButton )sender).Parent.FindControl("lblName") as Label
;或者在gridView中,添加按钮列Button...
分类:
其他好文 时间:
2014-05-01 21:07:18
阅读次数:
356
1.Scene Graph体系结构浅析
javafx以tree的形式组织nodes,每一个node就是一个control,即UI组件。
node分为leaf node与branch node, root node。
scene体系中最关键的类:
Scene:代表包含所有UI组件的顶级容器
Node:是一个抽象类,代表UI组件的基类
Parent:是一个抽象类,代表branch...
分类:
移动开发 时间:
2014-04-30 22:16:39
阅读次数:
463
错误描述:Illegal overloaded getter method with
ambiguous type for property parent in class class cn.domain.Menu. This breaks
the JavaBeans specification a...
分类:
其他好文 时间:
2014-04-30 15:24:40
阅读次数:
6857
#jQuery种类>*封装对象方法的插件,这种插件是我们常用的插件,后面将会具体针对这种插件介绍,如:$("#div").parent();>*封装全局函数的插件
如:jQuery.ajax()>*选择器插件 如:$("ul li:eq(0)")#基本要点>*所有的对象方法(第1种)都应该附加在.....
分类:
Web程序 时间:
2014-04-29 19:32:05
阅读次数:
549
首先声明只有在Linearlayout中,该属性才有效。之所以android:layout_weight会引起争议,是因为在设置该属性的同时,设置android:layout_width为wrap_content和match_parent会造成两种截然相反的效果。如下所示: <LinearLayout
android:layout_width="match_parent"
...
分类:
移动开发 时间:
2014-04-29 13:14:20
阅读次数:
391