This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
#在和脚本同目录下新建IPList.txt文件,并写入要测试的IP地址,保存后测试 | |
for i in `cat ./IPList.txt` | |
do | |
ping=`ping -c 1 $i|grep loss|awk '{print $6}'|awk -F "%" '{print $1}'` | |
if [ $ping -eq 100 ];then | |
echo ping $i fail | |
else | |
echo ping $i ok |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git init # 初始化本地git仓库(创建新仓库) | |
git config --global user.name "xxx" # 配置用户名 | |
git config --global user.email "[email protected]" # 配置邮件 | |
git config --global color.ui true # git status等命令自动着色 | |
git config --global color.status auto | |
git config --global color.diff auto | |
git config --global color.branch auto | |
git config --global color.interactive auto | |
git config --global --unset http.proxy # remove proxy configuration on git | |
git clone git+ssh://[email protected]/VT.git # clone远程仓库 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#通过 Homebrew Cask 优雅、简单、快速的安装和管理 OS X 图形界面程序 | |
#安装Homebrew Cask(可选 正常安装的Homebrew不需要) | |
brew tap caskroom/cask | |
brew install brew-cask | |
#卸载Homebrew Cask | |
#使用Homebrew Cask安装软件 | |
brew cask install <appName> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#安装 默认已安装Xcode | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
#卸载 | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)" | |
#或者下面命令 | |
cd `brew --prefix` | |
rm -rf Cellar | |
brew prune |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#安装锐速 | |
wget -N --no-check-certificate https://raw.githubusercontent.com/91yun/serverspeeder/master/serverspeeder.sh && bash serverspeeder.sh | |
#备用 | |
wget -N --no-check-certificate https://raw.githubusercontent.com/91yun/serverspeeder/master/serverspeeder-all.sh && bash serverspeeder-all.sh | |
#卸载 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
隐私政策 | |
DualuxBT尊重并保护所有使用DualuxBT及DualuxBT提供的与本应用相关的官方网站、用户社区等服务(以下简称“产品”)的用户(以下简称“用户”或“你”)的个人隐私。DualuxBT隐私政策(以下简称“隐私政策”)规定和说明了DualuxBT收集、使用和披露个人隐私的政策及流程。 | |
本隐私政策是服务协议的组成部分,下载、安装产品则视为对本隐私政策的同意。不同意本隐私政策的,不得下载、安装和使用产品,或应立即删除。 | |
未得到用户的同意,DualuxBT不会有意将涉及用户个人隐私的内容透露给任何第三方,但本隐私政策另有说明的除外。 | |
一、我们收集哪些信息 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// App Information | |
#define AppName [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleName"] | |
#define AppVersion [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"] | |
#define AppDelegate(type) ((type *)[[UIApplication sharedApplication] delegate]) | |
#define NSAppDelegate(type) ((type *)[[NSApplication sharedApplication] delegate]) | |
#define SharedApp [UIApplication sharedApplication] | |
#define NSSharedApp [NSApplication sharedApplication] | |
#define Bundle [NSBundle mainBundle] | |
#define MainScreen [UIScreen mainScreen] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[General] | |
loglevel = notify | |
skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12,127.0.0.0/24,100.64.0.0/10 | |
bypass-tun = 0.0.0.0/8, 1.0.0.0/9, 1.160.0.0/11, 1.192.0.0/11, 10.0.0.0/8, 14.0.0.0/11, 14.96.0.0/11, 14.128.0.0/11, 14.192.0.0/11, 27.0.0.0/10, 27.96.0.0/11, 27.128.0.0/9, 36.0.0.0/10, 36.96.0.0/11, 36.128.0.0/9, 39.0.0.0/11, 39.64.0.0/10, 39.128.0.0/10, 42.0.0.0/8, 43.224.0.0/11, 45.64.0.0/10, 47.64.0.0/10, 49.0.0.0/9, 49.128.0.0/11, 49.192.0.0/10, 54.192.0.0/11, 58.0.0.0/9, 58.128.0.0/11, 58.192.0.0/10, 59.32.0.0/11, 59.64.0.0/10, 59.128.0.0/9, 60.0.0.0/10, 60.160.0.0/11, 60.192.0.0/10, 61.0.0.0/10, 61.64.0.0/11, 61.128.0.0/10, 61.224.0.0/11, 100.64.0.0/10, 101.0.0.0/9, 101.128.0.0/11, 101.192.0.0/10, 103.0.0.0/10, 103.192.0.0/10, 106.0.0.0/9, 106.224.0.0/11, 110.0.0.0/7, 112.0.0.0/9, 112.128.0.0/11, 112.192.0.0/10, 113.0.0.0/9, 113.128.0.0/11, 113.192.0.0/10, 114.0.0.0/9, 114.128.0.0/11, 114.192.0.0/10, 115.0.0.0/8, 116.0.0.0/8, 117.0.0.0/9, 117.128.0.0/10, 118.0.0.0/11, 118.64.0.0/10, 118.128.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TimLiu-iOS | |
======== | |
自己总结的iOS、mac开源项目及库。 github排名 [https://github.com/trending](https://github.com/trending),github搜索:[https://github.com/search](https://github.com/search) | |
### 目录 | |
- [UI](#UI) | |
- [下拉刷新](#下拉刷新) | |
- [模糊效果](#模糊效果) | |
- [AutoLayout](#AutoLayout) | |
- [富文本](#富文本) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#国外iOS开发教程、博客、工具、文档类站点收集整理 | |
http://www.sososwift.com/ 与Swift相关的博客汇总 ★★★★★ | |
http://www.codingexplorer.com/ 一些不错的iOS博文内容涉及OC、Swift ★★★★★ | |
http://www.ioscreator.com/ 赞赞赞★★★★★ | |
http://www.appcoda.com/ 赞赞赞 ★★★★★ | |
http://shrikar.com/ 个人技术类博客 ★★★★★ | |
http://www.raywenderlich.com/ 这个不用说了吧 ★★★★★ | |
http://swiftdoc.org/ 与Swift文档 ★★★★ | |
http://www.swifttoolbox.io/ Swift开源类库整理 ★★★★★ | |
http://swiftstub.com/ Swift Coding Online ★★★ |
NewerOlder