code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh # # zabbix_suckerd_ctl # # control script to stop/start/restart zabbix_suckerd # author: charlie collins # date: 01.21.2002 # # (modeled after apache style control scripts) # (this script can be placed in init.d and respective runlevel for startup usage) # # # The exit codes returned are: # 0 - operation co...
Shell
#!/bin/sh # # zabbix_suckerd_ctl # # control script to stop/start/restart zabbix_suckerd # author: charlie collins # date: 01.21.2002 # # (modeled after apache style control scripts) # (this script can be placed in init.d and respective runlevel for startup usage) # # # The exit codes returned are: # 0 - operation co...
Shell
#!/bin/sh # # zabbix_agentd_ctl # # control script to stop/start/restart zabbix_suckerd # author: charlie collins # date: 01.21.2002 # # (modeled after apache style control scripts) # (this script can be placed in init.d and respective runlevel for startup usage) # # # The exit codes returned are: # 0 - operation com...
Shell
#! /bin/sh # # Zabbix daemon start/stop script. # # Written by Alexei Vladishev <alex@gobbo.caves.lv>. PATH=/bin:/usr/bin:/sbin:/usr/sbin:/home/zabbix/bin DAEMON=/home/zabbix/bin/zabbix_suckerd NAME=zabbix_suckerd DESC="Zabbix sucker daemon" test -f $DAEMON || exit 0 set -e case "$1" in start) echo -n "Starting ...
Shell
#! /bin/sh # # Zabbix daemon start/stop script. # # Written by Alexei Vladishev <alex@gobbo.caves.lv>. PATH=/bin:/usr/bin:/sbin:/usr/sbin:/home/zabbix/bin DAEMON=/home/zabbix/bin/zabbix_suckerd NAME=zabbix_suckerd DESC="Zabbix sucker daemon" test -f $DAEMON || exit 0 set -e case "$1" in start) echo -n "Starting ...
Shell
#!/bin/bash # # Zabbix # Copyright (C) 2000,2001,2002,2003 Alexei Vladishev # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later v...
Shell
#!/bin/bash # # Zabbix # Copyright (C) 2000,2001,2002,2003 Alexei Vladishev # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later v...
Shell
#!/bin/bash # # chkconfig: - 55 45 # description: zabbix_trapperd # probe: false # Source function library. . /etc/rc.d/init.d/functions # Source networking configuration. . /etc/sysconfig/network # Check that networking is up. If you are running without a network, comment this out. [ "${NETWORKING}" = "no" ] && e...
Shell
#!/bin/bash # # chkconfig: - 55 45 # description: zabbix_trapperd # probe: false # Source function library. . /etc/rc.d/init.d/functions # Source networking configuration. . /etc/sysconfig/network # Check that networking is up. If you are running without a network, comment this out. [ "${NETWORKING}" = "no" ] && e...
Shell
#!/bin/bash # # chkconfig: - 55 45 # description: zabbix_agentd # probe: false # Source function library. . /etc/rc.d/init.d/functions # Source networking configuration. . /etc/sysconfig/network # Check that networking is up. If you are running without a network, comment this out. [ "${NETWORKING}" = "no" ] && exi...
Shell
#!/bin/bash # # chkconfig: - 55 45 # description: zabbix_suckerd # probe: false # Source function library. . /etc/rc.d/init.d/functions # Source networking configuration. . /etc/sysconfig/network # Check that networking is up. If you are running without a network, comment this out. [ "${NETWORKING}" = "no" ] && ex...
Shell
#!/bin/bash # # chkconfig: - 55 45 # description: zabbix_agentd # probe: false # Source function library. . /etc/rc.d/init.d/functions # Source networking configuration. . /etc/sysconfig/network # Check that networking is up. If you are running without a network, comment this out. [ "${NETWORKING}" = "no" ] && exi...
Shell
#!/bin/bash # # chkconfig: - 55 45 # description: zabbix_suckerd # probe: false # Source function library. . /etc/rc.d/init.d/functions # Source networking configuration. . /etc/sysconfig/network # Check that networking is up. If you are running without a network, comment this out. [ "${NETWORKING}" = "no" ] && ex...
Shell
#!/bin/sh # # zabbix_agentd_ctl # # control script to stop/start/restart zabbix_agentd # author: charlie collins # date: 01.21.2002 # # revised 09.21.2003 # (setup for Red Hat 7.3 with Zabbix 1.0 beta) # (should work for other Red Hat and Sys V style init machines as well) # # (modeled after apache style control scrip...
Shell
#!/bin/sh # # zabbix_suckerd_ctl # # control script to stop/start/restart zabbix_suckerd # author: charlie collins # date: 01.21.2002 # # revised 09.21.2003 # (setup for Red Hat 7.3 with Zabbix 1.0 beta) # (should work for other Red Hat and Sys V style init machines as well) # # (modeled after apache style control scr...
Shell
#!/bin/sh # # zabbix_suckerd_ctl # # control script to stop/start/restart zabbix_suckerd # author: charlie collins # date: 01.21.2002 # # revised 09.21.2003 # (setup for Red Hat 7.3 with Zabbix 1.0 beta) # (should work for other Red Hat and Sys V style init machines as well) # # (modeled after apache style control scr...
Shell
#!/bin/sh # # zabbix_agentd_ctl # # control script to stop/start/restart zabbix_agentd # author: charlie collins # date: 01.21.2002 # # revised 09.21.2003 # (setup for Red Hat 7.3 with Zabbix 1.0 beta) # (should work for other Red Hat and Sys V style init machines as well) # # (modeled after apache style control scrip...
Shell
#! /bin/sh # Copyright (c) 07/2004 A.Tophofen, Germany # # init.d/zabbix_agentd # ### BEGIN INIT INFO # Provides: zabbix_agentd # Required-Start: $network $remote_fs $syslog # Required-Stop: # Default-Start: 3 # Default-Stop: # Description: Starts Zabbix_Agentd ### END INIT INFO . /etc/rc.status rc_reset NA...
Shell
#! /bin/sh # Copyright (c) 07/2004 A.Tophofen, Germany # # init.d/zabbix_agentd # ### BEGIN INIT INFO # Provides: zabbix_suckerd # Required-Start: $network $remote_fs $syslog # Required-Stop: # Default-Start: 3 # Default-Stop: # Description: Starts Zabbix_Agentd ### END INIT INFO . /etc/rc.status rc_reset N...
Shell
#! /bin/sh # Copyright (c) 07/2004 A.Tophofen, Germany # # init.d/zabbix_agentd # ### BEGIN INIT INFO # Provides: zabbix_agentd # Required-Start: $network $remote_fs $syslog # Required-Stop: # Default-Start: 3 # Default-Stop: # Description: Starts Zabbix_Agentd ### END INIT INFO . /etc/rc.status rc_reset NA...
Shell
#! /bin/sh # Copyright (c) 07/2004 A.Tophofen, Germany # # init.d/zabbix_agentd # ### BEGIN INIT INFO # Provides: zabbix_suckerd # Required-Start: $network $remote_fs $syslog # Required-Stop: # Default-Start: 3 # Default-Stop: # Description: Starts Zabbix_Agentd ### END INIT INFO . /etc/rc.status rc_reset N...
Shell
#! /bin/sh # # Zabbix daemon start/stop script. # # Written by Alexei Vladishev <alex@gobbo.caves.lv>. PATH=/bin:/usr/bin:/sbin:/usr/sbin:/home/zabbix/bin DAEMON=/home/zabbix/bin/zabbix_suckerd NAME=zabbix_suckerd DESC="Zabbix sucker daemon" test -f $DAEMON || exit 0 set -e case "$1" in start) echo "Starting $DE...
Shell
#! /bin/sh # # Zabbix daemon start/stop script. # # Written by Alexei Vladishev <alex@gobbo.caves.lv>. PATH=/bin:/usr/bin:/sbin:/usr/sbin:/home/zabbix/bin DAEMON=/home/zabbix/bin/zabbix_trapperd NAME=zabbix_trapperd DESC="Zabbix trapper daemon" test -f $DAEMON || exit 0 set -e case "$1" in start) echo "Starting ...
Shell
#! /bin/sh # # Zabbix agent start/stop script. # # Written by Alexei Vladishev <alex@gobbo.caves.lv>. PATH=/bin:/usr/bin:/sbin:/usr/sbin:/home/zabbix/bin DAEMON=/home/zabbix/bin/zabbix_agentd NAME=zabbix_agentd DESC="Zabbix agent" PID=/var/tmp/$NAME.pid test -f $DAEMON || exit 0 set -e case "$1" in start) echo "...
Shell
#! /bin/sh # # Zabbix agent start/stop script. # # Written by Alexei Vladishev <alex@gobbo.caves.lv>. PATH=/bin:/usr/bin:/sbin:/usr/sbin:/home/zabbix/bin DAEMON=/home/zabbix/bin/zabbix_agentd NAME=zabbix_agentd DESC="Zabbix agent" PID=/var/tmp/$NAME.pid test -f $DAEMON || exit 0 set -e case "$1" in start) echo "...
Shell
#! /bin/sh # # Zabbix daemon start/stop script. # # Written by Alexei Vladishev <alex@gobbo.caves.lv>. PATH=/bin:/usr/bin:/sbin:/usr/sbin:/home/zabbix/bin DAEMON=/home/zabbix/bin/zabbix_suckerd NAME=zabbix_suckerd DESC="Zabbix sucker daemon" test -f $DAEMON || exit 0 set -e case "$1" in start) echo "Starting $DE...
Shell
#! /bin/sh # # Zabbix daemon start/stop script. # # Written by Alexei Vladishev <alex@gobbo.caves.lv>. PATH=/bin:/usr/bin:/sbin:/usr/sbin:/home/zabbix/bin DAEMON=/home/zabbix/bin/zabbix_trapperd NAME=zabbix_trapperd DESC="Zabbix trapper daemon" test -f $DAEMON || exit 0 set -e case "$1" in start) echo "Starting ...
Shell
#!/bin/sh ## Makefile.sh for in /home/lucas/projet/zapique/serveur/graphique/.lib ## ## Made by Lucas Stefas ## Login <stefas_l@epitech.net> ## ## Started on Sat Jul 9 21:31:26 2011 Lucas Stefas ## Last update Wed Jul 13 13:48:12 2011 Lucas Stefas ## gcc -c anim.c background.c background2.c background3.c drawsq...
Shell
#!/bin/sh ## Makefile.sh for in /home/lucas/projet/zapique/serveur/graphique/.lib ## ## Made by Lucas Stefas ## Login <stefas_l@epitech.net> ## ## Started on Sat Jul 9 21:31:26 2011 Lucas Stefas ## Last update Wed Jul 13 13:48:12 2011 Lucas Stefas ## gcc -c anim.c background.c background2.c background3.c drawsq...
Shell
#!/bin/bash curl -O https://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.02.tar.gz curl -O http://leptonica.googlecode.com/files/leptonica-1.69.tar.gz tar -zxvf tesseract-ocr-3.02.02.tar.gz tar -zxvf leptonica-1.69.tar.gz rm -f tesseract-ocr-3.02.02.tar.gz rm -f leptonica-1.69.tar.gz mv tesseract-ocr jni/com_g...
Shell
#!/bin/bash curl -O http://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.eng.tar.gz tar -zxvf tesseract-ocr-3.02.eng.tar.gz rm -f tesseract-ocr-3.02.eng.tar.gz mkdir data mv tesseract-ocr data/tesseract adb push data/ /sdcard/ adb shell sync
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked immediately after a Subversion txn is # created and populated with initial revprops in the process of doing a # commit. Subversion runs this hook by invoking a program (script, # executable, binary, etc.) named 'start-commit' (for which this fi...
Shell
#!/bin/sh # PRE-COMMIT HOOK # # The pre-commit hook is invoked before a Subversion txn is # committed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-commit' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (t...
Shell
#!/bin/sh # PRE-LOCK HOOK # # The pre-lock hook is invoked before an exclusive lock is # created. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-lock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (the pat...
Shell
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
Shell
#!/bin/sh # PRE-COMMIT HOOK # # The pre-commit hook is invoked before a Subversion txn is # committed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-commit' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (t...
Shell
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
Shell
#!/bin/sh # PRE-LOCK HOOK # # The pre-lock hook is invoked before an exclusive lock is # created. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-lock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (the pat...
Shell
#!/bin/sh # POST-REVPROP-CHANGE HOOK # # The post-revprop-change hook is invoked after a revision property # has been added, modified or deleted. Subversion runs this hook by # invoking a program (script, executable, binary, etc.) named # 'post-revprop-change' (for which this file is a template), with the # f...
Shell
#!/bin/sh # POST-LOCK HOOK # # The post-lock hook is run after a path is locked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-lock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this repos...
Shell
#!/bin/sh # PRE-UNLOCK HOOK # # The pre-unlock hook is invoked before an exclusive lock is # destroyed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-unlock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH ...
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked immediately after a Subversion txn is # created and populated with initial revprops in the process of doing a # commit. Subversion runs this hook by invoking a program (script, # executable, binary, etc.) named 'start-commit' (for which this fi...
Shell
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
Shell
#!/bin/sh # POST-UNLOCK HOOK # # The post-unlock hook runs after a path is unlocked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-unlock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this...
Shell
#!/bin/sh # POST-UNLOCK HOOK # # The post-unlock hook runs after a path is unlocked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-unlock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this...
Shell
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
Shell
#!/bin/sh # POST-LOCK HOOK # # The post-lock hook is run after a path is locked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-lock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this repos...
Shell
#!/bin/sh # POST-REVPROP-CHANGE HOOK # # The post-revprop-change hook is invoked after a revision property # has been added, modified or deleted. Subversion runs this hook by # invoking a program (script, executable, binary, etc.) named # 'post-revprop-change' (for which this file is a template), with the # f...
Shell
#!/bin/sh # PRE-UNLOCK HOOK # # The pre-unlock hook is invoked before an exclusive lock is # destroyed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-unlock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH ...
Shell
#!/bin/sh # Detects OS we're compiling on and generates build_config.mk, # which in turn gets read while processing Makefile. # build_config.mk will set the following variables: # - PORT_CFLAGS will either set: # -DLEVELDB_PLATFORM_POSIX if cstatomic is present # -DLEVELDB_PLATFORM_NOATOMI...
Shell
if test -z "${POWERLINE_COMMAND}" ; then if which powerline-client &>/dev/null ; then export POWERLINE_COMMAND=powerline-client elif which powerline &>/dev/null ; then export POWERLINE_COMMAND=powerline else export POWERLINE_COMMAND="$0:A:h:h:h:h/scripts/powerline" fi fi integer _POWERLINE_JOBNUM _powerline...
Shell
_powerline_init_tmux_support() { if test -n "$TMUX" && tmux refresh -S &>/dev/null ; then # TMUX variable may be unset to create new tmux session inside this one _POWERLINE_TMUX="$TMUX" _powerline_tmux_setenv() { TMUX="$_POWERLINE_TMUX" tmux setenv -g TMUX_"$1"_`tmux display -p "#D" | tr -d %` "$2" TMUX="...
Shell
#!/bin/sh : ${PYTHON:=python} FAILED=0 export PYTHONPATH="${PYTHONPATH}:`realpath .`" for file in tests/test_*.py ; do if ! ${PYTHON} $file --verbose --catch ; then echo "Failed test(s) from $file" FAILED=1 fi done if ! ${PYTHON} scripts/powerline-lint -p powerline/config_files ; then echo "Failed powerline-lint...
Shell
#!/bin/sh pip install . pip install psutil if python -c 'import sys; sys.exit(1 * (sys.version_info[0] != 2))' ; then # Python 2 pip install mercurial pip install --allow-external bzr --allow-unverified bzr bzr if python -c 'import sys; sys.exit(1 * (sys.version_info[1] >= 7))' ; then # Python 2.6 pip install u...
Shell
#!/bin/sh FAILED=0 ONLY_SHELL="$1" check_screen_log() { SH="$1" if test -e tests/test_shells/${SH}.ok ; then diff -u tests/test_shells/${SH}.ok tests/shell/${SH}.log return $? else cat tests/shell/${SH}.log return 1 fi } run_test() { SH="$1" SESNAME="powerline-shell-test-${SH}-$$" test "x$ONLY_SHELL" ...
Shell
unsetopt promptsp transientrprompt POWERLINE_COMMAND=( $PWD/scripts/powerline -p $PWD/powerline/config_files ) POWERLINE_COMMAND=( $POWERLINE_COMMAND -t default_leftonly.segment_data.hostname.args.only_if_ssh=false ) POWERLINE_COMMAND=( $POWERLINE_COMMAND -c ext.shell.theme=default_leftonly ) VIRTUAL_ENV= source powerl...
Shell
POWERLINE_COMMAND="$PWD/scripts/powerline -p $PWD/powerline/config_files" POWERLINE_COMMAND="$POWERLINE_COMMAND -t default_leftonly.segment_data.hostname.args.only_if_ssh=false" POWERLINE_COMMAND="$POWERLINE_COMMAND -c ext.shell.theme=default_leftonly" VIRTUAL_ENV= source powerline/bindings/bash/powerline.sh ; cd tests...
Shell
#!/bin/sh sqlite3 -init dbbackup main.sqlite #echo '.dump' | sqlite3 mail.sqlite >dump.sql
Shell
#!/bin/sh sqlite3 -init dbbackup main.sqlite #echo '.dump' | sqlite3 mail.sqlite >dump.sql
Shell
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
Shell
#! /bin/bash BINDIR=$1 INCLUDEDIR=$2 LIBDIR=$3 sudo mkdir -p $BINDIR sudo cp zap $BINDIR/zap sudo mkdir -p $INCLUDEDIR sudo mkdir -p $INCLUDEDIR/zap sudo cp include/*.h $INCLUDEDIR/zap/ sudo mkdir -p $LIBDIR sudo mkdir -p $LIBDIR/zap sudo cp libzap.a $LIBDIR/zap/libzap.a
Shell
#! /bin/bash BINDIR=$1 INCLUDEDIR=$2 LIBDIR=$3 sudo mkdir -p $BINDIR sudo cp zap $BINDIR/zap sudo mkdir -p $INCLUDEDIR sudo mkdir -p $INCLUDEDIR/zap sudo cp include/*.h $INCLUDEDIR/zap/ sudo mkdir -p $LIBDIR sudo mkdir -p $LIBDIR/zap sudo cp libzap.a $LIBDIR/zap/libzap.a
Shell
#!/bin/sh cd /afs/epitech.net/users/all/astek/public/ ./zappy-server-freebsd -p 4242 -t 10 -n toto titi & ./zappy-gfx-freebsd localhost 4242 &
Shell
#!/bin/sh cd /afs/epitech.net/users/all/astek/public/ ./zappy-server-freebsd -p 4242 -t 10 -n toto titi & ./zappy-gfx-freebsd localhost 4242 &
Shell
#!/bin/sh exec /usr/bin/mono /usr/bin/zapLoader.exe
Shell
#!/bin/sh exec /usr/bin/mono /usr/bin/zapLoader.exe
Shell
#!/bin/ksh /usr/bin/mysql -uroot -proot7ren -e'update zaoke.`order` set state = 3 where state in (1) and book_time < now();' /usr/bin/mysql -uroot -proot7ren -e'update zaoke.`order` set state = 4 where state in (0) and book_time < now();'
Shell
#!/bin/ksh /usr/bin/mysql -uroot -proot7ren -e'update zaoke.`order` set state = 3 where state in (1) and book_time < now();' /usr/bin/mysql -uroot -proot7ren -e'update zaoke.`order` set state = 4 where state in (0) and book_time < now();'
Shell
gcc -L/local/lib -lcppunit -ldl -lpthread -I/home/y/include -I../../include -std=c++0x -fpermissive -L/home/y/lib64 testRunner.cpp EchoTestHandlerTest.cpp VnocMessageHandlerTest.cpp ../VnocProtocol.cpp ../../../Message/MessageParser.cpp ../../../Message/MsgDef.cpp ../../../Message/PackMessage.cpp -o testRunner.out
Shell
#!/bin/sh # # Copyright (C) 2001 Stephen Cleary # # Distributed under the Boost Software License, Version 1.0. (See accompany- # ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) # # See http://www.boost.org for updates, documentation, and revision history. # m4 -P -E -DNumberOfArguments=$1 poo...
Shell
#!/bin/sh # # Copyright (C) 2000 Stephen Cleary # # Distributed under the Boost Software License, Version 1.0. (See accompany- # ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) # # See http://www.boost.org for updates, documentation, and revision history. # m4 -P -E -DNumberOfArguments=$1 poo...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2007-03-29.01 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software # Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public ...
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, 2006, # 2007, 2008 Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mi...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2006-12-25.00 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby ...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2006-05-10.23 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redi...
Shell
#!/bin/sh prefix=@prefix@ exec_prefix=@exec_prefix@ exec_prefix_set=no includedir=@includedir@ usage() { cat <<EOF Usage: cppunit-config [OPTION] ... Generic options --version output CppUnit version information. --help display this help and exit. Compilation support options --cflags print pre-processor an...
Shell
#!/bin/bash # # This script checks the java version and bails if it's less # than Java6 (because we use @Override annotations on interface # overriding methods. It then proceeds to do a maven build that # first cleans, then builds the normal lifecycle through compilation # unit testing (if available) up to packaging. ...
Shell
#!/bin/env bash #CZ#PROJECTDIR=$1 PROJECTDIR= [ -z "$PROJECTDIR" ] && PROJECTDIR=$(readlink -f $(dirname "$0")/..) PYTHONUNBUFFERED=1 PYTHONIOENCODING='UTF-8' PYTHONPATH="\ $PROJECTDIR/lib:\ $PROJECTDIR/lib/lib_external:\ $PROJECTDIR/lib/lib_zappyk:\ $PROJECTDIR/getRunSend:\ $PROJECTDIR/switchOnOff:\ $PROJECTDIR/run...
Shell
#!/bin/env bash #CZ#PROJECTDIR=$1 PROJECTDIR= [ -z "$PROJECTDIR" ] && PROJECTDIR=$(readlink -f $(dirname "$0")/..) PYTHONUNBUFFERED=1 PYTHONIOENCODING='UTF-8' PYTHONPATH="\ $PROJECTDIR/lib:\ $PROJECTDIR/lib/lib_external:\ $PROJECTDIR/lib/lib_zappyk:\ $PROJECTDIR/getRunSend:\ $PROJECTDIR/switchOnOff:\ $PROJECTDIR/run...
Shell
#!/bin/env bash ./RunCmdServer/RunCmdServer client "$@" exit
Shell
#!/bin/env bash echo '================================================================================' pwd echo '--------------------------------------------------------------------------------' sleep 10 ls -l echo '--------------------------------------------------------------------------------' sleep 10 ifconfi...
Shell
#!/bin/env bash echo '================================================================================' pwd echo '--------------------------------------------------------------------------------' sleep 10 ls -l echo '--------------------------------------------------------------------------------' sleep 10 ifconfi...
Shell
#!/bin/env bash ./RunCmdServer/RunCmdServer client "$@" exit
Shell
#!/bin/env bash ./RunCmdServer/RunCmdServer server "$@" exit
Shell
#!/bin/env bash source <(../etc/set-env-linux.sh) ./RunCmdServer/main.py client "$@" exit
Shell
#!/bin/env bash source <(../etc/set-env-linux.sh) ./RunCmdServer/main.py client "$@" exit
Shell
#!/bin/env bash source <(../etc/set-env-linux.sh) ./RunCmdServer/main.py server "$@" exit
Shell
#!/bin/env bash source <(../etc/set-env-linux.sh) ./RunCmdServer/main.py server "$@" exit
Shell
#!/bin/env bash ./RunCmdServer/RunCmdServer server "$@" exit
Shell
#!/bin/env bash PYTHON='python3' PATH_BASE=$(dirname "$0") PATH_HOME="$PATH_BASE/../" PATH_HOME=$(cd -L "$PATH_HOME" && pwd) IFS=$'\n' for file in $(find "$PATH_HOME/" -iname "*.py" -print0 | xargs -0 -i echo "{}"); do echo "$PYTHON -m py_compile \"$file\"" done exit
Shell
#!/bin/env bash CXFREEZE=cxfreeze PATH_BASE=$(dirname "$0") PATH_HOME=$PATH_BASE/../../ cd "$PATH_HOME" echo "Avvio di $CXFREEZE in corso..." $CXFREEZE "test/src/main.py" \ --include-path "test/img;test/lib;test/src;test/cfg" \ --icon "test/img/gear.ico" \ --target-dir "test/dist/linux" \ --compress...
Shell
#!/bin/env bash PYTHON='python3' PATH_BASE=$(dirname "$0") PATH_HOME="$PATH_BASE/../" PATH_HOME=$(cd -L "$PATH_HOME" && pwd) IFS=$'\n' for file in $(find "$PATH_HOME/" -iname "*.py" -print0 | xargs -0 -i echo "{}"); do echo "$PYTHON -m py_compile \"$file\"" done exit
Shell
#!/bin/env bash CXFREEZE=cxfreeze PATH_BASE=$(dirname "$0") PATH_HOME=$PATH_BASE/../../ cd "$PATH_HOME" echo "Avvio di $CXFREEZE in corso..." $CXFREEZE "test/src/main.py" \ --include-path "test/img;test/lib;test/src;test/cfg" \ --icon "test/img/gear.ico" \ --target-dir "test/dist/linux" \ --compress...
Shell
#!/bin/bash function print_help { echo 'Usage: adwhirl [start_invoker|start_daemon|stop_invoker|stop_daemon|stop_all]' echo '' exit 1 } if [ $# -gt 1 ] || [ $# -eq 0 ]; then print_help fi command=$1 function start_invoker { ulimit -n 819200 java -server -Xms256m -Xmx1024m -cp adwhirl.jar Invoker...
Shell
#!/bin/sh if ps aux | grep -v grep | grep -v checkInvoker | grep -i adwhirl | grep -i Invoker > /dev/null then : else INSTANCE=`curl -s http://169.254.169.254/2007-03-01/meta-data/instance-id` HOSTNAME=`curl -s http://169.254.169.254/2007-03-01/meta-data/public-hostname` DATE=`date` echo -e "AdWhirl Invok...
Shell
#!/bin/sh if ps aux | grep -v grep | grep java | grep Daemon > /dev/null then : else echo "AdWhirl Daemon is down" | mail -s "**PROBLEM - AdWhirl Daemon is CRITICAL" jpincar@admob.com #page-adwhirl@admob-moat.pagerduty.com #page-adwhirl@yell.admob.com fi
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked immediately after a Subversion txn is # created and populated with initial revprops in the process of doing a # commit. Subversion runs this hook by invoking a program (script, # executable, binary, etc.) named 'start-commit' (for which this fi...
Shell
#!/bin/sh # PRE-COMMIT HOOK # # The pre-commit hook is invoked before a Subversion txn is # committed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-commit' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (t...
Shell
#!/bin/sh # PRE-LOCK HOOK # # The pre-lock hook is invoked before an exclusive lock is # created. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-lock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (the pat...
Shell
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
Shell