code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh SH="/bin/sh" if test "$OSTYPE" = msdosdjgpp; then PATH="../apps\;$PATH" else PATH="../apps:$PATH" fi export SH PATH SSLEAY_CONFIG="-config CAss.cnf" export SSLEAY_CONFIG OPENSSL="`pwd`/../util/opensslwrap.sh" export OPENSSL /bin/rm -fr demoCA $SH ../apps/CA.sh -newca <<EOF EOF if [ $? != 0 ]; the...
Shell
#!/bin/sh cmd='../util/shlib_wrap.sh ../apps/openssl req -config ../apps/openssl.cnf' if [ "$1"x != "x" ]; then t=$1 else t=testreq.pem fi if $cmd -in $t -inform p -noout -text 2>&1 | fgrep -i 'Unknown Public Key'; then echo "skipping req conversion test for $t" exit 0 fi echo testing req conversions cp $t ff...
Shell
#!/bin/sh # This script is used by test/Makefile.ssl to check whether a sane 'bc' # is installed. # ('make test_bn' should not try to run 'bc' if it does not exist or if # it is a broken 'bc' version that is known to cause trouble.) # # If 'bc' works, we also test if it knows the 'print' command. # # In any case, outp...
Shell
#!/bin/sh cmd='../util/shlib_wrap.sh ../apps/openssl x509' if [ "$1"x != "x" ]; then t=$1 else t=testx509.pem fi echo testing X509 conversions cp $t fff.p echo "p -> d" $cmd -in fff.p -inform p -outform d >f.d if [ $? != 0 ]; then exit 1; fi echo "p -> n" $cmd -in fff.p -inform p -outform n >f.n if [ $? != 0 ]; t...
Shell
#! /bin/sh echo 'Testing a lot of proxy conditions.' echo 'Some of them may turn out being invalid, which is fine.' for auth in A B C BC; do for cond in A B C 'A|B&!C'; do sh ./testssl $1 $2 $3 "-proxy -proxy_auth $auth -proxy_cond $cond" if [ $? = 3 ]; then exit 1; fi done done
Shell
#!/bin/sh testsrc=Makefile test=./p cmd="../util/shlib_wrap.sh ../apps/openssl" cat $testsrc >$test; echo cat $cmd enc < $test > $test.cipher $cmd enc < $test.cipher >$test.clear cmp $test $test.clear if [ $? != 0 ] then exit 1 else /bin/rm $test.cipher $test.clear fi echo base64 $cmd enc -a -e < $test > $test.cip...
Shell
#!/bin/sh cmd='../util/shlib_wrap.sh ../apps/openssl crl' if [ "$1"x != "x" ]; then t=$1 else t=testcrl.pem fi echo testing crl conversions cp $t fff.p echo "p -> d" $cmd -in fff.p -inform p -outform d >f.d if [ $? != 0 ]; then exit 1; fi #echo "p -> t" #$cmd -in fff.p -inform p -outform t >f.t #if [ $? != 0 ]; t...
Shell
#!/bin/sh T=testcert KEY=512 CA=../certs/testca.pem /bin/rm -f $T.1 $T.2 $T.key if test "$OSTYPE" = msdosdjgpp; then PATH=../apps\;$PATH; else PATH=../apps:$PATH; fi export PATH echo "generating certificate request" echo "string to make the random number generator think it has entropy" >> ./.rnd if ../uti...
Shell
#!/bin/sh cmd='../util/shlib_wrap.sh ../apps/openssl pkcs7' if [ "$1"x != "x" ]; then t=$1 else t=pkcs7-1.pem fi echo "testing pkcs7 conversions (2)" cp $t fff.p echo "p -> d" $cmd -in fff.p -inform p -outform d >f.d if [ $? != 0 ]; then exit 1; fi echo "p -> p" $cmd -in fff.p -inform p -outform p >f.p if [ $? !=...
Shell
#!/bin/sh if [ "$1" = "" ]; then key=../apps/server.pem else key="$1" fi if [ "$2" = "" ]; then cert=../apps/server.pem else cert="$2" fi ssltest="../util/shlib_wrap.sh ./ssltest -key $key -cert $cert -c_key $key -c_cert $cert" if ../util/shlib_wrap.sh ../apps/openssl x509 -in $cert -text -noout | fgrep 'DSA ...
Shell
#!/bin/sh cmd='../util/shlib_wrap.sh ../apps/openssl pkcs7' if [ "$1"x != "x" ]; then t=$1 else t=testp7.pem fi echo testing pkcs7 conversions cp $t fff.p echo "p -> d" $cmd -in fff.p -inform p -outform d >f.d if [ $? != 0 ]; then exit 1; fi echo "p -> p" $cmd -in fff.p -inform p -outform p >f.p if [ $? != 0 ]; t...
Shell
#!/bin/sh if ../util/shlib_wrap.sh ../apps/openssl no-rsa; then echo skipping rsa conversion test exit 0 fi cmd='../util/shlib_wrap.sh ../apps/openssl rsa' if [ "$1"x != "x" ]; then t=$1 else t=testrsa.pem fi echo testing rsa conversions cp $t fff.p echo "p -> d" $cmd -in fff.p -inform p -outform d >f.d if [...
Shell
#!/bin/sh if [ "$1" = "" ]; then key=../apps/server.pem else key="$1" fi if [ "$2" = "" ]; then cert=../apps/server.pem else cert="$2" fi ciphers="DHE-RSA-AES256-SHA:DHE-DSS-AES256-SHA:AES256-SHA:EDH-RSA-DES-CBC3-SHA:EDH-DSS-DES-CBC3-SHA:DES-CBC3-SHA:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA:AES128-SHA:EXP1024-DH...
Shell
#!/bin/sh digest='-sha1' reqcmd="../util/shlib_wrap.sh ../apps/openssl req" x509cmd="../util/shlib_wrap.sh ../apps/openssl x509 $digest" verifycmd="../util/shlib_wrap.sh ../apps/openssl verify" dummycnf="../apps/openssl.cnf" CAkey="keyCA.ss" CAcert="certCA.ss" CAreq="reqCA.ss" CAconf="CAss.cnf" CAreq2="req2CA.ss" # t...
Shell
#!/bin/sh # # Check the library fingerprint and generate an executable fingerprint, or # return an error lib=$1 exe=$2 ext=${HMAC_EXT:-sha1} # deal with the case where we're run from within the build and OpenSSL is # not yet installed. Also, make sure LD_LIBRARY_PATH is properly set in # case shared libraries are bu...
Shell
#!/bin/sh -e # # Copyright (c) 2005-2007 The OpenSSL Project. # # Depending on output file name, the script either embeds fingerprint # into libcrypto.so or static application. "Static" refers to static # libcrypto.a, not [necessarily] application per se. # # Even though this script is called fipsld, it expects C compi...
Shell
#!/bin/sh /bin/rm -f mttest purify cc -DSOLARIS -I../../include -g mttest.c -o mttest -L../.. -lthread -lssl -lcrypto -lnsl -lsocket
Shell
#!/bin/sh /bin/rm -f mttest cc -p -DSOLARIS -I../../include -g mttest.c -o mttest -L/usr/lib/libc -ldl -L../.. -lthread -lssl -lcrypto -lnsl -lsocket
Shell
#!/bin/sh # # build using pthreads where it's already built into the system # /bin/rm -f mttest gcc -DPTHREADS -I../../include -g mttest.c -o mttest -L../.. -lssl -lcrypto -lpthread
Shell
#!/bin/sh # # build using pthreads # # http://www.mit.edu:8001/people/proven/pthreads.html # /bin/rm -f mttest pgcc -DPTHREADS -I../../include -g mttest.c -o mttest -L../.. -lssl -lcrypto
Shell
#!/bin/sh /bin/rm -f mttest cc -DSOLARIS -I../../include -g mttest.c -o mttest -L../.. -lthread -lssl -lcrypto -lnsl -lsocket
Shell
#!/bin/sh # This script tries to clean up as much as is possible from whatever diabolical # mess has been left in the directory thanks to autoconf, automake, and their # friends. if test -f Makefile.plain; then if test -f Makefile; then make distclean fi mv Makefile.plain Makefile else make clean fi rm -f aclo...
Shell
#!/bin/sh HTTP="localhost:8080" CLIENT_PORT="9020" SERVER_PORT="9021" sub_test () { echo "STARTING - $VER $CIPHER" ./tunala -listen localhost:$CLIENT_PORT -proxy localhost:$SERVER_PORT \ -cacert CA.pem -cert A-client.pem -server 0 \ -dh_special standard -v_peer -v_strict \ $VER -cipher $CIPHER 1> tc1.txt 2> t...
Shell
#!/bin/sh # This script tries to follow the "GNU way" w.r.t. the autobits. # This does of course generate a number of irritating files. # Try to get over it (I am getting there myself). # This should generate any missing crud, and then run autoconf which should turn # configure.in into a "./configure" script and "Mak...
Shell
#!/bin/sh # For a list of supported curves, use "apps/openssl ecparam -list_curves". # Path to the openssl distribution OPENSSL_DIR=../.. # Path to the openssl program OPENSSL_CMD=$OPENSSL_DIR/apps/openssl # Option to find configuration file OPENSSL_CNF="-config $OPENSSL_DIR/apps/openssl.cnf" # Directory where certif...
Shell
#!/bin/sh # For a list of supported curves, use "apps/openssl ecparam -list_curves". # Path to the openssl distribution OPENSSL_DIR=../.. # Path to the openssl program OPENSSL_CMD=$OPENSSL_DIR/apps/openssl # Option to find configuration file OPENSSL_CNF="-config $OPENSSL_DIR/apps/openssl.cnf" # Directory where certif...
Shell
#!/bin/sh # For a list of supported curves, use "apps/openssl ecparam -list_curves". # Path to the openssl distribution OPENSSL_DIR=../.. # Path to the openssl program OPENSSL_CMD=$OPENSSL_DIR/apps/openssl # Option to find configuration file OPENSSL_CNF="-config $OPENSSL_DIR/apps/openssl.cnf" # Directory where certif...
Shell
#! /bin/sh # Tests ECC cipher suites using ssltest. Requires one argument which could # be aecdh or ecdh-ecdsa or ecdhe-ecdsa or ecdh-rsa or ecdhe-rsa. # A second optional argument can be one of ssl2 ssl3 or tls1 if [ "$1" = "" ]; then (echo "Usage: $0 test [ protocol ]" echo " where test is one of aecdh, ecdh-...
Shell
#!/bin/sh echo Generating x86 assember echo Bignum (cd crypto/bn/asm; perl x86.pl cpp > bn86unix.cpp) (cd crypto/bn/asm; perl x86.pl win32 > bn-win32.asm) echo DES (cd crypto/des/asm; perl des-586.pl cpp > dx86unix.cpp) (cd crypto/des/asm; perl des-586.pl win32 > d-win32.asm) echo "crypt(3)" (cd crypto/des/asm; perl...
Shell
#!/bin/sh # This script is used by test/Makefile to check whether a sane 'pod2man' # is installed. # ('make install' should not try to run 'pod2man' if it does not exist or if # it is a broken 'pod2man' version that is known to cause trouble. if we find # the system 'pod2man' to be broken, we use our own copy instead)...
Shell
#!/bin/sh # # clean up the mess that NT makes of my source tree # if [ -f makefile -a ! -f Makefile ]; then /bin/mv makefile Makefile fi chmod +x Configure util/* echo cleaning /bin/rm -f `find . -name '*.$$$' -print` 2>/dev/null >/dev/null echo 'removing those damn ^M' perl -pi -e 's/\015//' `find . -type 'f' -print...
Shell
#!/bin/sh # Do a makedepend, only leave out the standard headers # Written by Ben Laurie <ben@algroup.co.uk> 19 Jan 1999 TOP=$1 shift if [ "$1" = "-MD" ]; then shift MAKEDEPEND=$1 shift fi if [ "$MAKEDEPEND" = "" ]; then MAKEDEPEND=makedepend; fi cp Makefile Makefile.save # fake the presence of Kerberos t...
Shell
#!/bin/bash # # This script configures, builds and packs the binary package for # the Cygwin net distribution version of OpenSSL # # Uncomment when debugging #set -x CONFIG_OPTIONS="--prefix=/usr shared no-idea no-rc5 no-mdc2" INSTALL_PREFIX=/tmp/install VERSION= SUBVERSION=$1 function cleanup() { rm -rf ${INSTAL...
Shell
#!/bin/sh # # generate the Microsoft makefiles and .def files # PATH=util:../util:$PATH # perl util/mk1mf.pl no-sock VC-MSDOS >ms/msdos.mak # perl util/mk1mf.pl VC-W31-32 >ms/w31.mak perl util/mk1mf.pl dll VC-WIN16 >ms/w31dll.mak # perl util/mk1mf.pl VC-WIN32 >ms/nt.mak perl util/mk1mf.pl dll VC-WIN32 >ms/ntdll.mak p...
Shell
#!/bin/sh # This script will re-make all the required certs. # cd apps # sh ../util/mkcerts.sh # mv ca-cert.pem pca-cert.pem ../certs # cd .. # cat certs/*.pem >>apps/server.pem # cat certs/*.pem >>apps/server2.pem # SSLEAY=`pwd`/apps/ssleay; export SSLEAY # sh tools/c_rehash certs # CAbits=1024 SSLEAY="../apps/open...
Shell
#!/bin/sh HERE="`echo $0 | sed -e 's|[^/]*$||'`" OPENSSL="${HERE}../apps/openssl" if [ -d "${HERE}../engines" -a "x$OPENSSL_ENGINES" = "x" ]; then OPENSSL_ENGINES="${HERE}../engines"; export OPENSSL_ENGINES fi if [ -x "${OPENSSL}.exe" ]; then # The original reason for this script existence is to work around # cer...
Shell
#!/bin/sh # # install - install a program, script, or datafile # This comes from X11R5; it is not part of GNU. # # $XConsortium: install.sh,v 1.2 89/12/18 14:47:22 jim Exp $ # # This script is compatible with the BSD install script, but was written # from scratch. # # set DOITPROG to echo to test this script doit="$...
Shell
#!/bin/sh [ $# -ne 0 ] || set -x # debug mode without arguments:-) THERE="`echo $0 | sed -e 's|[^/]*$||' 2>/dev/null`.." [ -d "${THERE}" ] || exec "$@" # should never happen... # Alternative to this is to parse ${THERE}/Makefile... LIBCRYPTOSO="${THERE}/libcrypto.so" if [ -f "$LIBCRYPTOSO" ]; then while [ -h "$...
Shell
#!/bin/sh perl util/perlpath.pl /usr/bin perl util/ssldir.pl /usr/local perl util/mk1mf.pl FreeBSD >Makefile.FreeBSD perl Configure FreeBSD
Shell
#!/bin/sh rm -f "$2" if test "$OSTYPE" = msdosdjgpp; then cp "$1" "$2" else ln -s "$1" "$2" fi echo "$2 => $1"
Shell
#!/bin/sh # # This is a ugly script use, in conjuction with editing the 'b' # configuration in the $(TOP)/Configure script which will # output when finished a file called speed.log which is the # timings of SSLeay with various options turned on or off. # # from the $(TOP) directory # Edit Configure, modifying things t...
Shell
#!/usr/local/bin/perl $infile="/home/eay/ssl/SSLeay/MINFO"; open(IN,"<$infile") || die "unable to open $infile:$!\n"; $_=<IN>; for (;;) { chop; ($key,$val)=/^([^=]+)=(.*)/; if ($key eq "RELATIVE_DIRECTORY") { if ($lib ne "") { $uc=$lib; $uc =~ s/^lib(.*)\.a/$1/; $uc =~ tr/a-z/A-Z/; $lib_nam{$u...
Shell
#!/bin/sh # # OpenSSL config: determine the operating system and run ./Configure # # "config -h" for usage information. # # this is a merge of minarch and GuessOS from the Apache Group. # Originally written by Tim Hudson <tjh@cryptsoft.com>. # Original Apache Group comments on GuessOS # Simple OS/Pl...
Shell
#! /bin/sh prefix=@prefix@ exec_prefix=@exec_prefix@ includedir=@includedir@ libdir=@libdir@ usage() { cat <<EOF Usage: xml2-config [OPTION] Known values for OPTION are: --prefix=DIR change libxml prefix [default $prefix] --exec-prefix=DIR change libxml exec prefix [default $exec_prefix] --libs print li...
Shell
#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Public domain errstatus=0 dirmode="" usage="\ Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..." # process command line arguments while test $# -gt 0 ; do case "${1}" in -h | ...
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 Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2006-10-15.18 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 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 Licens...
Shell
# # Configuration file for using the XML library in GNOME applications # XML2_LIBDIR="@XML_LIBDIR@" XML2_LIBS="@XML_LIBS@" XML2_INCLUDEDIR="@XML_INCLUDEDIR@" MODULE_VERSION="xml2-@VERSION@"
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. # Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU ...
Shell
#! /bin/sh # # install - install a program, script, or datafile # This comes from X11R5 (mit/util/scripts/install.sh). # # Copyright 1991 by the Massachusetts Institute of Technology # # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without...
Shell
#!/bin/bash NAME="haggle-benchmark" i=1 T="" for trace in $@; do PARAMS=`awk 'BEGIN{i=0;} /attr_pool/ { while (i++ < 6) { split($i,a,"="); print a[2];} }' $trace` echo $PARAMS #exit #for p in $PARAMS; do T="$PARAMS" #done #PLOT=$PLOT"\"$trace\" using 1:2:(\$3*2) with errorlines ls ...
Shell
#!/bin/bash trap exit SIGHUP SIGINT SIGTERM BENCH_DIR=`dirname $0` HAGGLE_DIR=$BENCH_DIR/../bin #echo $BENCH_DIR #echo $HAGGLE_DIR # Benchmark paramaters in the same order as given on the haggle # command line DataObjects_Attr="10" Nodes_Attr="100" Attr_Num="1000" DataObjects_Num="10 50 100 500 1000 5000 10000" Tes...
Shell
#!/bin/sh # a u t o g e n . s h # # Copyright (c) 2005-2007 United States Government as represented by # the U.S. Army Research Laboratory. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1....
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 FIND=/bin/find $FIND . -name '*.txt' -o -name '*.java' -o -name '*.properties' \ -o -name '*.sql' -o -name '*.py' -o -name '*.jsp' -o -name '*.js' | \ while read FILE; do echo "Processing: $FILE" mv "$FILE" "$FILE.orig" && iconv -f CP1251 -t UTF-8 "$FILE.orig" > "$FILE"; done echo "...
Shell
#!/bin/bash SERV=xonix@rt.mipt.ru TOMCAT=/usr/local/apache-tomcat-7.0/ WAR=$(ls -v zlo_web/target/*.war | tail -n 1) BKP=$(date +%y%m%d%H%M) WA=$TOMCAT/webapps ssh $SERV " echo 'Stop...' $TOMCAT/bin/shutdown.sh; sleep 10; killall -9 java echo 'Clean/Backup...' rm -rf $WA/ROOT mv $WA/ROOT.war $WA/ROOT.war_$BKP rm...
Shell
#!/bin/sh FIND=/bin/find $FIND . -name '*.txt' -o -name '*.java' -o -name '*.properties' \ -o -name '*.sql' -o -name '*.py' -o -name '*.jsp' -o -name '*.js' | \ while read FILE; do echo "Processing: $FILE" mv "$FILE" "$FILE.orig" && iconv -f CP1251 -t UTF-8 "$FILE.orig" > "$FILE"; done echo "...
Shell
#!/bin/bash SERV=xonix@rt.mipt.ru TOMCAT=/usr/local/apache-tomcat-7.0/ WAR=$(ls -v zlo_web/target/*.war | tail -n 1) BKP=$(date +%y%m%d%H%M) WA=$TOMCAT/webapps ssh $SERV " echo 'Stop...' $TOMCAT/bin/shutdown.sh; sleep 10; killall -9 java echo 'Clean/Backup...' rm -rf $WA/ROOT mv $WA/ROOT.war $WA/ROOT.war_$BKP rm...
Shell
#!/bin/sh #mysql_home="C:\Program Files\MySQL\MySQL Server 5.1\bin" mysql_home="D:\Program_Files\xampp\mysql\bin" mysql=$mysql_home/mysql.exe mysqldump=$mysql_home/mysqldump.exe mysql_charsets=$mysql_home/share/charsets
Shell
#!/bin/sh mysql_user=root mysql_pswd=qqq.h123 mysql_host=localhost mysql_port=3306
Shell
#!/bin/sh source ./mysql_params.sh source ./mysql_creds_rt.sh echo Connecting to $mysql_host:$mysql_port with user=$mysql_user echo Dumping... "$mysqldump" --triggers --default-character-set=cp1251 --character-sets-dir="$mysql_charsets" \ -P$mysql_port -h$mysql_host \ -u$mysql_user -p$mysql_pswd --...
Shell
#!/bin/sh source ./mysql_params.sh source ./mysql_creds_local.sh echo Connecting to $mysql_host:$mysql_port with user=$mysql_user echo Restoring... gzip -d -c xonix_search.sql.gz | "$mysql" --default-character-set=cp1251 --character-sets-dir="$mysql_charsets" \ -P$mysql_port -u$mysql_user -p$mysql_pswd ...
Shell
#!/bin/sh mysql_user=xonix mysql_pswd=xonix_mysql mysql_host=localhost mysql_port=3307
Shell
#!/bin/sh mysql_user=root mysql_pswd=qqq.h123 mysql_host=localhost mysql_port=3306
Shell
#!/bin/sh #mysql_home="C:\Program Files\MySQL\MySQL Server 5.1\bin" mysql_home="D:\Program_Files\xampp\mysql\bin" mysql=$mysql_home/mysql.exe mysqldump=$mysql_home/mysqldump.exe mysql_charsets=$mysql_home/share/charsets
Shell
#!/bin/sh mysql_user=xonix mysql_pswd=xonix_mysql mysql_host=localhost mysql_port=3307
Shell
#!/bin/sh source ./mysql_params.sh source ./mysql_creds_local.sh echo Connecting to $mysql_host:$mysql_port with user=$mysql_user echo Restoring... gzip -d -c xonix_search.sql.gz | "$mysql" --default-character-set=cp1251 --character-sets-dir="$mysql_charsets" \ -P$mysql_port -u$mysql_user -p$mysql_pswd ...
Shell
#!/bin/sh source ./mysql_params.sh source ./mysql_creds_rt.sh echo Connecting to $mysql_host:$mysql_port with user=$mysql_user echo Dumping... "$mysqldump" --triggers --default-character-set=cp1251 --character-sets-dir="$mysql_charsets" \ -P$mysql_port -h$mysql_host \ -u$mysql_user -p$mysql_pswd --...
Shell
#!/bin/sh SRC_DIR="D:/stuff/test/java/zlo-search/zlo_search/src/main/java" XSD_DIR="D:/stuff/test/java/zlo-search/zlo_search/src/main/resources/info/xonix/zlo/search/xmlfp/xsd" JAXB_HOME="D:/DISTR/JAVA_J2EE/JAXB/2.1.13/jaxb-ri-20100511" #JAXB_HOME="D:/DISTR/JAVA_J2EE/JAXB/jaxb-ri-20110601" #JAXB_HOME="D:/!DIST...
Shell
#!/bin/sh SRC_DIR="D:/stuff/test/java/zlo-search/zlo_search/src/main/java" XSD_DIR="D:/stuff/test/java/zlo-search/zlo_search/src/main/resources/info/xonix/zlo/search/xmlfp/xsd" JAXB_HOME="D:/DISTR/JAVA_J2EE/JAXB/2.1.13/jaxb-ri-20100511" #JAXB_HOME="D:/DISTR/JAVA_J2EE/JAXB/jaxb-ri-20110601" #JAXB_HOME="D:/!DIST...
Shell
#!/bin/sh ./stop.sh sleep 7 ./start.sh
Shell
#!/bin/sh now () { echo $(date +%Y_%m_%d__%H_%M_%S) }
Shell
#!/bin/sh #declare TOMCAT . _cfg.sh echo "Pkill..." pkill java sleep 10 echo "Shutdown..." $TOMCAT/bin/shutdown.sh sleep 10
Shell
#!/bin/sh #declare TOMCAT . _cfg.sh . _lib.sh echo "rm logs..." rm -rf $TOMCAT/logs/* echo "rm work..." rm -rf $TOMCAT/work/* echo "rm ROOT folder..." rm -rf $TOMCAT/webapps/ROOT WA="$TOMCAT/webapps" ROOTWAR="$WA/ROOT.war" if [ -f $ROOTWAR ]; then echo "bkp ROOT.war..." mv $ROOTWAR "...
Shell
#!/bin/sh #declare TOMCAT . _cfg.sh echo "Startup..." $TOMCAT/bin/startup.sh
Shell
#!/bin/sh TOMCAT=/usr/local/apache-tomcat6.0/
Shell
#!/bin/sh #declare TOMCAT . _cfg.sh echo "Pkill..." pkill java sleep 10 echo "Shutdown..." $TOMCAT/bin/shutdown.sh sleep 10
Shell
#!/bin/sh TOMCAT=/usr/local/apache-tomcat6.0/
Shell
#!/bin/sh ./stop.sh sleep 7 ./start.sh
Shell
#!/bin/sh now () { echo $(date +%Y_%m_%d__%H_%M_%S) }
Shell
#!/bin/sh #declare TOMCAT . _cfg.sh . _lib.sh echo "rm logs..." rm -rf $TOMCAT/logs/* echo "rm work..." rm -rf $TOMCAT/work/* echo "rm ROOT folder..." rm -rf $TOMCAT/webapps/ROOT WA="$TOMCAT/webapps" ROOTWAR="$WA/ROOT.war" if [ -f $ROOTWAR ]; then echo "bkp ROOT.war..." mv $ROOTWAR "...
Shell
#!/bin/sh #declare TOMCAT . _cfg.sh echo "Startup..." $TOMCAT/bin/startup.sh
Shell
#!/bin/bash #echo " zautorun.sh 自动安装或执行zlevoclient的脚本 v1.0" USERNAME=20064140606 PASSWORD=111111 #脚本变量 zver="1.0" infox="请执行sudo $0 uninstall;sudo $0进行安装" # ##check检查 # if [ "$1" == "check" ];then echo "@(`id -un`)check信息:" if [ -f /usr/local/bin/zlevoclient ];then echo "(1:ok)存在/usr/local/bin/zlevoclient"; if...
Shell
#!/bin/bash ############################################# ##请更改一下两个参数为你的802.1x的用户名和密码 ## ##Edit by anyanmw@gmail.com in haut 2010-4-6 ############################################# USERNAME=username PASSWORD=password if [ ! $(id -u) -eq 0 ];then echo "You are not root,Need to be ROOT."; if uname -a |grep -i ubu...
Shell
#!/bin/bash #echo " zautorun.sh 自动安装或执行zlevoclient的脚本 v1.0" USERNAME=20064140606 PASSWORD=111111 #脚本变量 zver="1.0" infox="请执行sudo $0 uninstall;sudo $0进行安装" # ##check检查 # if [ "$1" == "check" ];then echo "@(`id -un`)check信息:" if [ -f /usr/local/bin/zlevoclient ];then echo "(1:ok)存在/usr/local/bin/zlevoclient"; if...
Shell
#!/bin/bash if [ `id -u` -ne 0 ] then echo "Need to be ROOT." exit 1 fi ./zlevoclient -u username -p password -b exit 0
Shell
#!/bin/bash if [ `id -u` -ne 0 ] then echo "Need to be ROOT." exit 1 fi ./zlevoclient -u username -p password -b exit 0
Shell
#!/bin/bash ./zlevoclient -u username -p password -b exit 0
Shell
#!/bin/bash ./zlevoclient -u username -p password -b exit 0
Shell
#!/bin/sh # NOTE: mustache templates need \ because they are not awesome. exec erl -pa ebin edit deps/*/ebin -boot start_sasl \ -sname smokehouse_dev \ -s smokehouse \ -s reloader -mnesia dir '"db"'
Shell
#!/bin/sh # NOTE: mustache templates need \\ because they are not awesome. exec erl -pa ebin edit deps/*/ebin -boot start_sasl \\ -sname {{appid}}_dev \\ -s {{appid}} \\ -s reloader
Shell
#!/bin/sh rm -rf build/release-build/* rm -rf build/debug-build/*
Shell
mvn versions:set # -DnewVersion=1.0.2 mvn clean verify source:jar javadoc:jar gpg:sign deploy mvn versions:revert
Shell
#!/usr/bin/env 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 Lic...
Shell
#!/usr/bin/env 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 Lic...
Shell
#!/usr/bin/env 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 Lic...
Shell
#!/usr/bin/env 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 Lic...
Shell
#!/usr/bin/env 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 Lic...
Shell
#!/usr/bin/env 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 Lic...
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked before a Subversion txn is created # 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 file is a template) # with the following ordered...
Shell