安装方法http://php.net/manual/en/geoip.installation.phpgeoip中的PHP函数介绍:http://php.net/manual/en/book.geoip.php若Centos安装提示没有程序包,请执行:rpm -ivh http://ftp.jais...
分类:
系统服务 时间:
2015-06-09 15:43:41
收藏:
0 评论:
0 赞:
0 阅读:
227
#include#define MAXN 1000#define M_100 100#define M_5 6#define inf 1000000000using namespace std;struct _code{ long num; long price; int plac...
分类:
其他 时间:
2015-06-09 15:43:32
收藏:
0 评论:
0 赞:
0 阅读:
182
对TCP/IP、UDP、Socket编程这些词你不会很陌生吧?随着网络技术的发展,这些词充斥着我们的耳朵。那么我想问:1. 什么是TCP/IP、UDP?2. Socket在哪里呢?3. Socket是什么呢?4. 你会使用它们吗?什么是TCP/IP、UDP? TCP/IP(Transmission ...
分类:
其他 时间:
2015-06-09 15:43:11
收藏:
0 评论:
0 赞:
0 阅读:
333
因工作需要,需要到操作EXCEL,先了解一下怎么读取EXCEL这个,做了一个DEMO,备注在这里 一、读取EXCELunit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Contr...
分类:
Windows开发 时间:
2015-06-09 15:43:01
收藏:
0 评论:
0 赞:
0 阅读:
220
顾名思义,就是kafka的consumer api包。一、ConsumerConfig.scalaKafka consumer的配置类,除了一些默认值常量及验证参数的方法之外,就是consumer的配置参数了,比如group.id, consumer.id等,详细列表见官网。二、ConsumerIt...
分类:
其他 时间:
2015-06-09 15:42:51
收藏:
0 评论:
0 赞:
0 阅读:
2441
responseMsg();}else{ $wechatObj->valid();}class wechatCallbackapiTest{ //验证签名 public function valid() { $echoStr = $_GET["echostr"]; $signature = $_GE...
分类:
微信 时间:
2015-06-09 15:42:31
收藏:
0 评论:
0 赞:
0 阅读:
346
apache 限制并发数需要安装:mod_limitipconn模块安装方法:yum install mod_limitipconn安装完成后:检查 Apache 模块目录,看是否含有 mod_limitipconn.so 文件.在 httpd.conf 中添加ExtendedStatus OnLo...
分类:
Web开发 时间:
2015-06-09 15:42:21
收藏:
0 评论:
0 赞:
0 阅读:
358
#includeusing namespace std;#define Len 3#includeint main(){ int i,d=1,index=0,box_max=0; string * pack=new string[Len]; string * p; pack[0]="http://w...
分类:
其他 时间:
2015-06-09 15:42:01
收藏:
0 评论:
0 赞:
0 阅读:
211
#include#include#define MAXN 102#define inf 100000000using namespace std;int _m[MAXN][MAXN];int min1[MAXN][MAXN];int pre1[MAXN][MAXN];typedef int elem...
分类:
其他 时间:
2015-06-09 15:41:52
收藏:
0 评论:
0 赞:
0 阅读:
297
http://blog.csdn.net/hudashi/article/details/8176298/一、启动android默认浏览器在Android程序中我们可以通过发送隐式Intent来启动系统默认的浏览器。如果手机本身安装了多个浏览器而又没有设置默认浏览器的话,系统将让用户选择使用哪个浏览...
分类:
Web开发 时间:
2015-06-09 15:41:41
收藏:
0 评论:
0 赞:
0 阅读:
407
到http://www.cocos.com/download/#下载mac 下文件将刚才下载的压缩包解压到你指定的文件夹里,比如是放在了桌面。cd /Users/dream/Desktop/cocos2d-x-3.6/tools/cocos2d-console/bin/cocos.py打开终端运行c...
分类:
其他 时间:
2015-06-09 15:41:31
收藏:
0 评论:
0 赞:
0 阅读:
306
过滤选择器简称:过滤器。它其实也是一种选择器,而这种选择器类似与 CSS3(http://t.mb5u.com/css3/)里的伪类,可以让不支持 CSS3 的低版本浏览器也能支持。和常规选择器一样,jQuery 为了更方便开发者使用,提供了很多独有的过滤器。一.基本过滤器 过滤器主要通过特定...
分类:
Web开发 时间:
2015-06-09 15:41:11
收藏:
0 评论:
0 赞:
0 阅读:
319
Given two numbers represented as strings, return multiplication of the numbers as a string.Note: The numbers can be arbitrarily large and are non-nega...
分类:
其他 时间:
2015-06-09 15:40:52
收藏:
0 评论:
0 赞:
0 阅读:
156
#include#includeusing namespace std;int main(){ //freopen("acm.acm","r",stdin); int p; int e; int i; int d; int j; j = 0; while(cin>>p>>e>>i>>d) { if....
分类:
其他 时间:
2015-06-09 15:40:41
收藏:
0 评论:
0 赞:
0 阅读:
204
1、安装.deb文件以安装Chrome为例:(1)到官方网站下载Chrome浏览器相应版本,比如google-chrome-stable_current_i386.deb;(2)Ctrl+Alt+T打开终端,进入deb文件所在目录(默认“Downloads”,中文操作系统的话就是“下载”);cd ~...
分类:
系统服务 时间:
2015-06-09 15:40:31
收藏:
0 评论:
0 赞:
0 阅读:
372
在.Net4.0框架中,微软已经将Mschart控件集成了进来,以前一直在web下面用过,原来winform下的Mschart控件更加简单更加方便,今天我们用mschart绘制一个多曲线图,发现MsChart 的显示效果还是不错的,话不多说,直接上效果图:代码如下,供大家参考:public part...
分类:
其他 时间:
2015-06-09 15:40:21
收藏:
0 评论:
0 赞:
0 阅读:
217
1:ZIP文件压缩跟解压,使用ZipArchive创建/添加一个zip包ZipArchive* zipFile = [[ZipArchive alloc] init];//次数得zipfilename需要一个完整得路径,例如***/Documents/demo.zip[zipFile CreateZ...
分类:
移动平台 时间:
2015-06-09 15:40:12
收藏:
0 评论:
0 赞:
0 阅读:
252
Java的ClassLoader就是用来动态装载class的,ClassLoader对一个class只会装载一次,JVM使用的ClassLoader一共有4种: 启动类装载器,标准扩展类装载器,类路径装载器和网络类装载器。 这4种ClassLoader的优先级依次从高到低,使用所谓的“双亲委派模型....
分类:
编程语言 时间:
2015-06-09 15:40:01
收藏:
0 评论:
0 赞:
0 阅读:
249
朋友公司开年会,帮忙写了个抽奖的demo,源码如下,github中有程序:html: 1 2 lottery demo 3 4 5 6 7 8 9 10 ...
分类:
Web开发 时间:
2015-06-09 15:39:51
收藏:
0 评论:
0 赞:
0 阅读:
302
在说到这个问题的时候,也许有人会问CSS中不是有vertical-align属性来设置垂直居中的吗?即使是某些浏览器不支持我只需做少许的CSS Hack技术就可以啊!所以在这里我还要啰嗦两句,CSS中的确是有vertical-align属性,但是它只对(X)HTML元素中拥有valign特性的元素才...
分类:
Web开发 时间:
2015-06-09 15:39:41
收藏:
0 评论:
0 赞:
0 阅读:
250