jacky's blog

宁静致远


  • 首页

  • 归档

  • 标签

shadowsocks安装及开机启动配置

发表于 2016-01-12 | 分类于 summary |
安装git clone https://github.com/jackyshan/shadowsocks cd shadowsocks/ python setup.py install 配置编辑/etc/shadowsocks.jsonvi /etc/shadowsocks.json { "server":"0.0.0.0", "timeout":300, "method":"aes-256-cfb", "port_password": { "8383":"password1&quo ...
阅读全文 »

仿微信图片浏览器

发表于 2015-08-23 | 分类于 iOS |
步骤1、初始化imageview 123ClickImageView *imgV = [[ClickImageView alloc] initWithFrame:CGRectMake(0, 0, 130, 180)];[self.contentView addSubview:imgV];imgV.delegate = self; 2、初始化model,alertView,实现photowindow 1234567891011121314151617181920HDPhotoModel *model = [[HDPhotoModel alloc] initWithThumbImg:view.image hdUrl:[NSURL URLWithString:_url] srcRect:[sel ...
阅读全文 »

UIActionSheet封装成BlockAlertView

发表于 2015-08-23 | 分类于 iOS |
步骤1、初始化 1BlockAlertView *alertView = [[BlockAlertView alloc] initWithTitle:@"图片" style:AlertStyleSheet]; 2、添加title和block 123456789[alertView addTitle:@"保存" block:^(id result) { NSLog(@"保存"); }];[alertView addTitle:@"分享到微信" block:^(id result) { NSLog(@"分享到微信");  ...
阅读全文 »

UITableViewCell通讯录展开四级实现思路

发表于 2015-08-15 | 分类于 iOS |
Model123456789101112131415161718192021222324252627282930313233343536373839404142@interface StreetArea : NSObject@property (nonatomic, strong) NSString *street;//街道名称@property (nonatomic, strong) NSString *areaId;//区id@end@protocol StreetArea@end@interface DistrictArea : NSObject@property (nonatomic, strong) NSString *district;//区域名称@property (nona ...
阅读全文 »

iOS下载视频思路

发表于 2015-08-15 | 分类于 iOS |
网络 采用MKNetworkKit库 网络下载代码封装 12345678910111213MKNetworkOperation *operation = [[MKNetworkOperation alloc] initWithURLString:@"http://mr3.douban.com/201508152125/c7afbeeb3248c382aac7811330bb898c/view/song/small/p1469094_128k.mp4" params:nil httpMethod:@"Get"];[operation addHeader:@"Range" withValue:[NSString stringWith ...
阅读全文 »

我常用的vim命令

发表于 2015-08-15 | 分类于 summary |
Google Chrome浏览器上也可以使用vim命令进行网络浏览 要安装一个vim插件https://chrome.google.com/webstore/detail/vimium/dbepggeogbaibhgnhhndojpepiihcmeb vimium装完之后,需求帮助命令,直接在当前浏览器输入?,就会调出。
阅读全文 »

VPN网络加速器和搭建

发表于 2015-08-11 | 分类于 summary |
如果一个人使用vpn,经济点的方法就直接去买网络加速器。或者,如果有几个人使用,一起买个服务器,自己搭建vpn,几个人平摊上网也比较划算。 推荐 蓝灯网络加速,类似shadowsocks重点推荐 >优点:免费>缺点:不能修改代理配置文件,没有iOS端 红杏网络加速器 >优点:浏览器代理网络加速,只能浏览器上网,速度很快稳定 缺点:只限于浏览器,要在浏览器上装个红杏插件 GreenVpnvpn代理 >优点:vpn代理,支持iOS,Android,PC客户端,价格适中>缺点:不是很稳定,有时会断开,断开可以重连 天涯vpnvpn代理 >优点:支持iOS,Android,PC,速度相对快点,价格比greenvpn贵点>缺点:断线之后要等几 ...
阅读全文 »

利用百度云搭建Git服务器同步代码

发表于 2015-08-06 | 分类于 summary |
在百度云目录新建test.git文件夹 在test.git目录shell下执行git –bare init命令 clone百度云下的test.git 利用sourcetree上传代码
阅读全文 »

设置GoAgent在Mac上开机自启动

发表于 2015-08-05 | 分类于 summary |
Automator 打开Automator,选择应用程序 选择运行脚本 12输入python /Users/apple/Downloads/goagent/local/proxy.pypython 后跟goagent的路径 ![](/images/automator_choise_shell.png) 保存为GoAgent.App 1保存在应用程序目录 ![](/images/automator_goagent.png) 系统设置 打开用户和群组 点击左下角+号,选取GoAgent应用程序,添加
阅读全文 »

GoAgent使用收集汇总

发表于 2015-08-05 | 分类于 summary |
GoAgent最新版下载 下载完GoAgent 申请获得自己的appid,替换proxy.ini,可使用多个appid,用|隔开,例:appid = jacky1|jacky2|jacky3 寻找可用的iplist,替换local文件夹下proxy.ini的iplist地址 GoAgent图形界面 更新google host,替换本地host文件 Google镜像网站 国内的网站镜像推荐 Google全球IP地址库 Google 镜像站搜集 问题解决 让GoAgent通过IPV6科学上网http://daily.zhihu.com/story/7055714通过ipv6解决
阅读全文 »
1…456
jacky

jacky

51 日志
3 分类
20 标签
简书 掘金 GitHub
© 2019 jacky
由 Hexo 强力驱动
主题 - NexT.Pisces