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
require 'formula' | |
class Vim < Formula | |
homepage 'http://www.vim.org/' | |
url 'https://vim.googlecode.com/hg/', :revision => 'c0203d88d1d7' | |
version '7.3.515' | |
def features; %w(tiny small normal big huge) end | |
def interp; %w(lua mzscheme perl python python3 tcl ruby) end |
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 | |
# sidekiq Init script for Sidekiq | |
# chkconfig: 345 100 75 | |
# | |
# Description: Starts and Stops Sidekiq message processor for Stratus application. | |
# | |
# User-specified exit parameters used in this script: | |
# | |
# Exit Code 5 - Incorrect User ID | |
# Exit Code 6 - Directory not found |
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 | |
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin # modify if you need | |
DAEMON_ARGS="/home/hastebin/haste-server/server.js" # path to your node.js server/app | |
DESC="node.js pastebin server" # whatever fancy description you like | |
NODEUSER=hastebin:hastebin # USER who OWNS the daemon process (no matter whoever runs the init script) | |
LOCAL_VAR_RUN=/var/run # in case the init script is run by non-root user, you need to | |
NAME=node # name of the node.js executable | |
DAEMON=/usr/local/bin/$NAME # this SHOULD POINT TO where your node executable is | |
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
(INTERNET) | |
| | |
HAPROXY\ | /HAPROXY-STANDBY | |
NFS- DRBD1 <------VIP DRBD2 -NFS-STANDBY | |
MYSQL/ / /|\ \ \MYSQL-STANDBY | |
PUPPET/ / | \ \STORAGE | |
/ | \ | |
WEB1 WEB2 WEB3 WEB4 (apache's mpm-itk/nginx php5-fpm) | |