ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats
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
# an sonar-project.properties example file | |
sonar.projectKey=org.apache.thrift | |
sonar.projectName=Apache Thrift | |
sonar.projectDescription= | |
The Apache Thrift software framework, for scalable cross-language services | |
development, combines a software stack with a code generation engine to build | |
services that work efficiently and seamlessly between all major languages. | |
# Apache Thrift Version | |
sonar.projectVersion=1.0.0-dev | |
# use this to set another version string |
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
# set public key | |
# update VM | |
sudo apt-get update | |
# JAVA installation | |
sudo add-apt-repository ppa:webupd8team/java && sudo apt-get update && sudo apt-get install oracle-java7-installer && sudo apt-get install oracle-java7-set-default | |
# install git | |
sudo apt-get install git zip ant |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.define "ylmaster" do |ylmaster| | |
config.vm.provider :virtualbox do |vb| |
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
# Command: mysql -u root -p < create_sonar_database.sql | |
# | |
CREATE DATABASE sonar CHARACTER SET utf8 COLLATE utf8_general_ci; | |
CREATE USER 'sonar' IDENTIFIED BY 'sonar'; | |
GRANT ALL ON sonar.* TO 'sonar'@'%' IDENTIFIED BY 'sonar'; | |
GRANT ALL ON sonar.* TO 'sonar'@'localhost' IDENTIFIED BY 'sonar'; | |
FLUSH PRIVILEGES; |
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
{ | |
"HIPCHAT": ["zabbix", "TOKEN", "api.hipchat.com"], | |
"TRIGGER": { | |
"NAME": "{TRIGGER.NAME}", | |
"STATUS": "{TRIGGER.STATUS}", | |
"SEVERITY": "{TRIGGER.SEVERITY}", | |
"URL": "{TRIGGER.URL}" | |
}, | |
"ITEM": { | |
"NAME": "{ITEM.NAME1}", |
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
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
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
if ($request_uri = /) { | |
set $test A; | |
} | |
if ($host ~* teambox.com) { | |
set $test "${test}B"; | |
} | |
if ($http_cookie !~* "auth_token") { | |
set $test "${test}C"; |
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
server { | |
listen 443 ssl spdy; | |
server_name sslplayground.dev; | |
root /var/www/sslplayground; | |
index index.html; | |
# Enable SSL | |
ssl on; | |
ssl_certificate /etc/nginx/conf.d/server.crt; | |
ssl_certificate_key /etc/nginx/conf.d/server.key; |
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 | |
usage () | |
{ | |
cat <<UsageHERE | |
boot2docker-fwd -- Helper function to quickly manage port forwards between the boot2docker-vm and the host | |
Usage: boot2docker-fwd [ -n RULE_NAME ] [ -h HOST_PORT ] [ -p {tcp|udp} ] [ -i HOST_IP ] GUEST_PORT | |
or boot2docker-fwd -d RULE_NAME | |
or boot2docker-fwd -l | |
or boot2docker-fwd -A |
OlderNewer