code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/bash CFLAGS=-g -W EFLAGS=-O3 -o LIBS=-lX11 -lglut -lGL -lGLU -lm CXX=gcc EXECUTS = main SOURCES=$(wildcard *.c) OBJECTS:= $(SOURCES:.c=.o) OBJDIR = ./bin/ ARCH:=$(shell uname -m) BIT32:=i686 BIT64:=x86_64 ifeq ($(ARCH), $(BIT32)) CFLAGS=-g -W -m32 EFLAGS = -O3 -m32 -o else CFLAGS=-g -W -m64 EFLAGS = -...
Shell
#!/bin/bash CFLAGS=-g -W EFLAGS=-O3 -o LIBS=-lX11 -lglut -lGLEW -lGL -lGLU -lfreetype -lm -lMagick++ INCLUDE = -I/usr/include/freetype2 -I/usr/include/ImageMagick EXECUTS = main SOURCES=$(wildcard *.cpp) OBJECTS:= $(SOURCES:.cpp=.o) OBJDIR = ./bin/ ARCH:=$(shell uname -m) BIT32:=i686 BIT64:=x86_64 ifeq ($(ARCH), ...
Shell
#!/bin/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright 2005-2012, Cake Software Foundation, Inc. # # Licensed under The MIT License # R...
Shell
#!/bin/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright 2005-2012, Cake Software Foundation, Inc. # # Licensed under The MIT License # R...
Shell
#!/bin/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright 2005-2012, Cake Software Foundation, Inc. # # Licensed under The MIT License # R...
Shell
#!/bin/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright 2005-2012, Cake Software Foundation, Inc. # # Licensed under The MIT License # R...
Shell
#!/bin/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright 2005-2012, Cake Software Foundation, Inc. # # Licensed under The MIT License # R...
Shell
#!/bin/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright 2005-2012, Cake Software Foundation, Inc. # # Licensed under The MIT License # R...
Shell
#!/bin/bash # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
Shell
#!/usr/bin/env bash # Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. # For licensing, see LICENSE.html or http://ckeditor.com/license # Use this file to quickly run the sample under Linux. adl application.xml ../../
Shell
#!/usr/bin/env bash # Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. # For licensing, see LICENSE.html or http://ckeditor.com/license # Use this file to quickly run the sample under Linux. adl application.xml ../../
Shell
#!/bin/sh find . -name "*~" -type f | xargs rm -f find . -name ".#*" -type f | xargs rm -f find . -name "*.rej" -type f | xargs rm -f find . -name "*.orig" -type f | xargs rm -f find . -name "DEADJOE" -type f | xargs rm -f find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".t...
Shell
#!/bin/sh find . -name "*~" -type f | xargs rm -f find . -name ".#*" -type f | xargs rm -f find . -name "*.rej" -type f | xargs rm -f find . -name "*.orig" -type f | xargs rm -f find . -name "DEADJOE" -type f | xargs rm -f find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".t...
Shell
#!/bin/sh /usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
Shell
#!/bin/sh curl --silent --compressed http://example.com/cron.php
Shell
#!/bin/sh curl --silent --compressed http://example.com/cron.php
Shell
<?php /** * @file * This script runs Drupal tests from command line. */ define('SIMPLETEST_SCRIPT_COLOR_PASS', 32); // Green. define('SIMPLETEST_SCRIPT_COLOR_FAIL', 31); // Red. define('SIMPLETEST_SCRIPT_COLOR_EXCEPTION', 33); // Brown. // Set defaults and get overrides. list($args, $count) = simpletest_script_par...
Shell
#!/bin/sh /usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
Shell
#! /bin/sh # libtoolT - Provide generalized library-building support services. # Generated automatically by (GNU anahy 1.7.4) # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. # # This file is part of GNU Libtool: #...
Shell
# ltmain.sh - Provide generalized library-building support services. # NOTE: Changing this file will not affect anything until you rerun configure. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # Th...
Shell
#! /bin/sh # libtoolT - Provide generalized library-building support services. # Generated automatically by (GNU anahy 1.7.4) # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. # # This file is part of GNU Libtool: #...
Shell
#!/bin/bash # $Id: autogen.sh,v 1.1.1.1 2006/07/26 17:40:22 otaviocc Exp $ verbConf() { echo "% '$*'..." $* } echo "# CC: $CC" echo "# CXX: $CXX" echo "# CFLAGS: $CFLAGS" echo "# CXXFLAGS: $CXXFLAGS" echo "# LDFLAGS: $LDFLAGS" verbConf "libtoolize -c --force" verbConf "aclocal" verbConf "autoheader" verbConf ...
Shell
#!/bin/bash # $Id: autogen.sh,v 1.1.1.1 2006/07/26 17:40:22 otaviocc Exp $ verbConf() { echo "% '$*'..." $* } echo "# CC: $CC" echo "# CXX: $CXX" echo "# CFLAGS: $CFLAGS" echo "# CXXFLAGS: $CXXFLAGS" echo "# LDFLAGS: $LDFLAGS" verbConf "libtoolize -c --force" verbConf "aclocal" verbConf "autoheader" verbConf ...
Shell
#! /bin/sh # libtoolT - Provide generalized library-building support services. # Generated automatically by (GNU anahy 1.7.4) # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. # # This file is part of GNU Libtool: #...
Shell
# ltmain.sh - Provide generalized library-building support services. # NOTE: Changing this file will not affect anything until you rerun configure. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # Th...
Shell
#! /bin/sh # libtoolT - Provide generalized library-building support services. # Generated automatically by (GNU anahy 1.7.4) # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. # # This file is part of GNU Libtool: #...
Shell
#!/bin/bash # $Id: autogen.sh,v 1.1.1.1 2006/07/26 17:40:22 otaviocc Exp $ verbConf() { echo "% '$*'..." $* } echo "# CC: $CC" echo "# CXX: $CXX" echo "# CFLAGS: $CFLAGS" echo "# CXXFLAGS: $CXXFLAGS" echo "# LDFLAGS: $LDFLAGS" verbConf "libtoolize -c --force" verbConf "aclocal" verbConf "autoheader" verbConf ...
Shell
#!/bin/bash # $Id: autogen.sh,v 1.1.1.1 2006/07/26 17:40:22 otaviocc Exp $ verbConf() { echo "% '$*'..." $* } echo "# CC: $CC" echo "# CXX: $CXX" echo "# CFLAGS: $CFLAGS" echo "# CXXFLAGS: $CXXFLAGS" echo "# LDFLAGS: $LDFLAGS" verbConf "libtoolize -c --force" verbConf "aclocal" verbConf "autoheader" verbConf ...
Shell
svn checkout https://analex.googlecode.com/svn/trunk/ analex --username xiaoyangdeid
Shell
#!/bin/sh # Runs pylint on all python files in codereview/ # # Skips over 'cpplint' which is a third part in the chromium branch. # ROOT=$(dirname $(readlink -f $0))/.. GAE=$ROOT/../google_appengine FILES=$(find codereview -iname "*.py" | grep -v "cpplint") IMPORTS=$GAE:$GAE/lib/django_1_2 PYTHONPATH=$IMPORTS:$PYTHONPA...
Shell
#! /bin/bash # # JFlex start script $Revision: 339 $ # # if Java is not in your binary path, you need to supply its # location in this script. The script automatically finds # JFLEX_HOME when called directly, via binary path, or symbolic # link. # # Site wide installation: simply make a symlink from e.g. # /usr/...
Shell
#! /bin/bash # # JFlex start script $Revision: 339 $ # # if Java is not in your binary path, you need to supply its # location in this script. The script automatically finds # JFLEX_HOME when called directly, via binary path, or symbolic # link. # # Site wide installation: simply make a symlink from e.g. # /usr/...
Shell
#!/bin/bash rm -f res.txt for fichier in *.txt do (tr [A-Z] [a-z] < $fichier | tr -s ' ' | tr ' ' '\n' | grep -v 'é' | grep -v 'è' | grep -v 'à' | grep -v 'â' | grep -v 'ä' | grep -v 'ê' | grep -v 'ë' | grep -v 'î' | grep -v 'ï' | grep -v 'ç' | grep -v 'û' | grep -v 'ü' | grep -v 'ö' | grep -v 'ô' | tr '\n' ' ' | ...
Shell
#!/bin/bash rm -f res.txt for fichier in *.txt do (tr [A-Z] [a-z] < $fichier | tr -s ' ' | tr ' ' '\n' | grep -v 'é' | grep -v 'è' | grep -v 'à' | grep -v 'â' | grep -v 'ä' | grep -v 'ê' | grep -v 'ë' | grep -v 'î' | grep -v 'ï' | grep -v 'ç' | grep -v 'û' | grep -v 'ü' | grep -v 'ö' | grep -v 'ô' | tr '\n' ' ' | ...
Shell
#!/bin/bash # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
Shell
#!/bin/sh prefix="@prefix@" exec_prefix="@exec_prefix@" exec_prefix_set=no usage="\ Usage: libmpq-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]" if test "$#" -eq "0"; then echo "${usage}" 1>&2 exit 1 fi while test "$#" -gt "0"; do case "$1" in -*=*) op...
Shell
#!/bin/sh # echo "Generating build information using aclocal, autoheader, automake and autoconf" echo "This may take a while ..." # Touch the timestamps on all the files since CVS messes them up directory=`dirname $0` touch $directory/configure.ac # Regenerate configuration files libtoolize --copy aclocal ...
Shell
#! /bin/bash while true do PID1=$(pidof oregon-core) if (( PID1 < 1 )) then /etc/init.d/oregon start-core fi PID2=$(pidof oregon-realm) if (( PID2 < 1 )) then /etc/init.d/oregon start-realm fi sleep 10 done
Shell
#! /bin/bash OREGON_DIR='/opt/oregon/'; RETVAL=0; start(){ screen -AmdS oregon_restarter ${OREGON_DIR}restarter } stop(){ screen -dr oregon_restarter -X "quit" } start-realm(){ screen -AmdS oregon_realm ${OREGON_DIR}bin/oregon-realm -c ${OREGON_DIR}etc/oregonrealm.conf } stop-realm(){ screen -dr oregon_realm -X...
Shell
chmod +x oregon restarter cp oregon /etc/init.d/ cp restarter /opt/oregon/
Shell
#!/bin/bash # Trinity Server # autorestart Script while : do echo "TrinityCore daemon restarted" echo `date` >> crash.log & ./mangosd | tail -n 20 >> crash.log echo " " >> crash.log & pid=`ps ax | awk '($5 ~ /trinitycore/) { print $1 }'` wait $pid echo `date` ", TrinityCore daemon crashed and restarted....
Shell
#!/bin/bash # Massive Network Game Object Server # Monitoring Script pid=`ps ax | awk '($5 ~ /mangos-worldd/) { print $1 }'` cpu=`top -b -n 1 -p $pid | awk '($12 ~ /mangos-worldd/) { print $9 }'` #echo $pid #echo $cpu intcpu=${cpu%.*} #echo $intcpu if [ "$intcpu" -gt "95" ] then kill -9 $pid echo "Killed MaNGOS for ...
Shell
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
Shell
#! /bin/sh ### BEGIN INIT INFO # Provides: lector # Required-Start: $networking $syslog # Required-Stop: $networking $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Central de mesures electriques # Description: This file should be used to construct scripts to...
Shell
#! /bin/sh ### BEGIN INIT INFO # Provides: lector # Required-Start: $networking $syslog # Required-Stop: $networking $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Central de mesures electriques # Description: This file should be used to construct scripts to...
Shell
#!/bin/bash ./build.sh && ./package.sh
Shell
#!/bin/bash rm -rf dist && mkdir dist BASE=`basename build/*-*.*.*` pushd build/$BASE > /dev/null # package an xpi echo "+ Creating dist/$BASE.xpi" zip -9 ../../dist/$BASE.xpi install.* chrome.manifest chrome/ec2ui.jar README LICENSE cp README LICENSE ../../dist popd > /dev/null pushd dist > /dev/null #...
Shell
#!/bin/bash date set -e function get_dir_revision() { local pkg_release local last_rev # Generate a release number for the entire branch last_rev=$(hg log $1 -b default -l 1 | grep 'changeset') changeset=${last_rev#*:} pkg_release=${changeset%:*} if [ -z "$pkg_release" ] ; then pkg_r...
Shell
#!/bin/bash ./build.sh && ./package.sh
Shell
#!/bin/bash rm -rf dist && mkdir dist BASE=`basename build/*-*.*.*` pushd build/$BASE > /dev/null # package an xpi echo "+ Creating dist/$BASE.xpi" zip -9 ../../dist/$BASE.xpi install.* chrome.manifest chrome/ec2ui.jar README LICENSE cp README LICENSE ../../dist popd > /dev/null pushd dist > /dev/null #...
Shell
#!/bin/bash date set -e function get_dir_revision() { local pkg_release local last_rev # Generate a release number for the entire branch last_rev=$(hg log $1 -b default -l 1 | grep 'changeset') changeset=${last_rev#*:} pkg_release=${changeset%:*} if [ -z "$pkg_release" ] ; then pkg_r...
Shell
#! /usr/bin/env bash # :mode=shellscript: # short script for building Mobicents docs and ensuring # necessary files for JDocBook (all-*) are updated # for usage, call ./build_docs.bash without any arguments # EXAMPLES: # mkbk test # ...means: run xmllint on all books, looking for the first that does not build # ...
Shell
#!/bin/bash pkill -f run.sh
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi ./kill_process.sh $ADB shell rm -r /data/data/com.google.android.apps.iosched/*
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi $ADB shell am force-stop com.google.android.apps.iosched
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi $ADB shell "echo '$*' | sqlite3 -header -column /data/data/com.google.android.apps.iosched/databases/schedule.db"
Shell
#!/bin/sh # Sessions list #adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/sessions # Vendors list #adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/vendors # Session detail #adb shell am start -a...
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi MAC_UNAME="Darwin" if [[ "`uname`" == ${MAC_UNAME} ]]; then DATE_FORMAT="%Y-%m-%dT%H:%M:%S" else DATE_FORMAT="%Y-%m-%d %H:%M:%S" fi if [ -z "$1" ]; then NOW_DATE=$(date "+${DATE_FORMAT}") echo Please provide a mock time in the format \"${NOW_DATE}\" or \"d\" to del...
Shell
#!/bin/sh adb shell cat /data/data/com.google.android.apps.iosched/shared_prefs/com.google.android.apps.iosched_preferences.xml | xmllint --format -
Shell
#!/bin/sh # Remember VERBOSE only works on debug builds of the app adb shell setprop log.tag.iosched_SyncHelper VERBOSE adb shell setprop log.tag.iosched_SessionsHandler VERBOSE adb shell setprop log.tag.iosched_ImageCache VERBOSE adb shell setprop log.tag.iosched_ImageWorker VERBOSE adb shell setprop log.tag.iosched_I...
Shell
#!/bin/sh adb shell pm clear com.google.android.apps.iosched
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi $ADB shell am start \ -a android.intent.action.MAIN \ -c android.intent.category.LAUNCHER \ -n com.google.android.apps.iosched/.ui.HomeActivity
Shell
#!/bin/bash enviar () { #pgt02 #RUTA=/usr/local/apache2/htdocs/datagro.com.ar/app/webroot/files #RUTATTY=/usr/local/apache2/htdocs/datagro.com.ar #data01 RUTA=/var/www/datagro.com.ar/app/webroot/files RUTATTY=/dev CONTADOR=0 NUMERO=$1 MENSAJE=$3 ARCH...
Shell
#!/bin/bash enviar () { #pgt02 #RUTA=/usr/local/apache2/htdocs/datagro.com.ar/app/webroot/files #RUTATTY=/usr/local/apache2/htdocs/datagro.com.ar #data01 RUTA=/var/www/datagro.com.ar/app/webroot/files RUTATTY=/dev CONTADOR=0 NUMERO=$1 MENSAJE=$3 ARCH...
Shell
#!/bin/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP versions 4 and 5 # # CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/> # Copyright 2005-2007, Cake Software Foundation, Inc. # 1785 E. ...
Shell
#!/bin/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP versions 4 and 5 # # CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/> # Copyright 2005-2007, Cake Software Foundation, Inc. # 1785 E. ...
Shell
#!/bin/bash ./build.sh && ./package.sh
Shell
#!/bin/bash rm -rf dist && mkdir dist BASE=`basename build/*-*.*.*` pushd build/$BASE > /dev/null # package an xpi echo "+ Creating dist/$BASE.xpi" zip -9 ../../dist/$BASE.xpi install.* chrome.manifest chrome/ec2ui.jar README LICENSE cp README LICENSE ../../dist popd > /dev/null pushd dist > /dev/null #...
Shell
#!/bin/bash date set -e function get_dir_revision() { local pkg_release local last_rev # Generate a release number for the entire branch last_rev=$(hg log $1 -b default -l 1 | grep 'changeset') changeset=${last_rev#*:} pkg_release=${changeset%:*} if [ -z "$pkg_release" ] ; then pkg_r...
Shell
#!/bin/sh configDir=$XDG_CONFIG_HOME if [ -z $XDG_CONFIG_HOME ]; then configDir=$HOME/.config else configDir=$XDG_CONFIG_HOME fi java -DconfigDir=$configDir -Djava.util.prefs.userRoot=$configDir/android-notifier-desktop -Djava.net.preferIPv4Stack=true -client -Xms8m -Xmx32m -jar ${assembly.jar.path} $1
Shell
#!/bin/sh # say.sh # MacDroidNotifier # # Created by Rodrigo Damazio on 08/03/10. # # Script which uses Mac's text-to-speech to say received notifications # NOTE: Remember not to select "Mute audio" if you try this script, otherwise # you won't hear anything :) # # ANDROID_NOTIFICATION is in the format DEVICE_I...
Shell
#!/bin/sh VERSION=3.0-SNAPSHOT cp restclient-cli/target/restclient-cli-${VERSION}-jar-with-dependencies.jar \ restclient-ui/target/restclient-ui-${VERSION}-jar-with-dependencies.jar \ restclient-ui/target/restclient-ui-${VERSION}-app.zip \ ~/Dropbox/Public/
Shell
#!/bin/sh svn log -v -r597:HEAD > rest-client-history-26.log
Shell
#!/bin/bash # ctl_common.sh - version 1.0 # # Bash script which contains common functions shared with other scripts. # If you have a common function that can be added in here, please do so. # # He is how this script gets included in another script: # SRC=$(cd $(dirname "$0"); pwd) # source "${SRC}/ctl_common.sh" # ...
Shell
#!/bin/sh SRC=$(cd $(dirname "$0"); pwd) source "${SRC}/ctl_common.sh" SAPPHIRE_USER=`/usr/bin/whoami`; export SAPPHIRE_USER if [ -z "${OVERRIDE_VERSION_STATUS}" ]; then case "${SAPPHIRE_USER}" in a_blue) SAPPHIRE_VERSION_STATUS="prod" ;; a_blueu) SAPPHIRE_VERSION_STATUS="uat" ;; a_blued) SAPPH...
Shell
#!/bin/bash # ctl_common.sh - version 1.0 # # Bash script which contains common functions shared with other scripts. # If you have a common function that can be added in here, please do so. # # He is how this script gets included in another script: # SRC=$(cd $(dirname "$0"); pwd) # source "${SRC}/ctl_common.sh" # ...
Shell
#!/bin/sh SRC=$(cd $(dirname "$0"); pwd) source "${SRC}/ctl_common.sh" SAPPHIRE_USER=`/usr/bin/whoami`; export SAPPHIRE_USER if [ -z "${OVERRIDE_VERSION_STATUS}" ]; then case "${SAPPHIRE_USER}" in a_blue) SAPPHIRE_VERSION_STATUS="prod" ;; a_blueu) SAPPHIRE_VERSION_STATUS="uat" ;; a_blued) SAPPH...
Shell
#!/bin/bash # env_qpid.sh - version 1.2 # # Bash script used to specify all the environment variables. # # Notes: # - Usually you just need to modify the variables of first section of this file. # # Change logs: # 1.0: (hicham.x.medkouri@jpmorgan.com), intial version # 1.1: (hicham.x.medkouri@jpmorgan.com), added OS sp...
Shell
#!/bin/bash # env_qpid.sh - version 1.2 # # Bash script used to specify all the environment variables. # # Notes: # - Usually you just need to modify the variables of first section of this file. # # Change logs: # 1.0: (hicham.x.medkouri@jpmorgan.com), intial version # 1.1: (hicham.x.medkouri@jpmorgan.com), added OS sp...
Shell
#!/bin/bash # ctl_qpid.sh - version 1.2 # # Bash script to stop, start and check QPid Broker. # # Notes: # - This script requires env_qpid.sh to be on the same folder, # this file is used to set all the environment variables. # # Change logs: # 1.0: (hicham.x.medkouri@jpmorgan.com), intial version. # 1.1: (hicham.x.me...
Shell
#!/bin/bash # ctl_qpid.sh - version 1.2 # # Bash script to stop, start and check QPid Broker. # # Notes: # - This script requires env_qpid.sh to be on the same folder, # this file is used to set all the environment variables. # # Change logs: # 1.0: (hicham.x.medkouri@jpmorgan.com), intial version. # 1.1: (hicham.x.me...
Shell
#!/bin/bash # ctl_tomcat.sh - version 1.0 # # Bash script to stop, start and check Tomcat server. # # Notes: # - This script requires env_tomcat.sh to be on the same folder, # this file is used to set all the environment variables. # # Change logs: # 1.0: intial version (hicham.x.medkouri@jpmorgan.com) source env_tom...
Shell
#!/bin/bash # env_tomcat.sh - version 1.2 # # Bash script used to specify all the environment variables. # # Notes: # - Usually you just need to modify the variables of first section of this file. # # Change logs: # 1.0: (hicham.x.medkouri@jpmorgan.com), intial version # 1.1: (hicham.x.medkouri@jpmorgan.com), added OS ...
Shell
#!/bin/bash # ctl_tomcat.sh - version 1.0 # # Bash script to stop, start and check Tomcat server. # # Notes: # - This script requires env_tomcat.sh to be on the same folder, # this file is used to set all the environment variables. # # Change logs: # 1.0: intial version (hicham.x.medkouri@jpmorgan.com) source env_tom...
Shell
#!/bin/bash # env_tomcat.sh - version 1.2 # # Bash script used to specify all the environment variables. # # Notes: # - Usually you just need to modify the variables of first section of this file. # # Change logs: # 1.0: (hicham.x.medkouri@jpmorgan.com), intial version # 1.1: (hicham.x.medkouri@jpmorgan.com), added OS ...
Shell
#!/bin/bash # ctl_logs.sh - version 1.2 # # Configurable bash script to clean log files older than 7 days and not in use. # # Notes: # - This script requires ctl_common.sh to be on the same folder. # - This script requires also a configuration file named ctl_logs.conf on the same folder # and which should conta...
Shell
#!/bin/bash # ctl_common.sh - version 1.0 # # Bash script which contains common functions shared with other scripts. # If you have a common function that can be added in here, please do so. # # He is how this script gets included in another script: # SRC=$(cd $(dirname "$0"); pwd) # source "${SRC}/ctl_commo...
Shell
#!/bin/bash # ctl_common.sh - version 1.0 # # Bash script which contains common functions shared with other scripts. # If you have a common function that can be added in here, please do so. # # He is how this script gets included in another script: # SRC=$(cd $(dirname "$0"); pwd) # source "${SRC}/ctl_commo...
Shell
#!/bin/bash # ctl_host.sh - version 1.0 # # Bash script to stop and start all the services running on a particular host. # It can also be used to release a service (war file) to a particular or all instances. # # Notes: # - This script relies on ctl_common.sh to be on the same folder. # # Change logs: # ...
Shell
#!/bin/bash # ctl_logs.sh - version 1.2 # # Configurable bash script to clean log files older than 7 days and not in use. # # Notes: # - This script requires ctl_common.sh to be on the same folder. # - This script requires also a configuration file named ctl_logs.conf on the same folder # and which should conta...
Shell
#!/bin/bash # ctl_apache.sh - version 1.1 # # Bash script to stop, start and restart apache server. # # Notes: # - This script relies on the fact that apache is installed under a common place, c.f. $APACHE_INST_DIR. # - This script requires ctl_common.sh to be on the same folder. # # Change logs: # 1.0: (hi...
Shell
#!/bin/bash # ctl_server.sh - version 1.0 # # Bash script to monitor Tomcat and Derby servers. # # Notes: # - This script requires to be under the root directory of # the server is monitoring (i.e. at the same level as the # tomcat and derby directories). It also requires derby/ctl_derby.sh # version 1.2 and a...
Shell
#!/bin/bash # ctl_host.sh - version 1.0 # # Bash script to stop and start all the services running on a particular host. # It can also be used to release a service (war file) to a particular or all instances. # # Notes: # - This script relies on ctl_common.sh to be on the same folder. # # Change logs: # ...
Shell
#!/bin/bash # ctl_server.sh - version 1.0 # # Bash script to monitor Tomcat and Derby servers. # # Notes: # - This script requires to be under the root directory of # the server is monitoring (i.e. at the same level as the # tomcat and derby directories). It also requires derby/ctl_derby.sh # version 1.2 and a...
Shell
#!/bin/bash # ctl_apache.sh - version 1.1 # # Bash script to stop, start and restart apache server. # # Notes: # - This script relies on the fact that apache is installed under a common place, c.f. $APACHE_INST_DIR. # - This script requires ctl_common.sh to be on the same folder. # # Change logs: # 1.0: (hi...
Shell
#!/bin/bash # ctl_cache.sh - version 1.0 # # Bash script to start, stop and check Coherence Cache Server. # # Notes: # - This script requires env_qpid.sh to be on the same folder, # this file is used to set all the environment variables. # # Change logs: # 1.0: (hicham.x.medkouri@jpmorgan.com), intial version. source...
Shell
#!/bin/bash # ctl_cache.sh - version 1.0 # # Bash script to start, stop and check Coherence Cache Server. # # Notes: # - This script requires env_qpid.sh to be on the same folder, # this file is used to set all the environment variables. # # Change logs: # 1.0: (hicham.x.medkouri@jpmorgan.com), intial version. source...
Shell
#!/bin/bash # env_cache.sh - version 1.0 # # Bash script used to specify all the environment variables for a coherence cache. # # Notes: # - Usually you just need to modify the variables of first section of this file. # # Change logs: # 1.0: (hicham.x.medkouri@jpmorgan.com), intial version export COHERENCE_HOME=/cygdr...
Shell
#!/bin/bash # env_cache.sh - version 1.0 # # Bash script used to specify all the environment variables for a coherence cache. # # Notes: # - Usually you just need to modify the variables of first section of this file. # # Change logs: # 1.0: (hicham.x.medkouri@jpmorgan.com), intial version export COHERENCE_HOME=/cygdr...
Shell
#!/bin/bash # ctl_derby.sh - version 1.2 # # This script makes it easier to launch various Derby tools. # # Notes: # - This script requires env_derby.sh to be on the same folder, # this file is used to set all the environment variables. # # Change logs: # 1.0: (hicham.x.medkouri@jpmorgan.com), intial version. # 1.1:...
Shell