- 博客(11)
- 收藏
- 关注
原创 pure Windows install pyinstaller and use for Python2.7.X
1.先直接安装 Anaconda2,下载地址:https://repo.anaconda.com/archive/Anaconda2-2018.12-MacOSX-x86_64.pkg安装过程勾选注册环境变量选项。2.下载安装 pyinstaller 所需文件,下载地址:https://pypi.org/①:macholib-1.11-py2.py3-none-any.whl②:p...
2019-03-22 16:22:21
173
原创 mySQL安装与使用
配置环境变量后,cmd 命令行窗口mysqladmin -uroot -p password输入原密码,新密码不输入,可清除密码
2017-05-04 09:53:43
295
原创 前后端共享文件的批处理
.\server\bin\Win64\node Tools\FormatJson\app.jsrem 删除原来的rd /s /q server\app\shared\commrd /s /q server\app\shared\configrd /s /q server\app\shared\configOptrd /s /q server\app\shared\designScrip
2017-04-14 09:27:12
473
原创 cocos2dx-js灰化高亮等等
// 给节点设置自定义的Shadercc.Node.prototype.setCustomShader = function (vsh, fsh, enable) { var node = this; var children; var i; // 现在写的这些shader在web版中不兼容,一下子没找到兼容方法, // 暂时先把web版屏蔽一下,不然点
2017-04-12 14:50:22
681
原创 六边形格子地图坐标计算与转换
// 世界场景的一些数据管理,如提供坐标转换之类的接口var WorldMapManager = function () { this.mapSize = null; // 地图大小,像素 this.curViewPos = null; // 当前大地图视野坐标 // 初始化世界地图的数据 this.init = function (mapSize,
2017-04-12 13:29:16
11982
原创 实用JS代码接口
var Util = { // 数组和对象深度拷贝 clone : function (sObj) { if (typeof sObj !== "object" || sObj == null) { return sObj; } var i; var cObj = {}; i
2017-04-12 13:23:05
362
转载 npm模块generic-pool源码分析
About generic-poolgithub地址:https://github.com/coopernurse/node-pooldescription: Generic resource pool. Can be used to reuse or throttle expensive resources such as database connections.由此可
2016-07-05 20:22:15
765
转载 cocos2dx常见的46中+22中动作详解
bool HelloWorld::init(){ ////////////////////////////// // 1. super init first if ( !CCLayer::init() ) { return false; } CCSprite * sp= CCSprite::create("I
2016-06-21 13:24:36
262
原创 使用脚本排除bug疑问
创建脚本文件: ------------------------------------- test.js ------------------------------------------- var a = "/FGEBA+GWGF/AGDG+/GAGAGA+GAGAVBE+BAG+AGA+GBA+BABAGERNMTUILYDEJRJYRHJN
2016-05-15 17:56:11
448
原创 工具使用记录
==================== adb =================————$ adb logcat 捕获 Android 输出信息————$ adb logcat -s wuzy:* 捕获 Android 输出的 wuzy 信息 类似于 Log.e("wuzy", "explain~~~~");————$ adb sh...
2016-05-15 17:50:22
308
原创 JS 使用 Android + IOS 相册 + 相机 进行自定义头像 + 限制裁剪后图片尺寸 + base64 string 与 图片互相转换
protected void onActivityResult(int requestCode, int resultCode, Intent data) { // TODO Auto-generated method stub super.onActivityResult(requestCode, resultCode, data);
2016-05-15 16:35:33
2219
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人