uplevel - Execute a script in a different stack framesuppose that procedure a was invoked from top-level, and that it called b, and that b called c. S...
分类:
其他好文 时间:
2014-10-04 13:49:46
阅读次数:
186
shell script 的追踪与 debug scripts 在运行之前,最怕的就是出现语法错误的问题了!那么我们如何 debug 呢?有没有办法不需要透过直接运行该 scripts 就可以来判断是否有问题呢?呵呵!当然是有的!我们就直接以 bash 的相关参数来进行判断吧![root@www ....
分类:
其他好文 时间:
2014-10-04 13:27:06
阅读次数:
145
本篇体验JavaScript事件的基本面,包括: ■ 事件必须在页面元素加载之后起效■ 点击事件的一个简单例子■ 为元素注册多个点击事件■ 获取事件参数 □ 事件必须在页面元素加载之后起效 有这样一段简单的代码: 现在,我们想给id为box的div添加事件,创建一个script.js文件。(func...
分类:
编程语言 时间:
2014-10-04 11:01:26
阅读次数:
251
#!/bin/sh## mysqld This shell script takes care of starting and stopping# the MySQL subsystem (mysqld).## chkconfig: - 64 36# description: MySQL data....
分类:
数据库 时间:
2014-10-03 16:06:44
阅读次数:
407
问题一:Response.Write 后连接Response.Redirect ,则Response.Write无法显示,直接跳转入Response.Redirect 的页面。解决方案:Response.Write("");假设,script内容中含有变量,那么解决方法是:string a=当前的记...
分类:
其他好文 时间:
2014-10-02 22:33:53
阅读次数:
221
USE [master]GO/****** Object: StoredProcedure [dbo].[sp_who_lock] Script Date: 10/02/2014 06:18:19 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER...
分类:
数据库 时间:
2014-10-02 07:36:46
阅读次数:
221
今天我需要在同事访问我的PHP页面的时候执行一段python脚本,于是我的代码是这样写的: 1 makeLog('ok run workjob'); 4 if($this->is_internal()){ 5 $cmd = '/usr/bin/python /data/script/abc/run....
分类:
Web程序 时间:
2014-09-30 20:14:50
阅读次数:
229
大家都知道,as和js相互调用可以通过ExternalInterface.call和ExternalInterface.addCallback来进行。比较好的做法是使用之前通过ExternalInterface.available来检测一下是否可用。然而被坑了的是,这个ExternalInterfa...
分类:
Web程序 时间:
2014-09-30 16:59:59
阅读次数:
222
参考资料:http://www.w3school.com.cn/js/index.asp? 一、教程 ????js是一种轻量级的编程语言,可插入html页面中,并由浏览器执行。 ????(1)简介 <script>
????document.write("<h1>标题一</h1>...
分类:
编程语言 时间:
2014-09-30 16:39:00
阅读次数:
190
'> ='> %3Cscript%3Ealert('XSS')%3C/script%3E %0a%0a.jsp %22%3cscript%3ealert(%22xss%22)%3c/script%3e %2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e...
分类:
其他好文 时间:
2014-09-30 16:14:29
阅读次数:
186