type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis
type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis
| ; Sample supervisor config file. | |
| ; | |
| ; For more information on the config file, please see: | |
| ; http://supervisord.org/configuration.html | |
| ; | |
| ; Note: shell expansion ("~" or "$HOME") is not supported. Environment | |
| ; variables can be expanded using this syntax: "%(ENV_HOME)s". | |
| [unix_http_server] | |
| file=/tmp/supervisor.sock ; (the path to the socket file) |
| #!/usr/bin/env bash | |
| # https://developers.supportbee.com/blog/setting-up-cucumber-to-run-with-Chrome-on-Linux/ | |
| # https://gist.github.com/curtismcmullan/7be1a8c1c841a9d8db2c | |
| # http://stackoverflow.com/questions/10792403/how-do-i-get-chrome-working-with-selenium-using-php-webdriver | |
| # http://stackoverflow.com/questions/26133486/how-to-specify-binary-path-for-remote-chromedriver-in-codeception | |
| # http://stackoverflow.com/questions/40262682/how-to-run-selenium-3-x-with-chrome-driver-through-terminal | |
| # http://askubuntu.com/questions/760085/how-do-you-install-google-chrome-on-ubuntu-16-04 | |
| # Versions | |
| CHROME_DRIVER_VERSION=`curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE` |
| <?php | |
| class DemoSubject implements SplSubject{ | |
| private $observer, $value; | |
| public function __construct(){ | |
| $this->observers = array(); | |
| } | |
| <?php | |
| $apiKey = "apikey"; | |
| $secretKey = "secretkey"; | |
| // Generates a random string of ten digits | |
| $salt = mt_rand(); | |
| // Computes the signature by hashing the salt with the secret key as the key |
Typing vagrant from the command line will display a list of all available commands.
Be sure that you are in the same directory as the Vagrantfile when running these commands!
vagrant up -- starts vagrant environment (also provisions only on the FIRST vagrant up)vagrant status -- outputs status of the vagrant machinevagrant halt -- stops the vagrant machinevagrant reload -- restarts vagrant machine, loads new Vagrantfile configurationvagrant provision -- forces reprovisioning of the vagrant machine