码迷,mamicode.com
首页 >  
搜索关键字:require    ( 6509个结果
Node 与 Thrift
背景:公司要用Node与其他语言(Java)写的服务通信。 1,服务端?helloServer.js var?thrift?=?require(‘thrift‘); var?helloService?=?require(‘./HelloService‘); var?server?=?thrift.createServ...
分类:其他好文   时间:2015-04-16 22:05:43    阅读次数:143
解决Win7下安装composer asset插件时ssl报错的问题
在win7下运行composer,安装asset插件时,出现SSL报错:D:\data\www\mmoyu\symapp>composer global require "fxp/composer-asset-plugin:1.0.0"Loadingcomposerrepositorieswithp...
分类:Windows程序   时间:2015-04-16 19:49:52    阅读次数:1224
Get a snapshot by using phantomJS
Here is the source code about obtain a snapshot of a website by using phantomJS. var webPage = require("webpage"), address, filename, height, width; // generate webPage object var page = webPage.crea...
分类:Web程序   时间:2015-04-16 12:33:11    阅读次数:152
断点无法命中
1、删除工程文件下bin与obj文件夹里的全部文件。这时后再进行调试。如果步骤1不能解决问题,可以再做下面步骤2、3然后再调试试一试。2、【Debug/Options And Settings/Debugging/General】右边的【Require source files to exactly...
分类:其他好文   时间:2015-04-16 12:05:45    阅读次数:160
(转)PHP 的 __FILE__ 常量
今天碰到了PHP的常量__FILE__的问题了。在网上查了一下。总结了以下规律。dirname(__FILE___)函数返回的是脚本所在在的路径。比如文件b.php包含如下内容:如果b.php被其他目录里的a.php文件require或者include去引用的话。变量$basedir的内容还是b.p...
分类:Web程序   时间:2015-04-15 18:27:16    阅读次数:138
有一些关于,orapwd命令entries参数的探究
早上看Oracle官方文档《Administrator's Guide》时,在密码文件章节,关于orapwd命令entries参数的说明如下: This argument specifies the number of entries that you require the pas...
分类:其他好文   时间:2015-04-15 16:15:50    阅读次数:163
MSSVR邮件存储模块历史打包权重调整脚本
PHP<?php date_default_timezone_set("PRC"); require(dirname(__FILE__).‘/../../config/config.php‘); $md5_from_user=MD5($_SERVER[‘REMOTE_ADDR‘].$_COOKIE[‘uname‘].$cookie_token); if($_COOKIE[‘userip‘]!="$md5_from_user"){ setcookie("uname",NULL); setcookie("u..
分类:其他好文   时间:2015-04-15 15:00:25    阅读次数:314
c语言重载(overriding in C)或函数不定参数个数
google一下 c overiding发现有这样一段英文解释:Because C doesn't require that you pass all parameters to the function if you leave the parameter list blank in the pr...
分类:编程语言   时间:2015-04-15 11:11:42    阅读次数:175
[Node.js]node中的require到底是怎样工作的
##关于require 但凡使用过node.js/io.js,必定都会用到`require`这个函数来引用其它模块(自己写的或他人的)。但很多人(包括本人)都没有把node中关于require(在文档中**modules**这一部份)介绍认真看过一遍。 ----...
分类:Web程序   时间:2015-04-15 01:02:17    阅读次数:182
使用requirejs来管理angularJS依赖示例
有关requirejs是什么在这里不做解释,只用纯代码实战让你感受requirejs依赖管理的强大。 一、首先要先下载require.js,然后整一个入口文件main.js包括了对其他js的引用。 //配置依赖 require.config({ paths: { "angular":"angular" }, shim:{ "angular...
分类:Web程序   时间:2015-04-14 19:50:29    阅读次数:139
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!