- 博客(8)
- 资源 (2)
- 收藏
- 关注
原创 ssh连接The authenticity of host can't be established
修改/etc/ssh/ssh_config文件的配置,以后则不会再出现此问题 最后面添加: StrictHostKeyChecking no UserKnownHostsFile /dev/null /etc/init.d/sshd restart (或 service sshd restart ) ...
2015-06-29 18:18:03 133
原创 vagrant学习笔记
想了解多主机是如何定义和使用的, 所以又学习了一遍vagrant 1. vagrant virtualbox 下载安装 https://www.vagrantup.com/downloads.html https://www.virtualbox.org/wiki/Downloads 查看安装在命令行输入vagrant 2. 添加box 把box理解为系统的镜...
2015-06-29 12:59:30 208
原创 自定义导航栏样式
-(void)setupAppAppearance { [[UILabel appearance] setFont:[UIFont fontWithName:@"FZLTHK—GBK1-0" size:20]]; [UIButton appearance].titleLabel.font =[UIFont fontWithName:@"FZLTHK—GBK1-0" size...
2015-06-17 19:14:12 132
原创 centos安装golang
#在国内镜像下载二进制包 wget -c http://www.golangtc.com/static/go/go1.4.1.linux-amd64.tar.gz tar -C /usr/local -xzf go1.4.1.linux-amd64.tar.gz #把golang的bin目录加入全局环境变量 cat >>/etc/profile<<EOF ...
2015-06-05 08:43:16 103
原创 Objective-C编码规范[译]
原文链接 : The official raywenderlich.com Objective-C style guide 原文作者 : raywenderlich.com Team 译文出自 : raywenderlich.com Objective-C编码规范 译者 : Sam Lau 由于我正在准备模仿饿了么这个app,到时可能有些iOS开发...
2015-06-04 10:09:34 1059
原创 友盟统计页面技巧
在基类调用就可以了, 基类ViewController示例代码 -(void)viewWillAppear:(BOOL)animated { [super viewWillAppear:animated]; [MobClick beginLogPageView:[NSString stringWithFormat:@"%@",self.class]]; } - ...
2015-06-03 17:47:33 100
原创 自定义按钮, 图片在上, 文字在下, 居中显示
#import <UIKit/UIKit.h> @interface MyButton : UIButton -(void)setFrame:(CGRect)frame ImageName:(NSString*)imageName Target:(id)target Action:(SEL)action Title:(NSString*)title Font:(CGFlo...
2015-06-03 16:13:43 242
IOS自动布局XIB和CODE,附代码和PPT
2013-07-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人