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 | |
# | |
# tomcat | |
# | |
# chkconfig: 345 96 30 | |
# description: Start up the Tomcat servlet engine. | |
# | |
# processname: java | |
# pidfile: /var/run/tomcat.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
#!/bin/bash | |
# Source function library. | |
. /etc/init.d/functions | |
## tomcat installation directory | |
PROCESS_NAME=tomcat-caservicename | |
CATALINA_HOME="/home/lesstif/apache-tomcat-7.0.54/" |
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 | |
MIN_MEMORY="384m" | |
# In larger webapps, the maximum amount will need to be increased. | |
MAX_MEMORY="768m" | |
# Perm Gen size needs to be increased if encountering OutOfMemoryError: PermGen problems. | |
## support was removed in 8.0 | |
MAX_PERM_SIZE="384m" |
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 use it, copy it to | |
" for Unix : ~/.vimrc | |
" Windog : $VIM\_vimrc | |
if &t_Co > 2 | |
syntax on | |
endif | |
set hlsearch |
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 | |
# | |
# GitLab | |
# Contributors : @elvanja, @troyanov, @eiyaya, @foyo23, @nielsbasjes, @relip, @JasonMing, @andronat, @axilleas, @mdirkse | |
# App Version : 6.x - 7.x | |
# chkconfig: 2345 82 55 | |
# processname: unicorn | |
# processname: sidekiq | |
# description: Runs unicorn and sidekiq for nginx integration. |
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
#This configuration has been tested on GitLab 6.0.0 and GitLab 6.0.1 | |
#Note this config assumes unicorn is listening on default port 8080. | |
#Module dependencies | |
# mod_rewrite | |
# mod_ssl | |
# mod_proxy | |
# mod_proxy_http | |
# mod_headers | |
NameVirtualHost *:443 |
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 | |
killproc() { | |
local servicename=$1 | |
local user=$2 | |
local signal="TERM" | |
if [ "$#" = 0 ] ; then | |
echo $"Usage: killproc {servicename} {user} {signal}" | |
return 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 | |
export RAILS_ENV=production | |
USER=`whoami` | |
PIDS="" | |
getpids() { | |
local procname=$1 | |
if [ "$#" = 0 ] ; then | |
echo $"Usage: getpids {procname} " |
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/bin/php<?php | |
# comment 가 10자 미만이면 커밋 거부 | |
$minchars = 10; | |
$svnlook = 'svnlook'; | |
#-------------------------------------------- | |
$repos = $argv[1]; | |
$txn = $argv[2]; |
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
<?php | |
$url = 'http://google.com'; | |
if ($argc > 1){ | |
$url = $argv[1]; | |
} | |
$ch=curl_init(); | |
// user credencial |
OlderNewer