页首Html代码

返回顶部
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 22 下一页
摘要: [root@VM_64_69_centos httpd]# curl http://localhost:9001/pay301 Moved PermanentlyMoved PermanentlyThe document has moved here.Apache/2.2.15 (CentOS) S... 阅读全文
posted @ 2014-06-09 17:02 ayanmw 阅读(1924) 评论(1) 推荐(0)
摘要: cJSON官网是:http://sourceforge.net/projects/cjson/?source=recommended最新版本是2013年的,与2009年的变化不是很大。看了代码,觉得挺好,只是是C语言的,不够好。就改良了一下,内存自己管理。使用std::stringhttp://fi... 阅读全文
posted @ 2014-06-03 00:14 ayanmw 阅读(19465) 评论(2) 推荐(0)
摘要: 项目要使用android 的移动支付SDK 应用内付费[http://dev.10086.cn/wiki/?p2_01_05]由于需要unity和android交互,之前研究了下,unity和android交互是可以的.但是unity和MMBilling的SDK调用为什么就是不成功呢?经过几日研究,... 阅读全文
posted @ 2014-05-19 10:10 ayanmw 阅读(1193) 评论(0) 推荐(0)
摘要: 现在unity 导出的android客户端需要调用 Android 的支付SDK,但是unity与android应该如何互相调用呢???经过百度 谷歌.终于找到方法,明白大概原理了.重要参考资料:Unity3D研究院之打开Activity与调用JAVA代码传递参数(十八)下面说几点我犯的错误:1:A... 阅读全文
posted @ 2014-05-14 15:09 ayanmw 阅读(12989) 评论(0) 推荐(0)
摘要: 之前客户端在网络条件好的时候,运行没问题.但是有时候手机的网络不稳定,接受数据可能不稳定,导致接受数据错误,一直都不知道,原来是接受数据处理的不够好!现在更改过后的接受数据的逻辑如下: //接收 public void Receive(int length, bool tag, byte... 阅读全文
posted @ 2014-05-14 11:56 ayanmw 阅读(704) 评论(0) 推荐(0)
摘要: 使用unity3D开发的一个客户端,需要导出为Android工程,然后接入一些第三方android SDK。unity版本操作系统为:OS 名称: Microsoft Windows 7 旗舰版OS 版本: 6.1.7601 Service Pack 1 Buil... 阅读全文
posted @ 2014-05-12 19:20 ayanmw 阅读(5431) 评论(0) 推荐(0)
摘要: 在微信开放平台,申请移动应用的时候:https://open.weixin.qq.com/cgi-bin/appcreate?t=manage/createMobile&type=app&lang=zh_CN&token=60682ddfbd9106b1c4b1f9d70f56c98e5f72890... 阅读全文
posted @ 2014-05-11 15:58 ayanmw 阅读(136943) 评论(1) 推荐(0)
摘要: 一个android apk的编译过程 请参考:http://www.2cto.com/kf/201312/261475.html典型的编译过程:aapt( Android Asset Packaging Tool): 把你的应用程序资源文件(例如: AndroidManifest.xml file ... 阅读全文
posted @ 2014-05-10 18:16 ayanmw 阅读(29060) 评论(0) 推荐(2)
摘要: MySQL触发器 重要学习资料:http://dev.mysql.com/doc/refman/5.1/zh/triggers.html在使用触发器的时候,遇到一个错误:[SQL]insert into tb_recharge_records(user_id,pointcoupon_added) v... 阅读全文
posted @ 2014-05-05 18:49 ayanmw 阅读(4197) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2014-04-26 20:50 ayanmw 阅读(0) 评论(0) 推荐(0)
摘要: #include #include #include using namespace std;typedef unsigned char BYTE;typedef unsigned int UINT32;typedef unsigned short UINT16;struct Datastru... 阅读全文
posted @ 2014-04-21 15:12 ayanmw 阅读(2629) 评论(2) 推荐(0)
摘要: 废话不多说,直接看代码:#includeint main(){ int i=5; for(int z=i,zmax=i+10;z<zmax;z++){ printf("i=%d z=%d\n",i,z);i++; } /* 无限循环了.... fo... 阅读全文
posted @ 2014-04-15 14:10 ayanmw 阅读(1066) 评论(0) 推荐(0)
摘要: 遇到过几次错误,通过gdb来查看错误对战,发现错误居然是atoi调用出错,除非atoi(NULL) 才会报这种错误.说明 row[0]==NULL.(gdb) bt#0 0x00007f82c6629132 in ____strtoll_l_internal () from /lib64/libc.so.6#1 0x00007f82c6625ee0 in atoi () from /lib64/libc.so.6#2 0x0000000000438c7b in MySQL_Util::select_one ( sql_string=0x7f82c4544190 "select su. 阅读全文
posted @ 2014-04-07 15:14 ayanmw 阅读(982) 评论(0) 推荐(0)
摘要: vim粘贴代码 如果有注释,那么粘贴后就惨不忍睹,类似于:我粘贴代码到a.cpp,内容为://打印函数void print_hex(const unsigned char*data,int length,int radix=16){ for(int i=0;i这样直接在插入模式按F9就会在“-- 插入 --”模式和“-- 插入(粘贴) --”模式中切换探秘:最近使用Vim来写博客,发现在Vim中粘贴Python代码后,缩进就全乱了。仔细研究了以下,原来是自动缩进的缘故,于是做如下设置::set noai nosi 取消了自动缩进和智能缩进,这样粘贴就不会错行了。但在有的vim中不行,还是... 阅读全文
posted @ 2014-04-04 14:55 ayanmw 阅读(18644) 评论(1) 推荐(2)
摘要: 转载自:http://blog.csdn.net/daydreamingboy/article/details/6310907分析MySQL数据类型的长度 MySQL有几种数据类型可以限制类型的"长度",有CHAR(Length)、VARCHAR(Length)、TINYINT(Length)、SMALLINT(Length)、MEDIUMINT(Length)、INT(Length)、BIGINT(Length)、FLOAT(Length, Decimals)、DOUBLE(Length, Decimals)和DECIMAL(Length, Decimals)。 然而,这 阅读全文
posted @ 2014-04-02 15:37 ayanmw 阅读(21279) 评论(0) 推荐(1)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 22 下一页

页脚Html代码