Skip to content

Instantly share code, notes, and snippets.

@tleach
Forked from DylanLacey/prerun.bat
Last active August 29, 2015 14:12

Revisions

  1. tleach revised this gist Dec 31, 2014. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion prerun.bat
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,3 @@
    echo 127.0.0.0 pagead2.googlesyndication.com >> %WINDIR%\System32\Drivers\Etc\Hosts
    echo 127.0.0.0 googleads.g.doubleclick.net >> %WINDIR%\System32\Drivers\Etc\Hosts
    echo 127.0.0.0 googleads.g.doubleclick.net >> %WINDIR%\System32\Drivers\Etc\Hosts
    echo 127.0.0.0 google.com >> %WINDIR%\System32\Drivers\Etc\Hosts
  2. @DylanLacey DylanLacey revised this gist Dec 30, 2014. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions prerun.bat
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,2 @@
    echo 127.0.0.0 pagead2.googlesyndication.com >> %WINDIR%\System32\Drivers\Etc\Hosts
    echo 127.0.0.0 googleads.g.doubleclick.net >> %WINDIR%\System32\Drivers\Etc\Hosts
    echo 127.0.0.0 www.google.com >> %WINDIR%\System32\Drivers\Etc\Hosts
    echo 127.0.0.0 googleads.g.doubleclick.net >> %WINDIR%\System32\Drivers\Etc\Hosts
  3. @DylanLacey DylanLacey created this gist Dec 30, 2014.
    3 changes: 3 additions & 0 deletions prerun.bat
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    echo 127.0.0.0 pagead2.googlesyndication.com >> %WINDIR%\System32\Drivers\Etc\Hosts
    echo 127.0.0.0 googleads.g.doubleclick.net >> %WINDIR%\System32\Drivers\Etc\Hosts
    echo 127.0.0.0 www.google.com >> %WINDIR%\System32\Drivers\Etc\Hosts