摘要: #!/usr/bin/envpython#coding=utf-8importosdefrename(path):foriteminos.listdir(path):#print'filename:%s'%os.path.splitext(item)[0]fname=os.path.splitext... 阅读全文
posted @ 2014-04-29 18:45 一个人去流浪 阅读(650) 评论(0) 推荐(0) 编辑
摘要: 按照http://www.dotvoid.com/2012/09/using-xdebug-in-mamp/所说的,把下列内容[xdebug];zend_extension="/Applications/MAMP/bin/php/php5.4.4/lib/php/extensions/no-debug-non-zts-20100525/xdebug.so"更改到了[xdebug]zend_extension="/Applications/MAMP/bin/php/php5.4.4/lib/php/extensions/no-debug-non-zts-201005 阅读全文
posted @ 2013-12-10 15:11 一个人去流浪 阅读(2446) 评论(2) 推荐(1) 编辑
摘要: MAMPYII报错:grep: /usr/include/php/main/php.h: No such file or directorygrep: /usr/include/php/Zend/zend_modules.h: No such file or directorygrep: /usr/include/php/Zend/zend_extensions.h: No such file or directory编译安装PHPerror: Please specify the install prefix of iconv with --with-iconv=解决:下载编译安装libic 阅读全文
posted @ 2013-12-08 03:13 一个人去流浪 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 修复办法:1) in /Applications/MAMP/bin/php/php5.5.3/conf/php.ini2) set opcache.revalidate_freq=03) restart MAMPhttp://stackoverflow.com/questions/19073270/stop-caching-for-php-5-5-3-in-mamp 阅读全文
posted @ 2013-12-08 02:43 一个人去流浪 阅读(605) 评论(0) 推荐(0) 编辑
摘要: up vote0down voteaccepted Just Click on your target Name beside stop button > Manage Schemes > Select and change name http://stackoverflow.com/que... 阅读全文
posted @ 2013-12-07 14:16 一个人去流浪 阅读(757) 评论(0) 推荐(0) 编辑
摘要: Property's synthesized getter follows Cocoa naming convention for returning 'owned' objects不推荐以new或者copy为变量名前缀 阅读全文
posted @ 2013-11-29 17:56 一个人去流浪 阅读(292) 评论(0) 推荐(0) 编辑
摘要: Images.xcassets: None of the input catalogs contained a matching app icon setnamed "AppIcon".工程-build setting- 搜索asset- 删除AppIcon 阅读全文
posted @ 2013-11-25 13:56 一个人去流浪 阅读(1803) 评论(0) 推荐(0) 编辑
摘要: http://stackoverflow.com/questions/19213782/undefined-symbols-for-architecture-arm64 阅读全文
posted @ 2013-11-23 15:23 一个人去流浪 阅读(1278) 评论(0) 推荐(0) 编辑
摘要: yes | cat -n 无限输出y并伴随显示行数 阅读全文
posted @ 2013-11-21 20:58 一个人去流浪 阅读(116) 评论(0) 推荐(0) 编辑
摘要: find . -name '*.h' | xargs wc -l把 '*.h' 换成 '*.m' 就可以统计后缀名为.m的文件的行数啦 阅读全文
posted @ 2013-11-21 20:53 一个人去流浪 阅读(182) 评论(0) 推荐(0) 编辑