###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
| package com.baimes.utils; | |
| import java.io.*; | |
| /** | |
| * Created by Ds_Kidd on 2015/4/3 0003. | |
| * 将文件转换为byte数组,一般用于图片,视屏,及音频 | |
| */ | |
| public class FileToByteArr { |
| # --------------------------------------------------------------------------- | |
| # | |
| # Description: This file holds all my BASH configurations and aliases. | |
| # Much of this was originally copied from: | |
| # http://natelandau.com/my-mac-osx-bash_profile/ | |
| # | |
| # Sections: | |
| # 1. Environment Configuration | |
| # 2. Make Terminal Better (remapping defaults and adding functionality) | |
| # 3. File and Folder Management |
###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
Dumping ground for Links
| #/bin/zsh | |
| brew install privoxy | |
| echo -n "<- Enter your http/https PORT ->" | |
| read PORT | |
| echo "PORT = $PORT" | |
| echo "function proxy_off(){" >> ~/.bash_profile | |
| echo " unset http_proxy" >> ~/.bash_profile | |
| echo " unset https_proxy" >> ~/.bash_profile | |
| echo " echo -e "已关闭代理"" ~/.bash_profile | |
| echo "}\n" >> ~/.bash_profile |