只设置文件夹权限为755 文件权限为644find -type d -exec chmod 755 {} \;find -type f -exec chmod 644 {} \;或者find -type d|xargs chmod 755find -type f|xargs chmod 644
分类:
系统相关 时间:
2014-07-01 22:35:28
阅读次数:
235
#include #include #include #include class semaphore{unsigned int count_;boost::mutex mutex_;boost::condition_variable condition_;public:explicit sema....
分类:
其他好文 时间:
2014-07-01 22:03:34
阅读次数:
474
Application.jsfl为程序入口,导入其他jsfl【Common.jsfl】function trace(){ fl.trace(Array.prototype.join.call(arguments, " "));}【Application.jsfl】var JSFL_PATH ...
分类:
Web程序 时间:
2014-07-01 21:48:41
阅读次数:
312
以前对事件的了解停留在事件冒泡的概念。 一提到就想到了事件不断的向上冒泡的过程其实常见的事件模型分为事件冒泡,事件捕获事件冒泡 在我们使用的所有浏览器中,都支持事件冒泡,即事件由子元素向祖先元素传播。事件捕获 在firefox,chrome,safari这类标准浏览器中还支付事件捕获(I...
分类:
其他好文 时间:
2014-07-01 21:25:19
阅读次数:
204
select * from all_objectswhere object_type = 'TABLE'and object_name like 'GL_JE%'select * from po_requisition_headers_allwhere segment1 = '14304'and c...
分类:
其他好文 时间:
2014-07-01 21:15:56
阅读次数:
387
public static string GetObjectPropertyValue(T t, string propertyname){Typetype =typeof(T);PropertyInfoproperty = type.GetProperty(propertyname);if (pr...
分类:
其他好文 时间:
2014-07-01 20:30:21
阅读次数:
200
JS字符串本身并不没有提供常用的trim方法,我们可以通过修改String原形来添加此方法,我们就可以直接调用此方法了: String.prototype.trim = function(){return this.replace(/(^\s*)|(\s*$)/g, '')}String.proto...
分类:
Web程序 时间:
2014-07-01 20:25:50
阅读次数:
242
1.Flex的二义性模式语法分析器匹配输入时匹配尽可能多的字符串如果两个模式都可以匹配的话,匹配在程序中更早出的模式。针对这一点的理解,在语法分析文件当中,token的识别,应从特殊到一般的过程来编写(同时为了可以加入日志来打印当前拆分的token来debug这种情况),例如,实现语法分析过程中,遇...
分类:
其他好文 时间:
2014-07-01 20:17:12
阅读次数:
194
1.校验文件名的写法:Action name-validator.xml2.校验文件应该放在action 对应的包里面3.校验文件的写法。 true 4.常用的校验参数与类型typeurl url校验email 邮箱校验requiredstring 必填字符rege...
分类:
其他好文 时间:
2014-07-01 13:51:33
阅读次数:
173