#Installing ngrok on OSX
- Download ngrok
- Unzip it to your Applications directory
- Create a symlink (instructions below)
Run the following two commands in Terminal to create the symlink.
# cd into your local bin directory#Installing ngrok on OSX
Run the following two commands in Terminal to create the symlink.
# cd into your local bin directory| #!/usr/bin/env python | |
| import distutils.dir_util | |
| import distutils.file_util | |
| import os | |
| from subprocess import call, check_output | |
| for file in os.listdir("./screenshots/en-US/"): | |
| if file.endswith(".png"): |
| /** | |
| * Include | |
| * add_action('admin_notices', 'lm_admin_message'); | |
| * in your setup, then call | |
| * lm_admin_message('error', 'the message, fool!'); or | |
| * lm_admin_message('notice', 'the notice, fool!'); | |
| * to display the admin message. | |
| * | |
| * @param string|null $type Supports "error" and "notice" (or null if it's the setup hook call) | |
| * @param string|null $message Body of your message (or null if it's the setup hook call) |