代码改变世界

阅读排行榜

iOS UICollectionView之三(基本用法)

2016-01-25 12:01 by 甘雨路, 316 阅读, 收藏,
摘要: #import @interface AppDelegate : UIResponder @property (strong, nonatomic) UIWindow *window;@end#import "AppDelegate.h"#import "RootViewController.h"@... 阅读全文

iOS 上拉刷新和下拉加在更多(第三方框架EGOTableViewPullRefresh)

2015-12-31 00:04 by 甘雨路, 304 阅读, 收藏,
摘要: #import @interface AppDelegate : UIResponder @property (strong, nonatomic) UIWindow *window;@end#import "AppDelegate.h"#import "RootViewController.h"@... 阅读全文

Nginx+Tomcat集群+session共享

2017-04-19 16:10 by 甘雨路, 300 阅读, 收藏,
摘要: Nginx+Tomcat集群+session共享 1)安装Nginx 2)配置多个Tomcat,在server.xml中修改端口(端口不出现冲突即可) 3)在nginx.conf文件中配置负载均衡池,具体配置如下: 4)在Tomcat的server.xml文件中找到<Engine>或<Host>标签 阅读全文

基于Nginx简单实现动静分离

2017-04-19 08:36 by 甘雨路, 300 阅读, 收藏,
摘要: 1.首先安装Nginx 2.在Nginx.conf文件中添加如下配置: server{ listen 80; server_name www.lf.com; location ~ (.jpg|.png)$ { root D:/images; } location / { proxy_pass htt 阅读全文

iOS 修改UITextField的placeholder属性的字体颜色(修改UITextField占位符字体的颜色)

2015-12-24 17:42 by 甘雨路, 295 阅读, 收藏,
摘要: 只要把原来的placeholder属性改为attributedPlaceholder属性即可具体代码如下图: 阅读全文
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 44 下一页