This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
set -o pipefail | |
# globals | |
readonly VERSION='2.16.1' | |
readonly DOWNLOAD_URL='http://sourceforge.net/projects/e1000/files/ixgbevf%20stable/2.16.1/ixgbevf-2.16.1.tar.gz' | |
readonly INSTALL_DIR='/usr/src' # must be here for dkms |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* jslint node: true, ass: false, plusplus: true, sloppy: true, indent: 2 | |
* | |
* A Simple TCP (Round Robin) Load Balancer. | |
*/ | |
var net = require('net'); | |
var port = 2333; // Listen port | |
var hosts = [ | |
{ host: '127.0.0.1', port: 2033 }, |