4 ms·
To cure your HN problem on a macbook, open a terminal: $ sudo su; $ echo "127.0.0.1 news.ycombinator.com" >> /etc/hosts
by ransom1538 8y ago
To cure your HN problem on a macbook, open a terminal:
$ sudo su;
$ echo "127.0.0.1 news.ycombinator.com" >> /etc/hosts
- unit91 8y agoI've tried this. The problem is I also know $ sudo vim /etc/hosts Gdd:wq
- chongli 8y agoGddZZ Saves a few keystrokes!
- drhodes 8y agoyep, I took this a step further and made a little bash script to automate it https://gist.github.com/drhodes/c1ce517c1704d4daedef73259b0c60c2 https://gist.github.com/drhodes/c1ce517c1704d4daedef73259b0c... supports multiple domains stored in ~/.selfcontrol