摘要: 出现错误: 1,备份 2、下载新的CentOS-Base.repo 到/etc/yum.repos.d/ 3,运行 yum makecache 4,运行yum install epel-release 5,运行yum install nginx 阅读全文
posted @ 2017-12-07 18:22 maxwell_xu 阅读(11484) 评论(0) 推荐(1) 编辑
摘要: 1,安装夜神模拟器 2,下载adt-bundle-windows-x86_64-20140702 3,adb connect 127.0.0.1:62001 adb在adt-bundle-windows-x86_64-20140702\sdk\platform-tools中 4,用eclipse或者 阅读全文
posted @ 2017-12-07 10:22 maxwell_xu 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 在目录adt-bundle-windows-x86_64-20140702\sdk\platforms\android-20或者 C:\Users\Administrator\AppData\Local\Android\Sdk\platforms\android-20下 1,创建optional文件 阅读全文
posted @ 2017-12-06 18:41 maxwell_xu 阅读(1108) 评论(0) 推荐(0) 编辑
摘要: 用node创建本地web服务 1,创建本地文件server.js 2,创建加载类型mime.js 3,创建一个文件夹assets放资源 4 node server.js运行 阅读全文
posted @ 2017-11-30 16:02 maxwell_xu 阅读(337) 评论(0) 推荐(0) 编辑
摘要: 方法1:用form添加post 方法2:用nginx转发 阅读全文
posted @ 2017-11-30 14:02 maxwell_xu 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 1,在线编译,进入typescript官网http://www.typescriptlang.org/,点击里面的playground就可以直接写代码了。 2,在本地编译运行Typescript需要使用npm下载typescript npm install -g typescript tsc Hel 阅读全文
posted @ 2017-11-21 18:41 maxwell_xu 阅读(12612) 评论(0) 推荐(0) 编辑
摘要: 查看定时任务状态 修改定时任务 例子 阅读全文
posted @ 2017-11-11 14:00 maxwell_xu 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 1,添加gzip压缩,在nginx.conf中添加,gzip_types可以在mime.types对应配置 2,添加跨域,egret的话需要在主文件Main.js中添加 egret.ImageLoader.crossOrigin = "anonymous"; 完整nginx.conf配置 3,ssl 阅读全文
posted @ 2017-11-04 16:29 maxwell_xu 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 安装工具 在要压缩的src目录下创建gulpfile.js 结果获得一个未压缩的all.js和已经压缩的all.min.js 阅读全文
posted @ 2017-11-03 17:06 maxwell_xu 阅读(303) 评论(0) 推荐(0) 编辑
摘要: OBB碰撞检测,坐标点逆时针 测试,在Main中添加 阅读全文
posted @ 2017-11-01 16:57 maxwell_xu 阅读(639) 评论(0) 推荐(0) 编辑