上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 50 下一页
摘要: 1. https://www.ibm.com/developerworks/cn/opensource/os-cn-python-yield/ 2.python 文章 http://python.jobbole.com/all-posts/page/7/ 阅读全文
posted @ 2018-02-28 15:19 lianhuaren 阅读(147) 评论(0) 推荐(0)
摘要: 1. 关于UIButton,既可以采用setBackgroundImage 来设置底部图片,同时也可以采用 setImage方法; 两者还是有一定区别的; 首先setBackgroundImage,image会随着button的大小而改变,图片自动会拉伸来适应button的大小,这个时候任然可以设置 阅读全文
posted @ 2018-02-26 09:42 lianhuaren 阅读(205) 评论(0) 推荐(0)
摘要: 1. http://blog.csdn.net/hero_wqb/article/details/78531218 阅读全文
posted @ 2018-02-07 15:25 lianhuaren 阅读(175) 评论(0) 推荐(0)
摘要: 1. 94 brew install mongodb 95 cd ~ 96 cd Desktop/web/ 97 ls 98 mkdir mongo 99 cd mongo/ 100 ls 101 mkdir -p data/db 102 chown `id -u` data/db 103 ls d 阅读全文
posted @ 2018-01-31 16:51 lianhuaren 阅读(123) 评论(0) 推荐(0)
摘要: 1. 于是尝试用easy_install 安装, sudo easy_install matplotlib http://blog.csdn.net/iloveyin/article/details/51074388 阅读全文
posted @ 2018-01-27 20:50 lianhuaren 阅读(154) 评论(0) 推荐(0)
摘要: 1. 运行脚本时出现了这样一个错误,打开之后并没有找到所谓的^M,查了之后才知道原来是文件格式的问题,也就是linux和windows之间的不完全兼容。。。具体细节不管,如果验证:vim test.sh:set ff?如果出现fileforma=dos那么就基本可以确定是这个问题了。:set fil 阅读全文
posted @ 2018-01-26 10:27 lianhuaren 阅读(106) 评论(0) 推荐(0)
摘要: 1. 正确的处理方法 1)设置标头的高度为特小值 (不能为零 为零的话苹果会取默认值就无法消除头部间距了) UIView *view = [[UIView alloc]initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, 0.001)] 阅读全文
posted @ 2018-01-25 10:08 lianhuaren 阅读(145) 评论(0) 推荐(0)
摘要: 1. find . -type f -exec echo {} \; find src -type f -exec sh -c "iconv -f GB18030 -t UTF8 {} > {}.txt" \; find src -name "*.cpp.txt" | awk -F '.txt' ' 阅读全文
posted @ 2018-01-24 14:41 lianhuaren 阅读(126) 评论(0) 推荐(0)
摘要: 1. grep --after-context=2 "Binary Images:" *crash xcrun atos -o zhiniao_adhoc_stg1.app.dSYM/MLPlayer.app.dSYM/Contents/Resources/DWARF/MLPlayer -l 0x1 阅读全文
posted @ 2018-01-23 12:36 lianhuaren 阅读(89) 评论(0) 推荐(0)
摘要: 1.phpstudy设置-端口常规设置 E:\phpStudy\Apache\bin>httpd.exeAH00526: Syntax error on line 14 of E:/phpStudy/Apache/conf/vhosts.conf:DocumentRoot must be a dir 阅读全文
posted @ 2018-01-18 21:50 lianhuaren 阅读(165) 评论(0) 推荐(0)
上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 50 下一页