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
{ | |
"additional_room” { | |
“default”: “LFD_ROOMADDITIONAL_29” | |
“type”: “string”, | |
“multiple”: true, | |
“delimiter”: “,” | |
“values”: { | |
“Kitchen”: “Kitchen/Family Combo”, | |
“Dining Room”: “Formal Dining Room" | |
} |
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
{ | |
"config": { | |
"preferred-install": "source" | |
}, | |
"repositories": [ | |
{ | |
"type": "composer", | |
"url": "http://repository.usabilitydynamics.com" | |
} | |
] |
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
# | |
# | |
# source http://www.idevelopment.info/data/Unix/Linux/LINUX_AddGNOMEToCentOSMinimalInstall.shtml | |
yum -y groupinstall "Desktop" "Desktop Platform" "X Window System" "Fonts" | |
yum -y groupinstall "Graphical Administration Tools" | |
yum -y groupinstall "Internet Browser" | |
yum -y groupinstall "General Purpose Desktop" | |
yum -y groupinstall "Office Suite and Productivity" | |
yum -y groupinstall "Graphics Creation Tools" |
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 | |
# | |
# My Run Node.js services. | |
# | |
# chkconfig: - 90 10 | |
# description: My Service Application. | |
# processname: my-app | |
# config: /etc/my-app/my-app.yaml | |
# pidfile: /var/run/my-app.pid | |
# |
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
# | |
# | |
# http://www.clusterdb.com/mysql-cluster/deploying-mysql-cluster-over-multiple-hosts | |
# http://dev.mysql.com/doc/refman/5.6/en/mysql-cluster.html | |
# http://www.houseoflinux.com/mysql/how-to-configure-a-mysql-cluster-on-centos-redhat | |
yum -y groupinstall "High Availability" "Resilient Storage" | |
yum -y groupinstall "High Availability Management" | |
yum -y install iscsi-initiator-utils | |
yum -y install vsftpd |
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
# /usr/local/lib/varnish/vmods | |
sudo port install autoconf | |
sudo port install automake | |
sudo port install libtool | |
sudo port install pkg-config | |
sudo port install pkgconfig | |
sudo port install pcre | |
wget http://curl.haxx.se/download/curl-7.35.0.zip && unzip curl-7.35.0.zip |
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
[ | |
{auth_backends,[rabbit_auth_backend_internal]}, | |
{auth_mechanisms,['PLAIN','AMQPLAIN']}, | |
{backing_queue_module,rabbit_variable_queue}, | |
{cluster_nodes,[]}, | |
{collect_statistics,fine}, | |
{collect_statistics_interval,5000}, | |
{default_permissions,[<<".*">>,<<".*">>,<<".*">>]}, | |
{default_user,<<"guest">>}, | |
{default_user_tags,[administrator]}, |
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 express = require('express'); | |
var proxy = require('http-proxy').createProxyServer; | |
var request = require( 'request' ); | |
var app = express(); | |
var mount = express(); | |
mount.configure( function() { | |
// proxy using good ol' request module | |
app.use( function( req, res ) { |
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
worker_processes 1; | |
daemon off; | |
events { | |
worker_connections 1024; | |
} | |
# curl localhost:8000/api/ariya.github.io/js/random/index.html | |
# curl localhost:8000/api/stackoverflow.com | |
http { |
OlderNewer