chmod [options] mode files 只能文件属主或特权用户才能使用该功能来改变文件存取模式。mode可以是数字形式或以who opcode permission形式表示。who是可选的,默认是a(所有用户)。只能选择一个opcode(操作码)。可...
分类:
系统相关 时间:
2014-11-25 11:02:44
阅读次数:
236
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/41346969
Implement strStr().
Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.
Update (2014-11-02):
The signature of the function...
分类:
其他好文 时间:
2014-11-24 22:37:49
阅读次数:
224
1.BOM(Bowser Object Model浏览器对象模型) 浏览器创建的对象通常称作文档(Document)对象,它是浏览器使用的众多对象的一部分,浏览器操作的对象结合起来称作浏览器对象模型(Bowser Object Mode),简称BOM。2.window 对象是顶层对象,它包含了有关....
分类:
编程语言 时间:
2014-11-24 16:42:07
阅读次数:
168
使用权限:所有使用者使用方式:chmod[-cfvR][--help][--version]modefile...说明:Linux/Unix的档案调用权限分为三级:档案拥有者、群组、其他。利用chmod可以藉以控制档案如何被他人所调用。参数:mode:权限设定字串,格式如下:[ugoa...][[+...
分类:
系统相关 时间:
2014-11-24 15:00:40
阅读次数:
169
Ok 遇到了一个 选随机数的需求,但是js 没有直接的方法于是只能自己写啦,思想是这样的,将需要随机的数放入一个数组,然后Math.random()随机出数组下标function getrandom(item,mode,callback){//mode为1时是一直随机取直到数组结束 var i...
分类:
Web程序 时间:
2014-11-23 23:02:13
阅读次数:
231
void findContours(InputOutputArray image, OutputArrayOfArrays contours, OutputArray hierarchy, int mode, intmethod, Point offset=Point()) Parameters: ...
分类:
其他好文 时间:
2014-11-23 18:47:58
阅读次数:
308
这篇blog介绍 Jackson 的特点和使用方法Jackson支持三种使用方法流API(streaming api Incremental parsing/generation)JsonParse reads, JsonGenerator writes高效和part 1 json的用法类似,不好用...
分类:
Web程序 时间:
2014-11-23 17:26:49
阅读次数:
212
cat boot_mode 查看cpu版本cat cmdlinecat cpuinfo 查看cup详细信息cat devicescat diskstatscat dma-mappingscat dumchar_info 查看设备、分区挂载点、大小、起始地址cat emmc 查看部分设备、分区cat ...
分类:
其他好文 时间:
2014-11-23 15:39:48
阅读次数:
179
原文链接http://research.swtch.com/interfacesGo's interfaces—static, checked at compile time, dynamic when asked for—are, for me, the most exciting part of...
分类:
其他好文 时间:
2014-11-23 14:20:48
阅读次数:
226
在android抽屉Drawer_layout开发中,我需要关闭滑动的试图 找到了这个方法mDrawer_layout.setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_CLOSED); //关闭手势滑动mDrawer_layout.setDrawerL...
分类:
其他好文 时间:
2014-11-23 00:36:43
阅读次数:
312