Code Monkey home page Code Monkey logo

Comments (4)

txthinking avatar txthinking commented on June 7, 2024

从上面的第一个IP 173.194.118.136 举个例子(还是得用脚本)

  1. 首先需要获得这个IP的详细信息, 你最关心的也就是能给哪个域名用
$ cd scripts
$ ./getssl.sh 173.194.118.136

大概会输出这样的数据(这四列数据说明README有)
173.194.121.39 0% 220 .google.com
然后你就知道了这个IP可作用于
.google.com 这个域名, 并且还速度还可以

  1. 然后使用这个IP
$ cd scripts
$ ./use.sh *.google.com 173.194.121.39
$ ./apply.sh

然后你就可以看到已经将这个IP写入项目根目录下的hosts文件了

On Sat, Apr 11, 2015 at 2:55 PM kwx [email protected] wrote:

你好 , txthinking !
又是我, :)
之前我咨询过你一个问题,我用的是 OSX ,不能跑你的这个代码.
然后我就在 github 上找到了另外一个项目,python 写的,我就运行了代码,找到了一些 ip(假设这些ip有效) . 但是我不知道如何将这些
ip 使用到 hosts 文件中. ip 和 域名在 hosts 文件中应该怎么对应呢 ?
我该如何利用这些 ip ,搞出一份有效的 hosts 文件.
以下是我跑出的 ip 的一部分:
173.194.118.136
173.194.118.144
173.194.118.150
173.194.118.160
173.194.118.180
173.194.118.183
173.194.118.200
173.194.118.215
173.194.118.227
173.194.118.242
173.194.119.3
173.194.119.27
173.194.119.54
173.194.119.62
173.194.121.19
173.194.121.38
173.194.121.39
173.194.121.66
173.194.121.79
...
再次感谢你耐心的阅读啊!


Reply to this email directly or view it on GitHub
#81.

from google-hosts.

txthinking avatar txthinking commented on June 7, 2024

@kwx 顺便说下俺用的也是osx. 俺在上面用vagrant装了个那么好用的linux系统的虚拟机. 😆

from google-hosts.

kwx avatar kwx commented on June 7, 2024

谢谢啊! txthinking .
那我也去装一个 linux 虚拟机, 我就是不怎么懂这些东西. 下班回去琢磨一下.
苦逼啊~ 今天周六还在上班. :(

from google-hosts.

txthinking avatar txthinking commented on June 7, 2024

@kwx 我也在加班 = = ||, 每天只能夜里搞非工作上的事情

On Sat, Apr 11, 2015 at 5:54 PM kwx [email protected] wrote:

谢谢啊! txthinking .
那我也去装一个 linux 虚拟机, 我就是不怎么懂这些东西. 下班回去琢磨一下.
苦逼啊~ 今天周六还在上班. :(


Reply to this email directly or view it on GitHub
#81 (comment)
.

from google-hosts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.