原地址:http://www.cnblogs.com/svage/p/3700122.html1、删除目录及子目录下的 .svn目录 find . -type
d -name ".svn" | xargs rm -rf2、/tmp 目录的权限drwxrwxrwt rwt的意思是:对目录有执行权...
分类:
系统相关 时间:
2014-07-22 23:09:34
阅读次数:
552
查看当前目录下的文件:find.-typef查看当前目录下的文件夹:find.-typed如果文件file1不为空:if[-sfile1];thenecho"file1不为空"fi#!/bin/shforfin`find./testdir-typef`;doif[-s$f];thenecho$fis...
分类:
系统相关 时间:
2014-07-22 23:09:14
阅读次数:
407
Image MagicK 是一个强大的图象处理工具包。它提供了几个非常方 便的命令行命令:
display, animate,import, montage,mogrify,identify等,可以进行图象的显示,缩放,旋转,
调色,加框,加注释等,还能制作GIF动画,图象索引,能自动生成 图象.制...
分类:
其他好文 时间:
2014-07-22 23:07:54
阅读次数:
806
Single NumberGiven an array of integers, every
element appearstwiceexcept for one. Find that single one.Note:Your algorithm
should have a linear runti...
分类:
其他好文 时间:
2014-07-22 23:07:14
阅读次数:
337
Given a binary tree, find its maximum depth.The
maximum depth is the number of nodes along the longest path from the root node
down to the farthest le...
分类:
其他好文 时间:
2014-07-22 23:07:13
阅读次数:
379
UIImage*img =[button
imageForState:UIControlStateNormal];
分类:
其他好文 时间:
2014-05-01 15:37:41
阅读次数:
351
说句实话,AX2012
model真心不好用,当你开发好,把Model到入到客户环境时,要防止有冲突,假如出现冲突的话,还必须去删除另外一个Model里面冲突的代码,真心麻烦。下面给一个ax
导入的例子:这个就是导入mode的例子,下面还有各种命令:假如你想要上网搜索关于model命令时,可以直接百...
分类:
其他好文 时间:
2014-05-01 15:24:57
阅读次数:
324
笔刷的制作:1、新建一个文档,大小为要制作的笔刷大小,把画笔图像放里面2、选择:菜单->编辑->定义画笔预设,这时在画笔面板中会出现刚定义的画笔3、存储画笔,可以把当前的笔刷保存为一个.abr文件,便于移动到其他电脑
分类:
其他好文 时间:
2014-05-01 14:42:02
阅读次数:
309
//
查找满足指定条件的结果中的第一行$post=Post::model()->find($condition,$params);//
查找具有指定主键值的那一行$post=Post::model()->findByPk($postID,$condition,$params);//
查找具有指定属性...
分类:
数据库 时间:
2014-05-01 01:59:01
阅读次数:
411
" checking for SSL headers... configure: error: Cannot find ssl headers"
原因是缺少openssl-devel,安装这个库就可以解决问题。
yum -y install openssl-devel...
分类:
其他好文 时间:
2014-04-27 21:32:05
阅读次数:
283