Skip to content

Instantly share code, notes, and snippets.

@alibo
Created May 21, 2020 15:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alibo/abcb961d4411c98144224212b5054a21 to your computer and use it in GitHub Desktop.
Save alibo/abcb961d4411c98144224212b5054a21 to your computer and use it in GitHub Desktop.
If you're trying to open an app in OSX, but it takes so long! (and apparently you also live in Iran!)
# Add this record to your `/etc/hosts` file; You can run one of these commands to do so:
#
# $ sudo bash -c 'echo "0.0.0.0 ocsp.apple.com" >> /etc/hosts'
#
# or
#
# $ sudo nano /etc/hosts
#
# More info: https://support.apple.com/en-us/HT210060
0.0.0.0 ocsp.apple.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment