码迷,mamicode.com
首页 >  
搜索关键字:require    ( 6509个结果
Node.Js之【Stream问题】
var fs = require('fs'), path = require('path'), out = process.stdout;var filePath = 'F:/IMG_0221.MOV';var readStream = fs.createReadStream(filePath);v...
分类:Web程序   时间:2015-03-15 23:39:31    阅读次数:152
unity3D中Socket链接与服务之间的通讯测试程序
Client.js: 1 var net=require('net');    2 var client=net.connect({port:8124,host:'127.0.0.1'},function(){       3     console.log('Success');       4     client.write('world');       5     ...
分类:编程语言   时间:2015-03-13 23:52:10    阅读次数:473
seajs + easyui [转]
* *content seajs+easyui使用 *//** * 首先来看看在seajs中jquery和jquery插件如何使用 */1.jquery.jsdefine(function(require,exports,module)){ //原jquery.js代码 module.e...
分类:Web程序   时间:2015-03-13 22:00:26    阅读次数:169
linux 中使用emacs+cscope 阅读内核源码
1. 先决条件是 emacs 已经安装完成2. 安装cscope$ sudo apt-get install cscope3. 在emacs 配置文件 .emacs 中添加 cscope支持(require 'xcscope)4. 生成内核源码的索引文件在内核源码的顶层目录下执行下面的命令生成索引文...
分类:系统相关   时间:2015-03-13 17:56:22    阅读次数:1674
requireJS的学习
官方文档 http://www.requirejs.cn/参考链接 http://www.w3cschool.cc/w3cnote/requirejs-tutorial-1.html http://www.ruanyifeng.com/blog/2012/11/require_js.htmlhttp...
分类:Web程序   时间:2015-03-13 12:36:35    阅读次数:180
wordpress编辑器无法切换/输入
出现问题:“可视化”和“文本”无法切换,编辑区也无法输入文字解决方法:打开wp-config.php,在require_once(ABSPATH . 'wp-settings.php');后面加入:define('CONCATENATE_SCRIPTS', false );
分类:其他好文   时间:2015-03-13 12:32:52    阅读次数:106
uva 116 Unidirectional TSP (DP)
uva 116 Unidirectional TSPBackgroundProblems that require minimum paths through some domain appear in many different areas of computer science. For example, one of the constraints in VLSI routing probl...
分类:其他好文   时间:2015-03-12 20:54:14    阅读次数:185
canvas 实现的百分比仪表盘
define(function(require) { /** * * @param {Object} option * { * max:最大值 * min:最小值 * value:当前值 * stage:6 分几段 * time:3000, 指针动画时间 * backgroundColor:背景.....
分类:其他好文   时间:2015-03-12 14:55:00    阅读次数:214
对discuz的代码分析学习(四)论坛入口文件
只是大致分析下执行流程,主要就是取得mod参数的值,根据取值加载控制器,控制器位置在最后一行指定了。1 )定义应用名称,加载两个必要文件define('APPTYPEID', 2);define('CURSCRIPT', 'forum');require './source/class/class_...
分类:Web程序   时间:2015-03-12 12:59:06    阅读次数:2473
Bringing Whoops Back to Laravel 5
You might be missing the "prettier" Whoops error handler from Laravel 4. If so, here's how to bring it back.First, composer require filp/whoops:~1.0.T...
分类:其他好文   时间:2015-03-12 09:48:17    阅读次数:150
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!