This file contains 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
#!/bin/sh | |
# | |
# php-fpm - this script starts and stops the php-fpm daemon | |
# | |
# chkconfig: - 85 15 | |
# description: PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI \ | |
# implementation with some additional features useful for sites of \ | |
# any size, especially busier sites. | |
# processname: php-fpm |
This file contains 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
#!/bin/sh | |
# | |
# nginx - this script starts and stops the nginx daemon | |
# | |
# chkconfig: - 85 15 | |
# description: Nginx is an HTTP(S) server, HTTP(S) reverse \ | |
# proxy and IMAP/POP3 proxy server | |
# processname: nginx | |
# config: /etc/nginx/nginx.conf | |
# config: /etc/sysconfig/nginx |
This file contains 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
user nobody; | |
worker_processes 1; | |
error_log logs/error.log; | |
pid /opt/nginx/var/run/nginx; | |
events { | |
worker_connections 1024; | |
} |
This file contains 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
#!/bin/sh | |
# | |
# stud - this script starts and stops the stud daemon | |
# | |
# chkconfig: - 85 15 | |
# description: stud is Scalable TLS Unwrapping Demon | |
# processname: stud | |
# Source function library. | |
. /etc/rc.d/init.d/functions |
This file contains 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
#!/bin/bash | |
# tmux will be installed in /opt/local/bin. | |
# It's assumed that wget and a C/C++ compiler are installed. | |
# exit on error | |
set -e | |
TMUX_VERSION=1.9 |
This file contains 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
var db = require('../lib/db'); | |
exports = module.exports = {}; | |
exports.findAll = function(req, res) { | |
db.query('select * from users', function(err,rows){ | |
res.send({'users':rows}); | |
}); | |
}; |
This file contains 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
tc qdisc del dev br1 root | |
tc qdisc add dev br1 root handle 1: cbq avpkt 1000 bandwidth 2mbit | |
tc class add dev br1 parent 1: classid 1:1 cbq rate 256kbit allot 1500 prio 5 bounded isolated | |
tc filter add dev br1 parent 1: protocol ip prio 16 u32 match ip dst 192.168.99.1/24 flowid 1:1 | |
tc filter add dev br1 parent 1: protocol ip prio 16 u32 match ip src 192.168.99.1/24 flowid 1:1 |
This file contains 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
#!/bin/sh | |
# | |
# hitch - this script starts and stops the hitch daemon | |
# | |
# chkconfig: - 85 15 | |
# description: hitch is Scalable TLS Unwrapping Demon | |
# processname: hitch | |
# Source function library. | |
. /etc/rc.d/init.d/functions |
This file contains 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
{ | |
"control": { | |
"url": "https://ab-test-origin-server.herokuapp.com/", | |
"cache": { | |
} | |
}, | |
"variants": [ | |
{ | |
"weight": 0.5, | |
"url": "https://ab-test-origin-server.herokuapp.com/?feature=bluelinks", |
This file contains 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
# ab-configurations | |
transformations follow the structure | |
[ | |
[bitField of flags, CSS selector to modify, operation, ...payloads] | |
] | |
Available bit flags are: | |
0x1 - PRE_UA - Changes are applied prior to User Agent | |
0x2 - ON_UA - Changes are applied on UA |
OlderNewer