码迷,mamicode.com
首页 >  
搜索关键字:require    ( 6509个结果
yii框架通过控制台命令创建定时任务
假设Yii项目路径为 /home/apps1. 创建文件 /home/apps/web/protected/commands/console.php$yii = '/home/apps/framework/yii.php';require_once($yii);$configFile = dirna...
分类:其他好文   时间:2015-05-17 23:09:33    阅读次数:138
Fiddler替换response
先看一下真实的response是什么样的。点击Inspectors->Raw,如果有乱码,有一行提示“Response is encoded and may require decoding before inspection. Click here to transform”,点一下就解析出来了。...
分类:其他好文   时间:2015-05-17 13:36:12    阅读次数:111
Org-mode 任务添加提醒
org-mode中的约会日程有提醒功能,这样设置就行:;; ;;; 提醒;; (require 'appt);; (appt-activate t);启用约会提醒;; (setq appt-display-format 'window);提醒出现的方式;; (setq appt-message-wa...
分类:其他好文   时间:2015-05-16 23:16:08    阅读次数:251
百度-Echarts-学习
//路径配置 require.config({ paths:{ 'echarts' : 'http://echarts.baidu.com/build/echarts', 'echarts/chart/bar' : 'http://echarts.baidu.com/build/echarts...
分类:其他好文   时间:2015-05-15 19:21:20    阅读次数:177
node.js使用util实现简单继承
/** * Created by zzq on 2015/5/15. */ var util = require('util'); var Person = function(){ var myD='1'; this.name = "a", th...
分类:Web程序   时间:2015-05-15 15:20:11    阅读次数:116
php中文件的引入
1.require 'n.php';2.通过变量引入$fil="b.php";require $fil;3.require (b.php);先判断,再引入,如果发现c.php已经引入,则不再引入,只能引入一次require_once 'c.php';includeinclude_once这两个区别是...
分类:Web程序   时间:2015-05-15 13:20:21    阅读次数:124
NodeJS学习之2:express版的Hello World
接着NodeJS学习之1:express安装的结果;我们继续应用程序的编写。新建一个 app.js 文件$ touch app.jscopy 进去这些代码// 这句的意思就是引入 `express` 模块,并将它赋予 `express` 这个变量等待使用。var express = require(...
分类:Web程序   时间:2015-05-14 23:32:36    阅读次数:131
javascript模块化开发----sea.js
废话不多,直接正题定义一个模块test.js下面的三个三叔require exports module 不能随意修改,只能用这三个define(function( require , exports , module ){ function test (){ } /...
分类:编程语言   时间:2015-05-14 20:24:14    阅读次数:200
axis2 client namespace mismatch
在基于axis2进行WebService开发部署时(使用Java客户端调用服务)可能会报namespace mismatch require http://ws.apache.org/axis2 found http://ws.apache.org/axis2/xsd?这样的错误.根据本人的经验,当使用P...
分类:其他好文   时间:2015-05-14 18:54:57    阅读次数:186
nodejs 发送邮件配置
1,使用nodemailer npm install nodemailer --save-dev 2,创建一个发送邮件的工具包,如email_server.js var nodemailer = require('nodemailer'); var internals = {}; internals.extend = function (o, n) { for (var p in n...
分类:Web程序   时间:2015-05-12 21:06:33    阅读次数:160
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!