函数是被赋予名称的脚本代码块,可以在代码的任意位置重用。每当需要在脚本中使用这样的代码块时,只需引用该代码块被赋予的函数名称。创建函数格式function name { commands}name 属性定义了该函数的唯一名称。name 后面要有空格。name() { commands}示例#!/.....
分类:
系统相关 时间:
2014-10-13 10:35:09
阅读次数:
346
尽管使用EXT开发了一段时间,可是自己认为我对javascript还是不是非常熟,所以边看书边做小样例 给自己以后用到的时候查看下,都是非常主要的东西,对刚開始学习的人可能有点帮助以下是代码 Java代码 grid 多选须要添加?multiple属性 在多选中size属...
分类:
Web程序 时间:
2014-10-12 22:28:28
阅读次数:
338
Linux提供了丰富的帮助手册,当你需要查看某个命令的参数时不必到处上网查找,只要man一下即可。
Linux 的man手册共有以下几个章节:
1、Standard commands (标准命令)
2、System calls (系统调用)
3、Library functions (库函数)
4、Special devices (设备说明)
5、File formats (文件格式...
分类:
系统相关 时间:
2014-10-11 18:49:55
阅读次数:
177
Spring lets you define multiple contexts in a parent-child hierarchy. The?applicationContext.xml?defines the beans for the "root webapp context", i.e. the context associated with the webapp. The...
分类:
移动开发 时间:
2014-10-11 13:45:55
阅读次数:
205
项目开发中需要使用GridView批处理操作,多项选择。
但是GridView.setChoiceMode(GridView.CHOICE_MODE_MULTIPLE_MODAL)不兼容低版本。
找解决方案,查看android sdk提供的demo里介绍的GridView多项选择的方法
public class Grid3 extends Activity {
GridVi...
分类:
其他好文 时间:
2014-10-10 19:39:54
阅读次数:
628
? 前一篇 (Multiple Named Views) 下一篇 (The Components) ? 在你的应用中多数的状态都是基于特定的url地址的。Url Routing机制绝不是在状态机制之上后加的东西,而是一开始就是规划在最初设计方案(译注:angular-ui的设计方案)之中的(在实.....
分类:
其他好文 时间:
2014-10-10 16:33:30
阅读次数:
6262
?上一篇 (Nested States & Nested Views) 下一篇 (URL Routing) ?You can name your views so that you can have more than oneui-viewper template. Let's say you h....
分类:
其他好文 时间:
2014-10-10 14:47:20
阅读次数:
408
Unable to execute dex: Multiple dex files define Landroid错误解决方案 - android大牛MrJing 活动中心 - 博客频道 - CSDN.NEThttp://blog.csdn.net/jingwen3699/article/detai...
分类:
移动开发 时间:
2014-10-09 19:34:57
阅读次数:
223
C = ControlM = Meta = Alt|EscBasicsC-x C-f"find" file i.e. open/create a file in bufferC-x C-ssave the fileC-x C-wwrite the text to an alternate nameC...
分类:
其他好文 时间:
2014-10-09 15:58:54
阅读次数:
176
The key is to use two constant space(32 bits) to store how many times 1 or 0 showed up in the bit i. If times of 1 in bit i is not the multiple of 3, then the unique value's bit i is 1. Otherwise the ...
分类:
其他好文 时间:
2014-10-09 15:29:08
阅读次数:
243