下载PHPExcel源码:http://phpexcel.codeplex.com/ 只要 PHPExcel_1.8.0_doc\Classes 目录下所有文件即可
<?php
require_once("../db_config.php");
require_once("Classes/PHPExcel.php");
include("Classes/PHPExcel/IOF...
分类:
Web程序 时间:
2014-10-08 12:29:45
阅读次数:
274
// 说明 Node API 版本为 v0.10.31。 中文参考:http://blog.sina.com.cn/oleoneoy本段为博主注解。目录●全局对象 ○global ○process ○console ○Class: Buffer ○require() ■require.resol.....
// 说明 Node API 版本为 v0.10.31。 中文参考:http://nodeapi.ucdok.com/#/api/本段为博主注解。目录●概要概要一个以 ’Hello World‘ 作为响应的以 Node 编写的web 服务器:1 var http = require('http'.....
在Javascript中,模块化的开发模式有很多优点,我就在网上找了几点,不管你懂不懂,反正我是不懂模块化开发的。现在业界比较规范的是AMD,研究模块化开发可以使用比较流行的require.js库来实现模块化的开发,推荐阅读Snandy的相关系列文章(相当给力):http://www.cnblogs...
分类:
Web程序 时间:
2014-10-06 16:56:00
阅读次数:
164
/**
* 书本:【ThinkingInC++】
* 功能:引用计数,可以知道有多少个对象指向这个对象。
* 时间:2014年10月5日14:28:11
* 作者:cutter_point
*/
#include "../require.h" //这个文件是为了检验一些错误的,这个可以用#include代替,但是相应的函数也要改
#include
#include
using namesp...
分类:
编程语言 时间:
2014-10-05 18:00:48
阅读次数:
136
类中指针
CopyingWithPointers.cpp
/**
* 书本:【ThinkingInC++】
* 功能:类中指针
* 时间:2014年10月4日14:26:19
* 作者:cutter_point
*/
#include "../require.h"
#include
#include
using namespace std;
class Dog
{
...
分类:
编程语言 时间:
2014-10-04 16:42:36
阅读次数:
214
require"lfs"
function findindir (path, wefind, r_table, intofolder)
for file in lfs.dir(path) do
if file ~= "." and file ~= ".." then
local f = path..'\\'..file
--p...
分类:
其他好文 时间:
2014-10-04 14:28:26
阅读次数:
400
Using Marmalade: ```lisp (require ‘package) (add-to-list ‘package-archives ‘("marmalade" . "http://marmalade-repo.org/packages/")) (package-initialize) ``` Using MELPA: ```lisp (require ‘package) (...
分类:
其他好文 时间:
2014-10-04 07:21:46
阅读次数:
229
##利用Point作为例子 ``` local math = require("math") local Point = {x = 0, y = 0} Point.__index = Point function Point.new(x, y) local self = setmetatable({}, Point) if (type(x) == "table") then f...
分类:
其他好文 时间:
2014-10-04 03:34:16
阅读次数:
168
下载http://www.oschina.net/p/redis解压后里面有:lib 源文件 、examples 例子、test测试将lib目录拷贝到你的项目中,就可以开始你的predis操作了。//使用autoload加载相关库,这边重点就是为了require $file;spl_autoload...
分类:
Web程序 时间:
2014-10-03 19:28:05
阅读次数:
269