T
Trent Tompkins
I am making a program that automatically adds and deletes lines to the Windows hosts file. So lets says you are working on example.com, and you have apache setup with a virtual host that runs example.com, you can click my script, and it will add:127.0.0.1 example.com to the hosts file, the runs ipconfig /flushdns.And when you run it again, it deletes the sites. You can send command line flags to always enable or always disable, but the default behavior is to toggle them, so you can quickly go from seeing the local version to seeing the live version.It starts by reading in the existing hosts f
Continue reading...
Continue reading...