References:
echo 'source ~/.zshrc' >> ~/.zsh_profile
source ~/.zsh_profileReferences:
echo 'source ~/.zshrc' >> ~/.zsh_profile
source ~/.zsh_profile| #!/bin/bash | |
| echo "$ brew analytics off" | |
| brew analytics off | |
| echo "$ brew update" | |
| brew update | |
| echo "$ brew upgrade" | |
| brew upgrade |
| #!/bin/bash | |
| echo "$ pip install --upgrade setuptools" | |
| pip install --upgrade setuptools | |
| echo "$ pip install --upgrade pip" | |
| pip install --upgrade pip | |
| echo "$ pip install --upgrade virtualenv" | |
| pip install --upgrade virtualenv |
| #!/bin/zsh | |
| # source NVM | |
| . ~/.nvm/nvm.sh | |
| echo "$ nvm cache clear" | |
| nvm cache clear | |
| echo "$ nvm install 'lts/*' --reinstall-packages-from=current --latest-npm" | |
| nvm install 'lts/*' --reinstall-packages-from=current --latest-npm |
As of v1.0.0 installed from Homebrew, slimerjs is compatible with Firefox up to version 59.0 only.
These are the instructions for macOS:
| /** | |
| * Track Brightcove media playback using Adobe Launch's Media-related rules. | |
| * | |
| * Brightcove documentation: | |
| * - Player events: https://support.brightcove.com/player-events | |
| * - Player metadata: https://support.brightcove.com/player-metadata-bcinfo | |
| * - Video metadata: https://support.brightcove.com/video-metadata-mediainfo | |
| * | |
| * Brightcove Player API documentation: | |
| * - Current release: https://docs.brightcove.com/brightcove-player/current-release/index.html |
| /** | |
| * @fileoverview Detects video playback events in the Brightcove player and | |
| * post a message for each of them. | |
| * | |
| * @author yuhui | |
| * @version 1.0.0 | |
| * | |
| * @see https://player.support.brightcove.com/coding-topics/overview-player-api.html | |
| * Brightcove Player development overview | |
| * @see https://docs.brightcove.com/brightcove-player/current-release/Player.html |
| /** | |
| * @fileoverview Detects video playback events in the Brightcove player and | |
| * send a CustomEvent for each of them. | |
| * | |
| * @author yuhui | |
| * @version 1.0.0 | |
| * | |
| * @see https://player.support.brightcove.com/coding-topics/overview-player-api.html | |
| * Brightcove Player development overview | |
| * @see https://docs.brightcove.com/brightcove-player/current-release/Player.html |
| s.registerPostTrackCallback(function(requestUrl, s) { | |
| _satellite.logger.warn('s.registerPostTrackCallback() called'); | |
| // unset variables and events that are not needed after sending a beacon | |
| // BUT LEAVE BEHIND variables that should remain, e.g. those that are set in the Adobe Analytics extension itself | |
| var doNotUnsetVariables = [ | |
| 'pagename', // page name | |
| 'hier1', // page hierarchy 1 | |
| 'server', // site server |