码迷,mamicode.com
首页 >  
搜索关键字:useradd script    ( 25397个结果
javascript通过组合实现继承
<script> ????function?Person(name,?age)?{ ????????this.name?=?name; ????????this.age?=?age; ????????this.family?=?["father"?,?"mather"?,?"sister"]?; ???...
分类:编程语言   时间:2014-09-14 19:28:48    阅读次数:210
script自定义属性传递配置参数
刚刚开始正式的职业生涯,最近几天在给公司做统一的头部js,想到了一个通过script自定义属性传递配置参数的方法。有时候我们编写了一个js插件,要使用该插件需要先在html中引入该插件Js,然后再添加一个script标签,在里面调用。如一个图片切换的插件。其代码大致如下: $.fn.p...
分类:其他好文   时间:2014-09-14 19:18:57    阅读次数:180
javascript组合模式创建对象
<script> ????function?Person(name,?age)?{ ????????this.name?=?name; ????????this.age?=?age; ????????this.family?=?["father"?,?"mather"?,?"sister"]?; ???...
分类:编程语言   时间:2014-09-14 18:09:57    阅读次数:182
javascript原型对象用字面量赋值
原型对象用字面量赋值时需要注意将constructor指回原对象。 <script> ????function?Person(name?,?age){ ????????this.name?=?name?; ????????this.age?=?age?; ????????t...
分类:编程语言   时间:2014-09-14 16:47:27    阅读次数:164
Linux 添加开机启动项的两种方法
1、编辑文件 /etc/rc.local vim /etc/rc.local #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to...
分类:系统相关   时间:2014-09-14 15:25:57    阅读次数:239
js对象冒充
<script> ????function?Person(name?,?age){ ????????this.name?=?name?; ????????this.age?=?age?; ????????this.say?=?function?(){ ????????????retur...
分类:Web程序   时间:2014-09-14 12:56:47    阅读次数:144
dojo框架用hitch实现函数与上下文的绑定
dojo框架:http://dojotoolkit.org/ <!DOCTYPE?html> <html> <head> ????<meta?charset="UTF-8"> ????<title>dojo框架绑定函数与上下文</title> ????<script??src?=?"dojo/dojo/dojo.js"??>...
分类:其他好文   时间:2014-09-14 11:34:37    阅读次数:213
CentOS 上部署Discuz!X论坛2
紧接上一篇,废话少说,直接实战。详细内容请参考《编译安装LAMP一》《MySQL-5.5.38通用二进制安装》2、安装MySQL#创建mysql用户和组 [root@localhost~]#groupadd-rmysql [root@localhost~]#useradd-r-gmysql-s/sbin/nologinmysql #目录规划 [root@localhost~]#mkdir-pv/mydata..
分类:其他好文   时间:2014-09-14 02:35:27    阅读次数:416
Nginx安装手册
安装环境:CentOS6.5 Nginx1.7.0一、创建用户组及用户(nginx /nginx) #su - #groupadd nginx #useradd -g nginx -d /home/nginx -p nginx nginx二、创建安装及WWW目录 #su - 1、安装目录:/...
分类:其他好文   时间:2014-09-13 21:20:25    阅读次数:298
【DOS批处理】函数定义和用法
本文主要讲述如下几个问题:    1.什么是函数,怎么创建函数?    2.怎么调用一个函数?    3.函数是怎么工作的?    4.怎么向函数传递参数?    5.函数怎么返回值和返回一个局部变量的值。 一、创建函数(什么是函数)     在batch script 中的函数以一个标签开始,并以goto:eof结束,如下:  script :myDosFunc -...
分类:其他好文   时间:2014-09-13 17:20:01    阅读次数:274
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!