上一页 1 ··· 49 50 51 52 53 54 55 56 57 ··· 59 下一页
摘要: 再谈 find 命令find pathname –options [-print –exec –ok ]pathname : 目录- print : 将匹配的文件输出到标准输出- exec : 对匹配的文件执行该参数所给出的 shell 命令. 命令参数为 ‘command’ {} \; 注意 {} 和 \ ; 之间的空格- ok : 和 –exec 作用相同,只不过以一种更为安全的模式来执行该参数的 shell 命令,在每次执行之前,都会给出提示,让用户来确定是否执行。find 命令选项 -name : 按照文件名查找-perm : 按照文件权限查找-prune : 不在当前目录中查找-us 阅读全文
posted @ 2012-12-15 10:43 神之一招 阅读(167) 评论(0) 推荐(0)
摘要: 1. 最开始登录时会提示一个workspace, 这个workspace将是所有项目的总目录, 当需要重新安装eclipse或其他时, 只需要复制这个目录, 再粘贴的新的workspace就万事大吉. 2. 恢复默认布局方法. ( 很实用 ) window菜单 –> reset Perspectiv 阅读全文
posted @ 2012-12-14 23:50 神之一招 阅读(577) 评论(0) 推荐(0)
摘要: 1. 设置隐藏属性suid 意味着如果某个用户对属于自己的 shell 脚本设置了这种权限,那么其他用户在执行这一脚本时也会具有其属主的相应权限,guid , 执行相应脚本的用户将具有该文件所属用户组中用户的权限。补充 :- 设置权限是的隐藏权限作用 , 我管理着几个大型的数据库库系统,而对它们进行备份需要有系统管理权限,我写了几个脚本,并设置了它们的 guid, 这样我指定的一些用户只要执行这些脚本就能够完成相应的工作,而无需以数据库管理员的身份登录,以免不小心破坏了数据库服务器。- 查找设置了 suid , guid 的文件 ls –l | grep ‘^…s’ 和 ls –l | gre 阅读全文
posted @ 2012-12-14 18:03 神之一招 阅读(213) 评论(0) 推荐(0)
摘要: 1. 分解 关于如何分解 ? 分解是将问题分解,要具有逻辑性,而不是将程序分解。 - 分解后的函数只做 1 件事,具有普遍性,这样就可以反复利用 - 函数包含 1 ~ 15 行 - 给函数起一个好名字, 一目了然知道函数的意义 ( 能给方法起 一个简单的好的名字,并且方法也是做该名字对应的事情,是很 阅读全文
posted @ 2012-12-14 11:10 神之一招 阅读(1972) 评论(0) 推荐(0)
摘要: A trigger : Is a PL/SQL block or a PL/SQL procedure associated with a table, view, schema, or the database. Executes implicitly whenever a particular event takes place.Database triggers can be defined on tables and on views, if a DML operation is issued on a view, the INSTEAD OF trigger defines what 阅读全文
posted @ 2012-12-13 15:41 神之一招 阅读(1654) 评论(0) 推荐(0)
摘要: An Exception is an identifier in PL/SQL that is raised during execution.How is it raised ?- An Oracle error occurs. ( 自动 )- You raise it explicitly. ( RAISE )How do you handle it ?- Trap it with a handler.- Propagate it to the calling environment. ( 外层处理 )Exception TypesImplicitly : Predefined Oracl 阅读全文
posted @ 2012-12-10 10:56 神之一招 阅读(1653) 评论(0) 推荐(0)
摘要: Every PL/SQL construct is composed of one or more blocks . These blocks can be entirely separate or nested within one another .Subprogram :Is a named PL/SQL block that can accept parameters and be invoked from a calling environmentIs of two types :A procedure that performs an actionA function taht c 阅读全文
posted @ 2012-12-10 10:56 神之一招 阅读(2045) 评论(0) 推荐(0)
摘要: - A function is a named PL/SQL block that returns a value.- A function can be stored in the database as a schema object for repeated execution.- A function is called as part of an expression.A function is named PL/SQL block that can accept parameters and be invoked. Generally speaking, you use a fun 阅读全文
posted @ 2012-12-10 10:56 神之一招 阅读(1948) 评论(0) 推荐(0)
摘要: declare : CURSOR cursor_name ISselect_statement ;open : OPEN cursor_nameif the query returns no rows when the cursor is opened , PL/SQL does not raise an exception . However , you can test thestatus of the cursor after a fetch using the SQL%ROWCOUNT cursor attribute .fetch : FETCH cursor_name INTO [ 阅读全文
posted @ 2012-12-07 10:33 神之一招 阅读(980) 评论(0) 推荐(1)
摘要: 内容提要- 渐变效果- Timing event- 表单输入Image 对象var img = new Image() ; // 必须大写img.src = “a.jpg”;ctx.drawImage(img, 10, 20, 50, 50); //10,20 分别代表图标最左上角的坐标, 50,50 分别代表宽和高画矩形 :fillRect(左上x, 左上y, 宽,高) // 左上顶点坐标, 宽度和高度渐变效果在HTML5中,有两种渐变效果,一种是沿着直线的渐变方式,我们称之为线性渐变;另一种是从一个点或圆沿着一个圆的半径向四周渐变的方式,我们称之为径向渐变。下面分别来介绍这两种的渐变方式. 阅读全文
posted @ 2012-12-04 11:19 神之一招 阅读(348) 评论(0) 推荐(0)
上一页 1 ··· 49 50 51 52 53 54 55 56 57 ··· 59 下一页