码迷,mamicode.com
首页 >  
搜索关键字:lua require module    ( 21569个结果
nodejs 爬虫
参考了各位大大的,然后自己写了个爬虫用到的modules:utils.js --- momentmodule_url.js var http = require("http"); //获得页面数据 var cheerio = require("cheerio")...
分类:Web程序   时间:2014-06-27 19:58:25    阅读次数:278
seajs模块路径解析 简单总结
seajs模块路径解析最近在试着用seajs + grunt改造现有项目, 遇到的最大的问题就是seajs命名与调用, 简单总结一下。模块调用seajs中调用模块有两种方式,seajs.use(ID) 、 require(ID)。ID命名完整绝对路径 例如 "http://example.com/t...
分类:Web程序   时间:2014-06-27 18:27:51    阅读次数:255
VSM and VEM Modules
Information About ModulesCisco Nexus 1000V manages a data center defined by a VirtualCenter. Each server in the data center is represented as a module...
分类:其他好文   时间:2014-06-27 17:04:58    阅读次数:184
Lua中调用C函数(lua-5.2.3)
Lua能够调用C函数的能力将极大的提高Lua的可扩展性和可用性。 对于有些和操作系统相关的功能,或者是对效率要求较高的模块,我们全然能够通过C函数来实现,之后再通过Lua调用指定的C函数。 对于那些可被Lua调用的C函数而言,其接口必须遵循Lua要求的形式,即typedef int (*l...
分类:其他好文   时间:2014-06-27 15:04:37    阅读次数:202
《cocos2d-x游戏开发》—— lua学习总结(一)数组的使用
在lua中,数组是用table来实现的。1、数组的定义:self.itemArrays = {}; --作为数组来使用的表itemArrays2、 数组插入一条数据:local showItemSprite = CCSprite:create(); --创建一个精灵对象showItemSpri...
分类:其他好文   时间:2014-06-27 11:01:03    阅读次数:202
linux设备驱动程序注册过程详解
Linux的驱动程序注册过程,大致分为两个步骤: 模块初始化驱动程序注册 下面以内核提供的示例代码pci-skeleton.c,详细说明一个pci设备驱动程序的注册过程。其他设备的驱动代码注册过程基本相同,大家可自行查看。使用的内核代码版本是2.6.38。 1. 模块初始化 1.1 驱动程序入口 所有的设备驱动程序都会有如下两行代码: 1922 module_init(netdrv...
分类:系统相关   时间:2014-06-27 10:53:33    阅读次数:423
FindBugs:Compiler output path for module can not be null. check your module/project settings问题原因
可能很多人在使用Android studio 中的插件中会发现这个错误提示:Compiler output path for module can not be null. check your module/project settings。 会报这个错误是因为你工程没有make。因为Findbugs并不是针对你的源代码进行检测,而是根据编译后文件(如:class.dex)进行检测。 所以如...
分类:数据库   时间:2014-06-27 09:42:01    阅读次数:303
Cacti监控磁盘IO(rhel)
1、检查net-snmp是否支持IO监控snmpwalk-v1-c public监控机的IPUCD|more执行如上命令,如果返回类似如下数据,则表示支持disk io的监控,否则需要重新编译增加diskio-module模块。1.UCD-DISKIO-MIB::diskIOIndex.1=INTEGER: 12.UCD-DISKIO-MIB::diskIOIndex.2=INTEGER:23.UCD-D..
分类:其他好文   时间:2014-06-27 06:42:20    阅读次数:396
Lua 跟 C++ 的交互
Lua 和 C++ 是这样交互的 乱七八糟的前戏: 1. 到官网下载 Lua 文件 2. 设置环境  可参考 交互过程有:...
分类:编程语言   时间:2014-06-26 14:11:51    阅读次数:222
JavaScript Patterns 5.4 Module Pattern
This post introduces how to use the module pattern to limit the access scope of the methods of object or constructor in the module.
分类:编程语言   时间:2014-06-26 12:19:06    阅读次数:231
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!