摘要: 安装LNMP稳定版 wget -c http://soft.vpser.net/lnmp/lnmp1.4.tar.gz && tar zxf lnmp1.4.tar.gz && cd lnmp1.4 && ./install.sh lnmp 控制台下执行lnmp vhost add 添加虚拟主机 c 阅读全文
posted @ 2017-12-13 21:55 ITEVOL 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 如果你网络可以的话直接终端运行以下命令 网络不行则切换gem的源 更新完成后在工程目录下执行 阅读全文
posted @ 2017-09-16 23:17 ITEVOL 阅读(101) 评论(0) 推荐(0) 编辑
摘要: adb.exe shell "su -c 'chmod 777 /data'" 修改文件目录的权限,如果还是不行的话,可以尝试下面的方法。 1、请确保手机已root 2、打开CMD窗口,输入adb root,出现如下结果:adbd is already running as root 再输入adb 阅读全文
posted @ 2017-08-12 18:46 ITEVOL 阅读(4944) 评论(0) 推荐(0) 编辑
摘要: 1.在“调试”中选取某项目的“属性”。 2.在“属性”->“配置属性”->“C/C++”->“常规”中将“多处理器编译”打开。 3.在“属性”->“配置属性”->“C/C++”->“代码生成”中将“启用最小重新生成”关闭。 4.在“调试”中选取某项目的“选项”。 5.在“选项”->“项目和解决方案” 阅读全文
posted @ 2017-08-12 17:16 ITEVOL 阅读(4726) 评论(0) 推荐(0) 编辑
摘要: 在CMD里输入 H:\vs_professional.exe /uninstall /force 其中H是安装介质路径,我用的是虚拟光驱,盘符是H,我的安装版本是专业版,如果是企业版就把professional改为enterprise,然后回车就开始卸载啦!卸载不了的赶快去尝试吧反正我已经卸载完了。 阅读全文
posted @ 2017-08-09 14:38 ITEVOL 阅读(204) 评论(0) 推荐(0) 编辑
摘要: Python中执行系统命令常见方法有两种: 两者均需 import os (1) os.system # 仅仅在一个子终端运行系统命令,而不能获取命令执行后的返回信息 system(command) -> exit_statusExecute the command (a string) in a 阅读全文
posted @ 2017-08-02 09:42 ITEVOL 阅读(632) 评论(0) 推荐(0) 编辑
摘要: python os模块,平常操作文件方便,执行cmd命令 Python的标准库中的os模块包含普遍的操作系统功能。如果你希望你的程序能够与平台无关的话,这个模块是尤为重要的。即它允许一个程序在编写后不需要任何改动,也不会发生任何问题,就可以在Linux和Windows下运行。 下面列出了一些在os模 阅读全文
posted @ 2017-08-02 09:37 ITEVOL 阅读(5606) 评论(0) 推荐(0) 编辑
摘要: 1.处于逻辑线程中如何将需要渲染的操作推送到主线程执行。 Director::getInstance()->getScheduler()->performFunctionInCocosThread([&,this] { log("[performFunctionInCocosThread] fini 阅读全文
posted @ 2017-07-27 20:57 ITEVOL 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 1.最新有一个需求需要用到 android5.0以上的devices-owner(设备拥有者)的功能。因为设备没有nfc功能,故采用adb命令来实现。 本来采用 逍遥模拟器 做测试。 阅读全文
posted @ 2017-07-27 09:32 ITEVOL 阅读(303) 评论(0) 推荐(0) 编辑
摘要: #include #include #include int main() { std::set input; input.insert(1); input.insert(2); std::vector vtPut(2); std::copy(input.begin(), input.end(), vtPut.begin()); return... 阅读全文
posted @ 2017-07-25 17:53 ITEVOL 阅读(236) 评论(0) 推荐(0) 编辑