摘要: 工作环境 OS X EI Capitan 10.11.1 当时的apache 的版本为 1.7.XX (终端 可以用 svn --version 查看svn版本 ,是两个短线哦) AS 报错消息 svn: E155021: This client is too old to work with th 阅读全文
posted @ 2016-08-29 22:53 mingcoder 阅读(1123) 评论(0) 推荐(0) 编辑
摘要: Windows 批处理(bat)文件转换成 Mac 的批处理(sh)文件 1. bat转换成sh文件,注销掉echo ,title字段; 2.将bat文件中的';'分隔符替换成':' ; Mac 添加Java 环境变量 1.打开终端 输入 cd ~ niko:~ mmk$ open -e .bash 阅读全文
posted @ 2015-12-22 18:35 mingcoder 阅读(5954) 评论(0) 推荐(0) 编辑
摘要: 最近闲来无事,升级了下系统,有10.7 Lion 升级到 10.11 El Capitan版本;升级的过程比较慢;升级后要更新Xcode 7.11、apapche 无法正常使用 在终端中可以使用apachectl restart 命令,但是无法打开主机ip地址、localhost、127.0.0.... 阅读全文
posted @ 2015-11-12 19:16 mingcoder 阅读(2251) 评论(0) 推荐(0) 编辑
摘要: 问题描述:在mac os x中安装android开发环境后,当连接设别的时候,发现不能连接设备,按说,mac os x是无需安装驱动,也无需豌豆夹之类工具的。 问题解决:需要将设备的usb vender id加入到 .android/adb_usb.ini中,无法连接的设备,一般都是国产手机。步骤如 阅读全文
posted @ 2015-09-21 14:58 mingcoder 阅读(1562) 评论(0) 推荐(0) 编辑
摘要: 在 Cornerstone 中点击 Log 总是提示 “Could not contact repository to read the latest log entries”。在 Stackoverflow 上找到了这个I was having the same problem and email... 阅读全文
posted @ 2015-06-30 12:20 mingcoder 阅读(1783) 评论(0) 推荐(0) 编辑
摘要: 使用Sublime编辑器编辑lua文件时出现Decode error - output not utf-8; 首先查看文本的格式是否是UTF-8的,使用Notepad++ 查看编码格式,保存为UTF-8的格式; 如果还是报错,就对已更改文件进行逐句对比,查看是否有中文编码个格式的标点符号之类的;有时 阅读全文
posted @ 2015-06-04 14:42 mingcoder 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 1.对字符中的“()”的内容剪切; 1 local num1 = string.find(str1,"(");2 local num2 = string.find(str1,")");3 4 local str2 = string.sub(str1,0,num1... 阅读全文
posted @ 2015-03-16 17:55 mingcoder 阅读(4506) 评论(0) 推荐(0) 编辑
摘要: 对已知中文字符串进行分割,以“(”和“)”来截取字符串;str1="白雪皑皑雪橇行,胡子老人把人惊(落花无声)";print(str1);num1 = string.find(str1,'(')num2 = string.find(str1,')')print(num1,":",num2);prin... 阅读全文
posted @ 2015-03-10 15:40 mingcoder 阅读(952) 评论(0) 推荐(0) 编辑
摘要: 1、ping 命令 ping www.cnblogs.com 使用 ctrl + c 停止 ping; 阅读全文
posted @ 2014-12-02 17:38 mingcoder 阅读(198) 评论(0) 推荐(0) 编辑
摘要: mac apache 终端重启、开启、关闭命令;sudo apachectl restartsudo apachectl startsudo apachectl stop测试 apache 配置是否有问题sudo apachectl configtest 阅读全文
posted @ 2014-11-20 12:27 mingcoder 阅读(274) 评论(0) 推荐(0) 编辑