This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const $ = document.querySelector.bind(document); | |
const $$ = document.querySelectorAll.bind(document); | |
const mainContent = $('.main-content'); | |
const externalLinks = $$('a[target="_blank"]'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
On OSX Yosemite and above, in a terminal window: | |
1. Switch to the root user. | |
$ sudo su - | |
2. Create a Dummynet pipe that represents a slow, unreliable network: | |
# dnctl pipe 1 config bw 10Kbit/s delay 300 plr 0.1 noerror |