code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/bash # Mata un proceso java que se identificado por -Dedu.upf.grupoe.p2ppicture.GUI OPERATING_SYSTEM=`uname -a | awk '{print $1}'` if [ "$OPERATING_SYSTEM" == "SunOS" ]; then COMMAND="/usr/ucb/ps auxwwww" else COMMAND="ps -ef" fi RUNNING=`$COMMAND | grep -i "\-Dedu.upf.grupoe.p2ppicture.GUI" | grep -v grep...
Shell
#!/bin/bash #El único requisito para instalar la aplicación es tener instalado el JRE TMP_JAVA_HOME=`which java` if [ -n "$TMP_JAVA_HOME" ]; then JAVA_BIN=`dirname $TMP_JAVA_HOME` fi if [ -z "$JAVA_HOME" ]; then if [ -z "$JAVA_BIN" ]; then echo "Introduce el path de la distribution de JAVA" echo -e "(i....
Shell
#!/bin/bash set +u TMP_JAVA_HOME=`which java` if [ -n "$TMP_JAVA_HOME" ]; then JAVA_BIN=`dirname $TMP_JAVA_HOME` fi if [ -z "$JAVA_HOME" ]; then if [ -z "$JAVA_BIN" ]; then echo "Path to the JAVA folder" echo -e "(i.e. /usr/local/j2sdk): \c" read PATH_TO_JAVA if [ -d $PATH_TO_JAVA ]; then JAVA...
Shell
#!/bin/bash set +u TMP_JAVA_HOME=`which java` if [ -n "$TMP_JAVA_HOME" ]; then JAVA_BIN=`dirname $TMP_JAVA_HOME` fi if [ -z "$JAVA_HOME" ]; then if [ -z "$JAVA_BIN" ]; then echo "Path to the JAVA folder" echo -e "(i.e. /usr/local/j2sdk): \c" read PATH_TO_JAVA if [ -d $PATH_TO_JAVA ]; then JAVA...
Shell
#Desinstalar componente
Shell
#!/bin/bash set +u `dirname $0`/../bin/bootstrap.sh $* start
Shell
#!/bin/bash # Mata un proceso java que se identificado por -Dedu.upf.grupoe.p2ppicture.GUI OPERATING_SYSTEM=`uname -a | awk '{print $1}'` if [ "$OPERATING_SYSTEM" == "SunOS" ]; then COMMAND="/usr/ucb/ps auxwwww" else COMMAND="ps -ef" fi RUNNING=`$COMMAND | grep -i "\-Dedu.upf.grupoe.p2ppicture.GUI" | grep -v grep...
Shell
#!/bin/sh # After initial checkout from svn, you'll want to run this as your first step. android update project --path . --target "android-14"
Shell
#!/bin/sh scp -q res/values/strings.xml linode:ath/incoming/en.xml wget --quiet -O /dev/null --ignore-length --post-data="" http://ath.darshancomputing.com/bi/load_new_en if [ "$?" -ne "0" ]; then echo "Sorry, something didn't work!" exit 1 fi
Shell
#!/bin/bash #ruby generate_images.rb #for i in res/drawable/b[0-9]*.png; do mogrify -resize 25x25 $i; done #gimp res/drawable/b100.png #for i in res/drawable/*.png; do mogrify -sharpen 25x25 $i; done # shift ("roll") images 1px to the right # for i in numbers/*.png; do convert $i -roll +1+0 $i; done d=`dirname $(rea...
Shell
#!/bin/bash # # Copyright (c) 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/bash # (C) Copyright 2014, 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 to in wr...
Shell
#-*- mode: shell-script;-*- # # bash completion support for tesseract # # Copyright (C) 2009 Neskie A. Manuel <neskiem@gmail.com> # Distributed under the Apache License, Version 2.0. # _tesseract_languages() { local TESSDATA="/usr/share/tesseract-ocr/tessdata/" local langs="$(ls $TESSDATA | grep traineddata | cut -...
Shell
#!/bin/bash # # File: generate_manpages.sh # Description: Converts .asc files into man pages, etc. for Tesseract. # Author: eger@google.com (David Eger) # Created: 9 Feb 2012 # # (C) Copyright 2012 Google Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this f...
Shell
#!/bin/bash # File: runalltests.sh # Description: Script to run a set of UNLV test sets. # Author: Ray Smith # Created: Thu Jun 14 08:21:01 PDT 2007 # # (C) Copyright 2007, Google Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with...
Shell
#!/bin/bash # File: counttestset.sh # Description: Script to count the errors on a single UNLV set. # Author: Ray Smith # Created: Wed Jun 13 11:58:01 PDT 2007 # # (C) Copyright 2007, Google Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in comp...
Shell
#!/bin/bash # File: runtestset.sh # Description: Script to run tesseract on a single UNLV set. # Author: Ray Smith # Created: Wed Jun 13 10:13:01 PDT 2007 # # (C) Copyright 2007, Google Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in complianc...
Shell
#!/bin/bash if [ $# -ne 1 ] then echo "Usage:$0 scantype" echo "UNLV data comes in several scan types:" echo "3B=300 dpi binary" echo "3A=adaptive thresholded 300 dpi" echo "3G=300 dpi grey" echo "4B=400dpi binary" echo "2B=200dpi binary" echo "For now we only use 3B" exit 1 fi ext=...
Shell
#!/bin/bash # Requirement: tesseract directory name should be "tesseract-ocr" source_dir=${PWD##*/} tess_ver=3.02 src_min_ver=.02 ver=$source_dir-$tess_ver excld="exclude.txt" cd .. echo Output for $source_dir is in `pwd` ... # create language files packages if [ -f $excld ] then echo Removing $excld... rm -f $ex...
Shell
#!/bin/sh # This is a simple script which is meant to help developers # better deal with the GNU autotools, specifically: # # aclocal # autoheader # autoconf # automake # # The whole thing is quite complex... # # The idea is to run this collection of tools on a single platform, # typically the main development...
Shell
#!/bin/bash # # Copyright (c) 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
valgrind --leak-check=yes --suppressions=default.supp ${1} ../Debug/vimrid-viewer --debug --demo filter-3 --input /home/nick/ViMRID/test-data/mri-prostate-set-1/IMG00000
Shell
#! /bin/bash # Binary of the Texturepacker: TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker # Shared Spritesheet-Output-Definitions: SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/" SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets" SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src...
Shell
#!/bin/sh # ### $Id: run.sh abhayani@redhat.com $ ### # # Mobicents Media Server Control Script # # To use this script run it as root - it will switch to the specified user # # Here is a little (and extremely primitive) startup/shutdown script # for RedHat systems. It assumes that Mobicents Media Server lives in /usr/l...
Shell
#!/bin/sh ### ====================================================================== ### ## ## ## Mobicents SMSC Test Server Bootstrap Script ## ## ...
Shell
#!/bin/sh ### ====================================================================== ### ## ## ## Mobicents SS7 CLI Bootstrap Script ## ## ##...
Shell
#!/bin/bash clear; while [ ! -f stop ]; do ./alps.py $@; done; rm -f stop
Shell
#!/bin/bash clear; while [ ! -f stop ]; do ./alps.py $@; done; rm -f stop
Shell
openssl genrsa -out privkey.pem 1024 openssl req -new -key privkey.pem -out cert.csr openssl x509 -req -days 3650 -in cert.csr -signkey privkey.pem -out newcert.pem ( openssl x509 -in newcert.pem; cat privkey.pem ) > server.pem ln -s server.pem `openssl x509 -hash -noout -in server.pem`.0
Shell
#!/bin/sh DIR="$( cd "$( dirname "$0" )" && pwd )" javac -target 1.5 -source 1.5 $DIR/testlibs/*.java if [ -n "$JYTHON_HOME" ] then javac -cp $JYTHON_HOME/jython.jar -target 1.5 -source 1.5 $DIR/listeners/*.java else echo set JYTHON_HOME to compile listeners fi
Shell
#!/bin/sh testdir=`dirname $0` rm -f $testdir/output.* export PYTHONPATH=$testdir/../../../src python -m robot.run -l none -r none -d $testdir $testdir/test.txt python $testdir/../times2csv.py $testdir/output.xml echo "------------------------------ results ------------------------------" cat $testdir/output.csv echo "...
Shell
#!/bin/bash testdir=`dirname $0` pybot --loglevel DEBUG --log none --report none --outputdir $testdir $testdir/example.txt python $testdir/../statuschecker.py $testdir/output.xml rebot $testdir/output.xml echo "$? tests failed, 5 should have failed." echo "Check that tests starting with 'FAILURE:' have failed and other...
Shell
#!/bin/bash dirname=robotframework-c-example zipname=$dirname-$(date +%Y%m%d).zip files="README.txt login.c LoginLibrary.py LoginTests.tsv Makefile" rm -rf $dirname $zipname mkdir $dirname echo Copying... for file in $files; do cp -v $file $dirname done echo Zipping... zip -r $zipname $dirname rm -rf $dirname ech...
Shell
#!/bin/bash base=`dirname $0` ROBOT_SYSLOG_FILE=$base/tmp/syslog.txt python $base/src/robot/run.py -P $base/atest/testresources/testlibs -P $base/tmp -L debug -d $base/tmp "$@"
Shell
#!/bin/bash pybot --outputdir results --exclude parallel atest/
Shell
#!/bin/bash #python src/robot/rebot.py $* &> /dev/null & python src/robot/run.py $* &> /dev/null & #/usr/lib/jvm/java-6-sun/jre/bin/java -Xmx1024m -Xss1024k -classpath /home/jth/opt/jython2.5.1/jython.jar: -Dpython.home=/home/jth/opt/jython2.5.1 -Dpython.executable=/home/jth/opt/jython2.5.1/jython org.python.util.jyt...
Shell
#!/bin/bash set -e # fail early VERS="$1" [ -n "$VERS" ] && VERS="${VERS}_" function die() { echo "Error: " $* echo echo "USage: $0 <version>" echo "Automatically sign [A-Z].apk" exit 1 } [ -z "$1" ] && die shopt -s extglob # extended glob pattern function process() { SRC="$1" BASE="${SRC/.apk/}" ...
Shell
#!/bin/bash # Copyright 2009 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...
Shell
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
Shell
#! /bin/bash # Binary of the Texturepacker: TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker # Shared Spritesheet-Output-Definitions: SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/" SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets" SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src...
Shell
#!/bin/sh # This script will build LaunchSLClient.app from the .exe, .dll's, and # other necessary files. # # This should be run from the bin directory. APP_NAME="LaunchSLClient" SOURCE_PATH="../OpenSim/Tools/${APP_NAME}" ASSEMBLIES="mscorlib.dll \ System.Windows.Forms.dll \ System.Drawing.dll \ System.C...
Shell
#!/bin/sh # This script will build LaunchSLClient.app from the .exe, .dll's, and # other necessary files. # # This should be run from the bin directory. APP_NAME="LaunchSLClient" SOURCE_PATH="../OpenSim/Tools/${APP_NAME}" ASSEMBLIES="mscorlib.dll \ System.Windows.Forms.dll \ System.Drawing.dll \ System.C...
Shell
#!/bin/sh mono ../../../bin/Prebuild.exe /target nant mono ../../../bin/Prebuild.exe /target monodev mono ../../../bin/Prebuild.exe /target vs2008
Shell
#!/bin/sh mono ../../../bin/Prebuild.exe /target nant mono ../../../bin/Prebuild.exe /target monodev mono ../../../bin/Prebuild.exe /target vs2008
Shell
#!/bin/sh PWD=`pwd` # Fetch the path relative to the launch point where this shell script exists. APP_PATH=`echo $0 | awk '{split($0,patharr,"/"); idx=1; while(patharr[idx+3] != "") { if (patharr[idx] != "/") {printf("%s/", patharr[idx]); idx++ }} }'` # Fetch the app name (its our own name) APP_NAME=`echo $0 | awk '...
Shell
#!/bin/sh PWD=`pwd` # Fetch the path relative to the launch point where this shell script exists. APP_PATH=`echo $0 | awk '{split($0,patharr,"/"); idx=1; while(patharr[idx+3] != "") { if (patharr[idx] != "/") {printf("%s/", patharr[idx]); idx++ }} }'` # Fetch the app name (its our own name) APP_NAME=`echo $0 | awk '...
Shell
#!/bin/sh case "$1" in 'clean') mono bin/Prebuild.exe /clean ;; 'autoclean') echo y|mono bin/Prebuild.exe /clean ;; 'vs2010') mono bin/Prebuild.exe /target vs2010 ;; 'vs2008') mono bin/Prebuild.exe /target vs2008 ;; *) mono bin/Prebuild.exe /target nant m...
Shell
#!/bin/sh case "$1" in 'clean') mono bin/Prebuild.exe /clean ;; 'autoclean') echo y|mono bin/Prebuild.exe /clean ;; 'vs2010') mono bin/Prebuild.exe /target vs2010 ;; 'vs2008') mono bin/Prebuild.exe /target vs2008 ;; *) mono bin/Prebuild.exe /target nant m...
Shell
#!/bin/bash CONFIGPATH=./config OPNSIMPATH=../bin echo "==========================" echo "DTL/NSL_CURRENCY" echo "==========================" rm -f bin/* yes | mono ../bin/Prebuild.exe /clean ./runprebuild.sh xbuild echo cp bin/OpenSim.Data.MySQL.MySQLMoneyDataWrapper.dll $OPNSIMPATH cp bin/OpenSim.Modules.Currenc...
Shell
mono ../bin/Prebuild.exe /target vs2008 /targetframework v3_5 /conditionals NET_3_5
Shell
#!/bin/bash # download flotsam_XmlRpcGroup if [ -d flotsam_XmlRpcGroup ]; then rm -rf flotsam_XmlRpcGroup fi # download opensim.helper if [ -d opensim.helper ]; then rm -rf opensim.helper fi # download opensum.phplib if [ -d opensim.phplib ]; then rm -rf opensim.phplib fi # download opensim.modules ...
Shell
#!/bin/bash # # Setup helper scripts for OpenSim/Aurora-Sim # by Fumi.Iseki # LANG=C COMMAND="$0" ALL_SCRIPT="NO" SYMBL_LINK="YES" ONLY_DWNLD="NO" SHOW_HELP="NO" while [ $# != 0 ]; do if [ "$1" = "-a" -o "$1" = "--all" ]; then ALL_SCRIPT='YES' elif [ "$1" = "-c" -...
Shell
#!/bin/bash # download flotsam_XmlRpcGroup if [ -d flotsam_XmlRpcGroup ]; then rm -rf flotsam_XmlRpcGroup fi # download opensim.helper if [ -d opensim.helper ]; then rm -rf opensim.helper fi # download opensum.phplib if [ -d opensim.phplib ]; then rm -rf opensim.phplib fi # download opensim.modules ...
Shell
#!/bin/bash # # Setup helper scripts for OpenSim/Aurora-Sim # by Fumi.Iseki # LANG=C COMMAND="$0" ALL_SCRIPT="NO" SYMBL_LINK="YES" ONLY_DWNLD="NO" SHOW_HELP="NO" while [ $# != 0 ]; do if [ "$1" = "-a" -o "$1" = "--all" ]; then ALL_SCRIPT='YES' elif [ "$1" = "-c" -...
Shell
#!/bin/sh function symbl2file() { SYB=`echo $1|awk -F":" '{print $1}'` FIL=`echo $1|awk -F":" '{print $2}'` rm $SYB echo "copy $FIL to $SYB" cp -Rpd $FIL $SYB } LIST=`LANG=C ls -l |grep ^l |awk -F" " '{print $9":"$11}'` for A in $LIST; do symbl2file $A done
Shell
#!/bin/sh function symbl2file() { SYB=`echo $1|awk -F":" '{print $1}'` FIL=`echo $1|awk -F":" '{print $2}'` rm $SYB echo "copy $FIL to $SYB" cp -Rpd $FIL $SYB } LIST=`LANG=C ls -l |grep ^l |awk -F" " '{print $9":"$11}'` for A in $LIST; do symbl2file $A done
Shell
#!/bin/bash CONFIGPATH=./config OPNSIMPATH=../bin echo "==========================" echo "DTL/NSL_CURRENCY" echo "==========================" rm -f bin/* yes | mono ../bin/Prebuild.exe /clean ./runprebuild.sh xbuild echo cp bin/OpenSim.Data.MySQL.MySQLMoneyDataWrapper.dll $OPNSIMPATH cp bin/OpenSim.Modules.Currenc...
Shell
#!/bin/bash #El único requisito para instalar la aplicación es tener instalado el JRE TMP_JAVA_HOME=`which java` if [ -n "$TMP_JAVA_HOME" ]; then JAVA_BIN=`dirname $TMP_JAVA_HOME` fi if [ -z "$JAVA_HOME" ]; then if [ -z "$JAVA_BIN" ]; then echo "Introduce el path de la distribution de JAVA" echo -e "(i....
Shell
#!/bin/bash is_live_the_process () { NUM_PROC=`ps -ef|grep "$1"|grep -v "grep" |wc -l` if [ $NUM_PROC == "1" ]; then echo "OK | $2 |" else echo "ERROR | $2 | $3" fi } echo "------------------------------------" echo "ESTADO | PROCESO | MENSAJE" echo "------------------------------------" is_live_...
Shell
#!/bin/bash set +u `dirname $0`/../bin/bootstrap.sh $* start
Shell
#!/bin/bash # Mata un proceso java que se identificado por -Dedu.upf.gf.calculator OPERATING_SYSTEM=`uname -a | awk '{print $1}'` if [ "$OPERATING_SYSTEM" == "SunOS" ]; then COMMAND="/usr/ucb/ps auxwwww" else COMMAND="ps -ef" fi RUNNING=`$COMMAND | grep -i "\-Dedu.upf.gf.calculator.${env}" | grep -v grep | cut -c...
Shell
#!/bin/bash #El único requisito para instalar la aplicación es tener instalado el JRE TMP_JAVA_HOME=`which java` if [ -n "$TMP_JAVA_HOME" ]; then JAVA_BIN=`dirname $TMP_JAVA_HOME` fi if [ -z "$JAVA_HOME" ]; then if [ -z "$JAVA_BIN" ]; then echo "Introduce el path de la distribution de JAVA" echo -e "(i....
Shell
#!/bin/bash set +u TMP_JAVA_HOME=`which java` if [ -n "$TMP_JAVA_HOME" ]; then JAVA_BIN=`dirname $TMP_JAVA_HOME` fi if [ -z "$JAVA_HOME" ]; then if [ -z "$JAVA_BIN" ]; then echo "Introduce el path de la distribution de JAVA" echo -e "(i.e. /usr/local/j2sdk): \c" read PATH_TO_JAVA if [ -d $PATH_...
Shell
#!/bin/bash set +u TMP_JAVA_HOME=`which java` if [ -n "$TMP_JAVA_HOME" ]; then JAVA_BIN=`dirname $TMP_JAVA_HOME` fi if [ -z "$JAVA_HOME" ]; then if [ -z "$JAVA_BIN" ]; then echo "Introduce el path de la distribution de JAVA" echo -e "(i.e. /usr/local/j2sdk): \c" read PATH_TO_JAVA if [ -d $PATH_...
Shell
#Desinstalar componente
Shell
#!/bin/bash is_live_the_process () { NUM_PROC=`ps -ef|grep "$1"|grep -v "grep" |wc -l` if [ $NUM_PROC == "1" ]; then echo "OK | $2 |" else echo "ERROR | $2 | $3" fi } echo "------------------------------------" echo "ESTADO | PROCESO | MENSAJE" echo "------------------------------------" is_live_...
Shell
#!/bin/bash set +u `dirname $0`/../bin/bootstrap.sh $* start
Shell
#!/bin/bash # Mata un proceso java que se identificado por -Dedu.upf.gf.calculator OPERATING_SYSTEM=`uname -a | awk '{print $1}'` if [ "$OPERATING_SYSTEM" == "SunOS" ]; then COMMAND="/usr/ucb/ps auxwwww" else COMMAND="ps -ef" fi RUNNING=`$COMMAND | grep -i "\-Dedu.upf.gf.calculator.${env}" | grep -v grep | cut -c...
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/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 # script to package this android application PACKAGE_NAME=pandoroid #$(basename $(pwd)) git push git push github 2> /dev/null # bundle it all up tar cvjf "../$PACKAGE_NAME.tar.bz2" --exclude-backups --exclude="consoleTesting" --exclude="bin" * .classpath .project .git* cp bin/"$(basename $(pwd))".apk ".....
Shell
#!/bin/bash # # Starts a basic web server on the port specified. # # ./serve.sh 3000 -> http://localhost:3000 # # Copyright 2012 Eric Bidelman <ebidel@gmail.com> port=$1 if [ $# -ne 1 ] then port=8000 fi if [ $(uname -s) == "Darwin" ] then open=open else open=xdg-open fi $open http://localhost:$port/templat...
Shell
#!/bin/sh SCRIPTDIR=`dirname $0` cd $SCRIPTDIR/.. RED="0.5 0.5 0.5 0 0 0 0 0 0" GREEN="0 0 0 0.5 0.5 0.5 0 0 0" for x in btn_zoom_down_disabled.9 btn_zoom_down_disabled_focused.9 btn_zoom_down_normal.9 btn_zoom_up_disabled.9 btn_zoom_up_disabled_focused.9 btn_zoom_up_normal.9 btn_zoom_width_normal ; do conv...
Shell
#!/bin/sh SCRIPTDIR=`dirname $0` cd $SCRIPTDIR/.. for x in upfolder folder home recent1 recent2 recent3 recent4 recent5 ; do convert res/drawable-hdpi/$x.png -resize 66.7% res/drawable-mdpi/$x.png convert res/drawable-hdpi/$x.png -resize 50% res/drawable-ldpi/$x.png done
Shell
#!/bin/sh # make sure ndk-build is in path SCRIPTDIR=`dirname $0` MUPDF_FILE=mupdf-snapshot-20111207.tar.gz MUPDF=mupdf #MUPDF_FILE=mupdf-0.9-source.tar.gz #MUPDF=mupdf-0.9 FREETYPE=freetype-2.4.6 OPENJPEG=openjpeg_v1_4_sources_r697 JBIG2DEC=jbig2dec-0.11 JPEGSRC=jpegsrc.v8a.tar.gz JPEGDIR=jpeg-8a cd $SCRIPTDIR/../de...
Shell
#!/bin/bash # # Copyright (c) 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/bash #El único requisito para instalar la aplicación es tener instalado el JRE TMP_JAVA_HOME=`which java` if [ -n "$TMP_JAVA_HOME" ]; then JAVA_BIN=`dirname $TMP_JAVA_HOME` fi if [ -z "$JAVA_HOME" ]; then if [ -z "$JAVA_BIN" ]; then echo "Introduce el path de la distribution de JAVA" ...
Shell
#!/bin/bash is_live_the_process () { NUM_PROC=`ps -ef|grep "$1"|grep -v "grep" |wc -l` if [ $NUM_PROC == "1" ]; then echo "OK | $2 |" else echo "ERROR | $2 | $3" fi } echo "------------------------------------" echo "ESTADO | PROCESO | MENSAJE" echo "--------------------------------...
Shell
#!/bin/bash set +u `dirname $0`/../bin/bootstrap.sh $* start
Shell
#!/bin/bash # Mata un proceso java que se identificado por -Dedu.upf.gp.calculator OPERATING_SYSTEM=`uname -a | awk '{print $1}'` if [ "$OPERATING_SYSTEM" == "SunOS" ]; then COMMAND="/usr/ucb/ps auxwwww" else COMMAND="ps -ef" fi RUNNING=`$COMMAND | grep -i "\-Dedu.upf.gp.calculator.${env}" | grep -v grep ...
Shell
#!/bin/bash #El único requisito para instalar la aplicación es tener instalado el JRE TMP_JAVA_HOME=`which java` if [ -n "$TMP_JAVA_HOME" ]; then JAVA_BIN=`dirname $TMP_JAVA_HOME` fi if [ -z "$JAVA_HOME" ]; then if [ -z "$JAVA_BIN" ]; then echo "Introduce el path de la distribution de JAVA" ...
Shell
#!/bin/bash set +u TMP_JAVA_HOME=`which java` if [ -n "$TMP_JAVA_HOME" ]; then JAVA_BIN=`dirname $TMP_JAVA_HOME` fi if [ -z "$JAVA_HOME" ]; then if [ -z "$JAVA_BIN" ]; then echo "Introduce el path de la distribution de JAVA" echo -e "(i.e. /usr/local/j2sdk): \c" read PATH_TO_JAVA ...
Shell
#!/bin/bash set +u TMP_JAVA_HOME=`which java` if [ -n "$TMP_JAVA_HOME" ]; then JAVA_BIN=`dirname $TMP_JAVA_HOME` fi if [ -z "$JAVA_HOME" ]; then if [ -z "$JAVA_BIN" ]; then echo "Introduce el path de la distribution de JAVA" echo -e "(i.e. /usr/local/j2sdk): \c" read PATH_TO_JAVA ...
Shell
#Desinstalar componente
Shell
#!/bin/bash is_live_the_process () { NUM_PROC=`ps -ef|grep "$1"|grep -v "grep" |wc -l` if [ $NUM_PROC == "1" ]; then echo "OK | $2 |" else echo "ERROR | $2 | $3" fi } echo "------------------------------------" echo "ESTADO | PROCESO | MENSAJE" echo "--------------------------------...
Shell
#!/bin/bash set +u `dirname $0`/../bin/bootstrap.sh $* start
Shell
#!/bin/bash # Mata un proceso java que se identificado por -Dedu.upf.gp.calculator OPERATING_SYSTEM=`uname -a | awk '{print $1}'` if [ "$OPERATING_SYSTEM" == "SunOS" ]; then COMMAND="/usr/ucb/ps auxwwww" else COMMAND="ps -ef" fi RUNNING=`$COMMAND | grep -i "\-Dedu.upf.gp.calculator.${env}" | grep -v grep ...
Shell
#!/bin/bash #El único requisito para instalar la aplicación es tener instalado el JRE TMP_JAVA_HOME=`which java` if [ -n "$TMP_JAVA_HOME" ]; then JAVA_BIN=`dirname $TMP_JAVA_HOME` fi if [ -z "$JAVA_HOME" ]; then if [ -z "$JAVA_BIN" ]; then echo "Introduce el path de la distribution de JAVA" ...
Shell
#!/bin/bash is_live_the_process () { NUM_PROC=`ps -ef|grep "$1"|grep -v "grep" |wc -l` if [ $NUM_PROC == "1" ]; then echo "OK | $2 |" else echo "ERROR | $2 | $3" fi } echo "------------------------------------" echo "ESTADO | PROCESO | MENSAJE" echo "--------------------------------...
Shell
#!/bin/bash set +u `dirname $0`/../bin/bootstrap.sh $* start
Shell
#!/bin/bash # Mata un proceso java que se identificado por -Dedu.upf.gc.calculator OPERATING_SYSTEM=`uname -a | awk '{print $1}'` if [ "$OPERATING_SYSTEM" == "SunOS" ]; then COMMAND="/usr/ucb/ps auxwwww" else COMMAND="ps -ef" fi RUNNING=`$COMMAND | grep -i "\-Dedu.upf.gc.calculator.${env}" | grep -v grep ...
Shell
#!/bin/bash #El único requisito para instalar la aplicación es tener instalado el JRE TMP_JAVA_HOME=`which java` if [ -n "$TMP_JAVA_HOME" ]; then JAVA_BIN=`dirname $TMP_JAVA_HOME` fi if [ -z "$JAVA_HOME" ]; then if [ -z "$JAVA_BIN" ]; then echo "Introduce el path de la distribution de JAVA" ...
Shell
#!/bin/bash set +u TMP_JAVA_HOME=`which java` if [ -n "$TMP_JAVA_HOME" ]; then JAVA_BIN=`dirname $TMP_JAVA_HOME` fi if [ -z "$JAVA_HOME" ]; then if [ -z "$JAVA_BIN" ]; then echo "Introduce el path de la distribution de JAVA" echo -e "(i.e. /usr/local/j2sdk): \c" read PATH_TO_JAVA ...
Shell
#!/bin/bash set +u TMP_JAVA_HOME=`which java` if [ -n "$TMP_JAVA_HOME" ]; then JAVA_BIN=`dirname $TMP_JAVA_HOME` fi if [ -z "$JAVA_HOME" ]; then if [ -z "$JAVA_BIN" ]; then echo "Introduce el path de la distribution de JAVA" echo -e "(i.e. /usr/local/j2sdk): \c" read PATH_TO_JAVA ...
Shell
#Desinstalar componente
Shell
#!/bin/bash is_live_the_process () { NUM_PROC=`ps -ef|grep "$1"|grep -v "grep" |wc -l` if [ $NUM_PROC == "1" ]; then echo "OK | $2 |" else echo "ERROR | $2 | $3" fi } echo "------------------------------------" echo "ESTADO | PROCESO | MENSAJE" echo "--------------------------------...
Shell
#!/bin/bash set +u `dirname $0`/../bin/bootstrap.sh $* start
Shell
#!/bin/bash # Mata un proceso java que se identificado por -Dedu.upf.gc.calculator OPERATING_SYSTEM=`uname -a | awk '{print $1}'` if [ "$OPERATING_SYSTEM" == "SunOS" ]; then COMMAND="/usr/ucb/ps auxwwww" else COMMAND="ps -ef" fi RUNNING=`$COMMAND | grep -i "\-Dedu.upf.gc.calculator.${env}" | grep -v grep ...
Shell
#!/bin/bash #El único requisito para instalar la aplicación es tener instalado el JRE TMP_JAVA_HOME=`which java` if [ -n "$TMP_JAVA_HOME" ]; then JAVA_BIN=`dirname $TMP_JAVA_HOME` fi if [ -z "$JAVA_HOME" ]; then if [ -z "$JAVA_BIN" ]; then echo "Introduce el path de la distribution de JAVA" echo -e "(i....
Shell
#!/bin/bash set +u `dirname $0`/../bin/bootstrap.sh $* start
Shell