会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
levyleo
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
下一页
2016年5月3日
淘宝的ruby镜像已无人维护,使用ruby-china的RubyGems镜像
摘要: 淘宝的镜像已经无人维护了,参考 https://ruby-china.org/topics/29250 https://gems.ruby-china.org/ 使用新的镜像 涉及到代理服务器的话,这么搞:
阅读全文
posted @ 2016-05-03 18:44 levyleo
阅读(447)
评论(0)
推荐(0)
2016年4月29日
安装 nodejs图像处理模块 sharp
摘要: 报错: 根据提示安装libvips 安装过程如下: 还是有错,重新安装node-gyp 安装成功后: 报错: 看到这一句: 根据 https://github.com/nodejs/node-gyp#the-bindinggyp-file 上写的 创建binding.gyp 里面添加: 然后: 还是
阅读全文
posted @ 2016-04-29 14:01 levyleo
阅读(7861)
评论(0)
推荐(0)
2016年4月26日
在mac上搭建python环境
摘要: 原文出处:http://blog.justbilt.com/2014/07/02/setup_python_on_mac/
阅读全文
posted @ 2016-04-26 18:51 levyleo
阅读(315)
评论(0)
推荐(0)
iOS开发-你真的会用SDWebImage?(转发)
摘要: 原文地址: http://www.jianshu.com/p/dabc0c6d083e SDWebImage作为目前最受欢迎的图片下载第三方框架,使用率很高。但是你真的会用吗?本文接下来将通过例子分析如何合理使用SDWebImage。 使用场景:自定义的UITableViewCell上有图片需要显示
阅读全文
posted @ 2016-04-26 18:50 levyleo
阅读(228)
评论(0)
推荐(0)
2016年4月9日
iOS tableview 优化总结
摘要: 根据网络上的优化方法进行了总括。并未仔细进行语言组织。正在这些优化方法进行学习,见另一篇文章 提高app流畅度 1、cell子控件创建写在 initWithStyle:reuseIdentifier 2、后台计算高度,布局。放在集合中下次使用。(计算高度是件很麻烦的事,分散计算,减少计算次数) 3、
阅读全文
posted @ 2016-04-09 11:19 levyleo
阅读(785)
评论(0)
推荐(0)
2016年4月8日
Masonry 实现输入框随键盘位置改变
摘要: Github: https://github.com/saitjr/MasonryDemo 直接上代码:
阅读全文
posted @ 2016-04-08 14:46 levyleo
阅读(424)
评论(0)
推荐(0)
2016年3月30日
sudo 权限问题
摘要: 窝里个去,不使用sudo吧rvm requirements执行不成功。加上sudo吧rvm requirements调用的brew install又不行。好吧,就按上面说的将brew转换到root模式。 1 2 3 4 5 6 ls -al /usr/local/bin/brew -rwxr-xr-
阅读全文
posted @ 2016-03-30 13:19 levyleo
阅读(250)
评论(0)
推荐(0)
2016年3月28日
nodejs save遇到的一个坑
摘要: 混合类型因为没有特定约束,因此可以任意修改,一旦修改了原型,则必须 调用markModified() >>> person.anything = {x:[3,4,{y:'change'}]} person.markModified('anything');//传入 anything,表示该属性类型发生变化 person.save();
阅读全文
posted @ 2016-03-28 17:35 levyleo
阅读(464)
评论(0)
推荐(0)
2016年3月8日
iOS app的webview注入JS遇到的坑
摘要: webview使用JSContext 向网页js注入时时机要选为网页加载完成后即放在 -(void)webViewDidFinishLoad:(UIWebView *)webView 方法 : -(void)webViewDidFinishLoad:(UIWebView *)webView{ con
阅读全文
posted @ 2016-03-08 13:42 levyleo
阅读(2243)
评论(0)
推荐(0)
2016年2月20日
the behavior of the UICollectionViewFlowLayout is not defined because:
摘要: the behavior of the UICollectionViewFlowLayout is not defined because: the item height must be less than the height of the UICollectionView minus the
阅读全文
posted @ 2016-02-20 16:04 levyleo
阅读(1886)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
下一页
公告