|// This script will boot app.js with the number of workers|
|// specified in WORKER_COUNT.|
|// The master will respond to SIGHUP, which will trigger|
|// restarting all the workers and reloading the app.|
|var cluster = require('cluster');|
|var workerCount = process.env.WORKER_COUNT || 2;|
|// Defines what each worker needs to run|
This information source from the following url:
Sometimes you want to have a subdirectory on the
master branch be the root directory of a repository’s
gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the
master branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named
dist directory from the project’s
.gitignore file (it’s ignored by default by Yeoman).
Unfortunately, the Cisco AnyConnect client for Mac conflicts with Pow. And by "conflicts", I mean it causes a grey-screen-of-death kernel panic anytime you connect to the VPN and Pow is installed.
As an alternative, there is OpenConnect, a command-line client for Cisco's AnyConnect SSL VPN.
Here's how to get it set up on Mac OS X:
OpenConnect can be installed via homebrew:
brew update brew install openconnect