码迷,mamicode.com
首页 >  
搜索关键字:script syntax    ( 25337个结果
【scrapy】基础知识
ItemsItem objects are simple containers used to collect the scraped data.They provide a dictionary-like api with a convenient syntax for declaring the...
分类:其他好文   时间:2014-07-16 22:48:37    阅读次数:186
Java执行groovy脚本
1 Binding binding = new Binding(); 2 binding.setVariable("foo", new Integer(2)); 3 GroovyShell shell = new GroovyShell(binding); 4 5 String script =.....
分类:编程语言   时间:2014-07-13 09:26:06    阅读次数:241
函数(Function)作用域
函数跟变量一样也是有作用域的:Global、Script、Local、PrivateGlobal:作用于整个PowerShell会话,只要PowerShell会话不结束,被Global修饰的变量和函数都是可用的。Script:仅作用于脚本执行期间,一旦脚本执行完毕,脚本中被Script修饰的变量和函...
分类:其他好文   时间:2014-07-11 22:23:43    阅读次数:208
【转】T-SQL 教程
1 USE [test] 2 GO 3 /****** Object: StoredProcedure [dbo].[PageIndex] Script Date: 12/07/2011 10:26:36 ******/ 4 SET ANSI_NULLS ON 5 GO 6 SET QUOT...
分类:数据库   时间:2014-07-11 21:22:32    阅读次数:615
linux下神奇的script命令
script 是一个神奇命令,script 能够将终端的会话过程录制下来,然后使用 scriptreplay 就可以将其录制的结果播放给他人观看。script 的好处就在于你在终端中的所有操作、敲过的命令和打印出的结果它都可以原原本本地进行录制。可以应用于教学、演示、审计。一般来说,script.....
分类:系统相关   时间:2014-07-11 12:45:30    阅读次数:357
Lists are mutable
The syntax for accessing the elements of a list is the same as for accessing the characters of a string – the bracket operator ([ ]). The expression i...
分类:其他好文   时间:2014-07-11 08:55:10    阅读次数:174
Vim ---- 简单好用的 vim 配置文件,不用插件
set hlsearch set backspace=2 set ruler set showmode set nu set bg=dark syntax on set shiftwidth=2 set tabstop=4 set softtabstop=2 set expandtab set autoindent set smartindent...
分类:其他好文   时间:2014-07-10 23:23:27    阅读次数:230
jQuery学习示例------点击红色方块实现左右晃动
<!DOCTYPEhtml> <html> <head> <title>test</title> <scripttype="text/javascript"src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script> <scripttype="text/javascript"> $(function(){ ..
分类:Web程序   时间:2014-07-10 18:42:15    阅读次数:313
linux 配置多IP
这里以红帽Linux为例。假定原系统已配置一个IP,地址为:192.168.20.140,配置文件路径/etc/sysconfig/network-script/ifcfg-eth0。现在需要配置一个网段为192.168.1的IP。 步骤(需要root用户权限): 1、cp /etc/sysconfig/network-script/ifcfg-eth0 /etc/sysconfig/ne...
分类:系统相关   时间:2014-07-09 11:23:39    阅读次数:247
由ORACLE_SID想到脚本的四种运行方法
以前学习脚本知道一个概念,关于脚本运行方式的问题,我们熟知的脚本运行方式有以下几种:(1)、./script.sh(点斜线脚本)(2)、shscript.sh(sh空格脚本)(3)、sourcescript.sh(source空格脚本)(4)、.script.sh(点空格脚本)先写个简单的脚本,把执行结果贴在下面,然后分别对这几种..
分类:数据库   时间:2014-07-09 08:15:03    阅读次数:255
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!