在家可以访问 GitHub,但 gist.github.com 打不开,应该是被DNS污染。
解决办法是修改 hosts 文件,按大家说的改成如下确实可以访问,但速度很慢。
192.30.253.118 gist.github.com
192.30.253.119 gist.github.com
我查了下github.com的IP,让后都换成解析出的3个IP地址,然后速度很快啦!
| curl -O https://download.redisinsight.redis.com/latest/RedisInsight-v2-mac-x64.dmg |
在家可以访问 GitHub,但 gist.github.com 打不开,应该是被DNS污染。
解决办法是修改 hosts 文件,按大家说的改成如下确实可以访问,但速度很慢。
192.30.253.118 gist.github.com
192.30.253.119 gist.github.com
我查了下github.com的IP,让后都换成解析出的3个IP地址,然后速度很快啦!
| """ | |
| Author: Awni Hannun | |
| This is an example CTC decoder written in Python. The code is | |
| intended to be a simple example and is not designed to be | |
| especially efficient. | |
| The algorithm is a prefix beam search for a model trained | |
| with the CTC loss function. |
| # Make sure you grab the latest version | |
| curl -OL https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip | |
| # Unzip | |
| unzip protoc-3.2.0-linux-x86_64.zip -d protoc3 | |
| # Move protoc to /usr/local/bin/ | |
| sudo mv protoc3/bin/* /usr/local/bin/ | |
| # Move protoc3/include to /usr/local/include/ |