导出excel/** * 以下是使用示例,对于以 //// 开头的行是不同的可选方式,请根据实际需要 * 打开对应行的注释。 * 如果使用 Excel5 ,输出的内容应该是GBK编码。 *///require_once 'PHPExcel.php'; // uncomment ////re...
分类:
Web程序 时间:
2015-05-05 19:05:24
阅读次数:
172
修改文件/etc/pam.d/system-auth#%PAM-1.0# This file is auto-generated.# User changes will be destroyed the next time authconfig is run.#auth require...
分类:
系统相关 时间:
2015-05-05 12:28:34
阅读次数:
267
一、如何禁止avalon自带的amd模型1、采用avalon.shim.js这个文件,这个文件删除了原本自带的amd模型,不需要手动删除,修改。2、打开avalon.js这个文件,搜索avalon.config,将true改为false。二,下载text.js和css.js1、因为avalonUI依...
分类:
其他好文 时间:
2015-05-05 00:00:55
阅读次数:
347
local scheduler = require(cc.PACKAGE_NAME .. ".scheduler") local MainScene = class("MainScene", function() return display.newScene("MainScene")end)...
分类:
其他好文 时间:
2015-05-04 23:40:58
阅读次数:
136
superman weight 解释: directive 中的controller放一些公共部分 require : 通过require让多个指令共享controller中的数据 ^ 允许从父类开始查找 require:"^superman" ? 如果找不到不抛出异常scope : {} 创建独....
分类:
其他好文 时间:
2015-05-04 17:21:17
阅读次数:
149
可能的原因如下:1. 菜单tools->Options->Debugging->General,有个Require source files to exactly match the original version的选项取消;2. 菜单tools->Options->Debugging->Symb...
分类:
其他好文 时间:
2015-05-04 15:07:59
阅读次数:
144
需要luacurl(http://luacurl.luaforge.net/)和MD5两个库函数curl = require("luacurl")require("md5")-- 下载图片function get_img(url, c) local result = {} if c ==...
分类:
其他好文 时间:
2015-05-04 15:03:55
阅读次数:
97
debugbar ?github 地址:https://github.com/barryvdh/laravel-debugbar/tree/1.8? ? ? laravel 针对1.8版本 Require this package with composer: composer require barryvdh/laravel-debugbar:~1.8 After ...
分类:
其他好文 时间:
2015-05-03 19:14:31
阅读次数:
485
2.1 npm是什么 npm(Node Package Manager)是Node.js的包管理器。它允许开发人员在Node.js应用程序中创建、共享并重用模块。2.3 安装模块 npm install [module_name]2.4 使用模块 var module = require{'m...
分类:
Web程序 时间:
2015-05-03 13:20:04
阅读次数:
155
官网文档,看着有点云里雾里,个人写的文档又五花八门,好吧,我只能自己看遍各种文档,自己总结了。去粗取精的理解。一、概念,模块化的管理 1、以module ID代替URL地址2、相对于baseUrl的地址来加载所有代码3、在//官方(1)、data-main右侧的main文件可以不带有.js后缀,也可...
分类:
其他好文 时间:
2015-05-03 07:03:53
阅读次数:
177