code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/bash function help() { echo "Usage: './aaf.sh start|stop|restart all' or './aaf.sh start|stop|restart|status <service> [<service>]'" echo " where <service> is one of the following: xrootd, proof, afdsmgrd, aaf-mlclient, sync-alien-packages-cron, restart-proof-if-down ." echo " 'all' is equivalen...
Shell
#!/bin/bash if [ "x$*" == "x" ];then echo "Missing command !!!" exit 1 fi NODES=`cat PROOF_nodes.txt | grep -v '#'` for NODE in $NODES; do echo "========= Running on $NODE cmd '$*' =============" ssh $NODE $* done
Shell
#!/bin/bash if [ "$AAF_DIR" == "" ]; then export AAF_DIR="/pool/PROOF-AAF" fi ALIEN_PACKAGES_AFS_DIR="$AAF_DIR/alien_packages" ALIEN_PACKAGES_AFS_SCRIPTS_DIR="$AAF_DIR/scripts" ALIEN_DIR="$AAF_DIR/alien" ALICE_USERNAME=proof ALICE_ROOT_VERSION_TYPE="AN" ALICE_CHECK_ALIEN_TOKEN="YES" ALICE_CERTIFICATE_PATH="$AAF_DIR/....
Shell
# generated Tue May 18 11:46:24 CEST 2010 export AAF_MLCLIENT=/pool/PROOF-AAF/alien/lib/perl5/site_perl/5.10.1:/pool/PROOF-AAF/alien/lib/perl5/site_perl/5.8.8 export PERL5LIB=$PERL5LIB:$AAF_MLCLIENT perl ./test_perl_monalisa.pl
Shell
#! /bin/sh # # mlcient Start/Stop the MonALISA host sensor # # description: The MonALISA host sensor that publishes host monitoring information # # # processname: perl host_sensor.pl # config: # Source function library. . /etc/init.d/functions # Get aaf-mlclient config [ -f /etc/sysconfig/aaf-mlclient ] && . /etc/sys...
Shell
#! /bin/sh # # mlcient Start/Stop the MonALISA host sensor # # description: The MonALISA host sensor that publishes host monitoring information # # # processname: perl host_sensor.pl # config: # Source function library. . /etc/init.d/functions # Get aaf-mlclient config [ -f /etc/sysconfig/aaf-mlclient ] && . /etc/sys...
Shell
#!/bin/bash AAF_INSTALLER_VERSION=1.13 AAF_PACKMAN_SOURCE="" MY_ALIEN_VER="v2-19" # if [ `hostname -d` == "cern.ch" ]; then # AAF_PACKMAN_SOURCE="-name ALICE::CERN::aliendb7" # fi # Sourcing functions library for coloured diagnostic messages [ -f /etc/init.d/functions ] && . /etc/init.d/functions # Variable which ...
Shell
#!/bin/bash if [ "x$*" == "x" ];then echo "Missing command !!!" exit 1 fi NODES=`cat PROOF_nodes.txt | grep -v '#'` for NODE in $NODES; do echo "========= Running on $NODE cmd '$*' =============" ssh $NODE $* done
Shell
#!/bin/bash TMP_AAF_DIR="/tmp" TMP_AAF_INSTALLER="$TMP_AAF_DIR/aaf-installer" rm -Rf $TMP_AAF_INSTALLER wget -O $TMP_AAF_INSTALLER http://aaf.cern.ch/config/aaf-installer chmod +x $TMP_AAF_INSTALLER export HOME="$TMP_AAF_DIR" . $TMP_AAF_INSTALLER $*
Shell
export ALIEN_PACKAGES_AFS_DIR="/pool/PROOF-AAF/alien_packages" export ALIEN_DIR="/pool/PROOF-AAF/alien" function cleanVariables() { unset ALICE unset ALICE_ARCH unset ALICE_BIN unset ALICE_CONF unset ALICE_DOMAIN_CONF unset ALICE_INC unset ALICE_LEVEL unset ALICE_LIB unset ALICE_MAN unset ALICE_ROOT unset ALICE_SYS u...
Shell
#!/bin/bash if [ "$AAF_DIR" == "" ]; then export AAF_DIR="/pool/PROOF-AAF" fi ALIEN_PACKAGES_AFS_DIR="$AAF_DIR/alien_packages" ALIEN_PACKAGES_AFS_SCRIPTS_DIR="$AAF_DIR/scripts" ALIEN_DIR="$AAF_DIR/alien" ALICE_USERNAME=proof ALICE_ROOT_VERSION_TYPE="AN" ALICE_CHECK_ALIEN_TOKEN="YES" ALICE_CERTIFICATE_PATH="$AAF_DIR/....
Shell
#!/bin/bash function help() { echo "Usage: './aaf.sh start|stop|restart all' or './aaf.sh start|stop|restart|status <service> [<service>]'" echo " where <service> is one of the following: xrootd, proof, afdsmgrd, aaf-mlclient, sync-alien-packages-cron, restart-proof-if-down ." echo " 'all' is equivalen...
Shell
if [ "x$ALICE_PROOF_AAF_DIR" == "x" ]; then echo "Define \$ALICE_PROOF_AAF_DIR first !!!" exit 1 fi export ALIEN_DIR="$ALICE_PROOF_AAF_DIR/alien" export ROOTSYS="$ALICE_PROOF_AAF_DIR/root" # export LD_LIBRARY_PATH="$ROOTSYS/lib:$ALIEN_DIR/api/lib:$ALIEN_DIR/lib:$LD_LIBRARY_PATH" export LD_LIBRARY_PATH="$ROOTSYS/l...
Shell
#!/bin/bash if [ -z "$ALICE_PROOF_AAF_DIR" ]; then echo "Error : Set \$ALICE_PROOF_AAF_DIR first !!!" exit 1 fi # # if [ ! -d $ALICE_PROOF_AAF_PROOF_DIR ]; then # echo "Error : Make link $ALICE_PROOF_AAF_DIR\root which will point to CURRENT ROOT !!!" # exit 2 # fi # # if [ ! -e $ALICE_PROOF_AAF_PROOF_DIR/sha...
Shell
#! /bin/sh # Get proofd config [ -f /etc/sysconfig/xproofd ] && . /etc/sysconfig/xproofd PROOFD=$ROOTSYS/bin/xproofd # Source function library. . /etc/init.d/functions # Get config. . /etc/sysconfig/network MYLOGDIR=`dirname $XPRFLOG` if [ ! -d $MYLOGDIR ];then mkdir -p $MYLOGDIR chown $ALICE_PROOF_AAF_USER:$A...
Shell
#! /bin/sh # Get proofd config [ -f /etc/sysconfig/xproofd ] && . /etc/sysconfig/xproofd PROOFD=$ROOTSYS/bin/xproofd # Source function library. . /etc/init.d/functions # Get config. . /etc/sysconfig/network MYLOGDIR=`dirname $XPRFLOG` if [ ! -d $MYLOGDIR ];then mkdir -p $MYLOGDIR chown $ALICE_PROOF_AAF_USER:$A...
Shell
#!/bin/bash if [ -z "$ALICE_PROOF_AAF_DIR" ]; then echo "Error : Set \$ALICE_PROOF_AAF_DIR first !!!" exit 1 fi # # if [ ! -d $ALICE_PROOF_AAF_PROOF_DIR ]; then # echo "Error : Make link $ALICE_PROOF_AAF_DIR\root which will point to CURRENT ROOT !!!" # exit 2 # fi # # if [ ! -e $ALICE_PROOF_AAF_PROOF_DIR/sha...
Shell
#!/bin/bash THIS_AAF_PACKAGE="aaf-aliroot" THIS_DIR=`pwd` AAF_DIR="`cd ../../../../ ; pwd`" echo " Installing $THIS_AAF_PACKAGE on `hostname -f` ..." if [ ! -e $AAF_DIR/aaf.cf ];then echo "$AAF_DIR/aaf.cf was not found!!! Skipping postinstall for AAF ..." exit 0 fi # tar cf - "VO_ALICE@AliRoot::v4-19-18-AN" |...
Shell
#!/bin/bash export export PATH="/sbin:/usr/sbin:/bin:/usr/bin" export LD_LIBRARY_PATH="" THIS_AAF_PACKAGE="aaf-xrootd" THIS_DIR=`pwd` AAF_DIR="`cd ../../../../ ; pwd`" AAF_XROOTD_VER=`basename $THIS_DIR` AAF_XROOTD_NAME="xrootd_$AAF_XROOTD_VER" AAF_XROOTD_VER=${AAF_XROOTD_VER:0:3} echo " Installing $THIS_AAF_PACKAGE ...
Shell
#!/bin/bash THIS_AAF_PACKAGE="aaf-proof" THIS_DIR=`pwd` AAF_DIR="`cd ../../../../ ; pwd`" echo " Installing $THIS_AAF_PACKAGE on `hostname -f` ..." if [ ! -e $AAF_DIR/aaf.cf ];then echo "$AAF_DIR/aaf.cf was not found!!! Skipping postinstall for AAF ..." exit 0 fi source $AAF_DIR/aaf.cf function SetRootVersion(...
Shell
#!/bin/bash export export PATH="/sbin:/usr/sbin:/bin:/usr/bin" export LD_LIBRARY_PATH="" THIS_AAF_PACKAGE="aaf-xrootd" THIS_DIR=`pwd` AAF_DIR="`cd ../../../../ ; pwd`" AAF_XROOTD_VER=`basename $THIS_DIR` AAF_XROOTD_NAME="xrootd_$AAF_XROOTD_VER" AAF_XROOTD_VER=${AAF_XROOTD_VER:0:3} echo " Installing $THIS_AAF_PACKAGE ...
Shell
#!/bin/bash THIS_AAF_PACKAGE="aaf-proof" THIS_DIR=`pwd` AAF_DIR="`cd ../../../../ ; pwd`" echo " Installing $THIS_AAF_PACKAGE on `hostname -f` ..." if [ ! -e $AAF_DIR/aaf.cf ];then echo "$AAF_DIR/aaf.cf was not found!!! Skipping postinstall for AAF ..." exit 0 fi source $AAF_DIR/aaf.cf function SetRootVersion(...
Shell
#!/bin/bash cn=`head -n 4 $XRDBASEDIR/admin/server/cmsd.pid | tail -n 1 | awk -F '=' '{ print $2 }'` export APMON_CONFIG=${MONALISA_HOST} #unset APMON_CONFIG #o=`$1/bin/xrdcp -np -S 15 -DIConnectTimeout 30 -DIConnectTimeoutWan 30 -DIFirstConnectMaxCnt 3 -DIMaxRedirectcount 10 -OStried=+$cn $2 $3 2>&1` #r=$? # tmp fo...
Shell
#!/bin/bash cn=`head -n 4 $XRDBASEDIR/admin/server/cmsd.pid | tail -n 1 | awk -F '=' '{ print $2 }'` export APMON_CONFIG=${MONALISA_HOST} #unset APMON_CONFIG #o=`$1/bin/xrdcp -np -S 15 -DIConnectTimeout 30 -DIConnectTimeoutWan 30 -DIFirstConnectMaxCnt 3 -DIMaxRedirectcount 10 -OStried=+$cn $2 $3 2>&1` #r=$? # tmp fo...
Shell
export XRDDMSYS=$1 if [ -z "$XRDDMSYS" ]; then export XRDDMSYS=`pwd` fi if [ -z "$APPMON_DIR" ]; then export APPMON_DIR=$XRDDMSYS fi if [ -z "$AAF_DIR" ];then export AAF_DIR=`cd $XRDDMSYS/../; pwd` fi if [ -z "$ROOTSYS" ];then export ROOTSYS=$AAF_DIR/root fi export PATH="$ROOTSYS/bin:$PATH" export LD_LIBRARY...
Shell
#!/bin/bash THIS_AAF_PACKAGE="aaf-aliroot" THIS_DIR=`pwd` AAF_DIR="`cd ../../../../ ; pwd`" echo " Installing $THIS_AAF_PACKAGE on `hostname -f` ..." if [ ! -e $AAF_DIR/aaf.cf ];then echo "$AAF_DIR/aaf.cf was not found!!! Skipping postinstall for AAF ..." exit 0 fi # tar cf - "VO_ALICE@AliRoot::v4-19-18-AN" |...
Shell
export XRDDMSYS=$1 if [ -z "$XRDDMSYS" ]; then export XRDDMSYS=`pwd` fi if [ -z "$APPMON_DIR" ]; then export APPMON_DIR=$XRDDMSYS fi if [ -z "$AAF_DIR" ];then export AAF_DIR=`cd $XRDDMSYS/../; pwd` fi #if [ -z "$ROOTSYS" ];then # export ROOTSYS=$AAF_DIR/root #fi export PATH="$XRDDMSYS/bin:$PATH" export LD_LI...
Shell
#!/bin/bash echo "Deleting backup files ..." DIR=`pwd` cd .. for i in `find . -name "*~"`; do rm -f $i ;done # for i in `find . -name ".svn"`; do rm -fR $i ;done cd $DIR
Shell
#!/bin/bash echo "Deleting backup files ..." DIR=`pwd` cd .. for i in `find . -name "*~"`; do rm -f $i ;done # for i in `find . -name ".svn"`; do rm -fR $i ;done cd $DIR
Shell
#!/bin/bash which cmake &> /dev/null if [ "$?" != "0" ]; then echo "cmake was not found !!!" exit 1 fi export XRDDMSYS=$1 if [ "x$XRDDMSYS" == "x" ]; then export XRDDMSYS=`pwd` fi export XROOTD_DIR=$XRDDMSYS export ALIEN_DIR=$XRDDMSYS MYDIR=`cd $XRDDMSYS/..;pwd` if [ -d $MYDIR ];then export ROOTSYS="$MYDIR/ro...
Shell
#!/bin/sh #--------------------------------------- # 自动发布 qb-admin # 执行时需要 2个参数 # param1: 必选项 maven profile 例如: dev test product # param2:可选项 代码svn地址,如果没有,则从trunk上面获取代码 # 需要设置2个环境变量 $QBADMIN_HOME:抢吧后台工作目录, $M2_RESP:maven 仓库地址 # #--------------------------------------- #检查环境变量是否配置 if [ "$QBADMI...
Shell
#!/bin/sh #--------------------------------------- # 自动发布 qb-admin # 执行时需要 2个参数 # param1: 必选项 maven profile 例如: dev test product # param2:可选项 代码svn地址,如果没有,则从trunk上面获取代码 # 需要设置2个环境变量 $QBADMIN_HOME:抢吧后台工作目录, $M2_RESP:maven 仓库地址 # #--------------------------------------- #检查环境变量是否配置 if [ "$QBADMI...
Shell
#!/bin/sh #--------------------------------------- # 自动发布 qb-front # 执行时需要 2个参数 # param1: 必选项 maven profile 例如: dev test product # param2:可选项 代码svn地址,如果没有,则从trunk上面获取代码 # 需要设置2个环境变量 $QBFRONT_HOME:抢吧工作目录, $M2_RESP:maven 仓库地址 # #--------------------------------------- #检查环境变量是否配置 if [ "$QBFRONT_...
Shell
#!/bin/sh #--------------------------------------- # 自动发布 qb-front # 执行时需要 2个参数 # param1: 必选项 maven profile 例如: dev test product # param2:可选项 代码svn地址,如果没有,则从trunk上面获取代码 # 需要设置2个环境变量 $QBFRONT_HOME:抢吧工作目录, $M2_RESP:maven 仓库地址 # #--------------------------------------- #检查环境变量是否配置 if [ "$QBFRONT_...
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
#!/bin/sh rm *_i* rm *.xwam rm *.*~ rm *_dbg.P
Shell
#!/bin/sh rm *_i* rm *.xwam rm *.*~ rm *_dbg.P
Shell
#!/bin/bash # # remote control for X # this script will send all keypresses #dep check XTE=`which xte`; if [ -e $XTE ]; then echo using $XTE; else echo you need xte binary. it came in package xautomation die 1; fi #some keys constants ESC= BACKSPACE= CTRL_X= CTRL_C= UP=OA DOWN=OB LEFT=OD RIGHT=OC RETURN= ...
Shell
#!/bin/bash # # remote control for X # this script will send all keypresses #dep check XTE=`which xte`; if [ -e $XTE ]; then echo using $XTE; else echo you need xte binary. it came in package xautomation die 1; fi #some keys constants ESC= BACKSPACE= CTRL_X= CTRL_C= UP=OA DOWN=OB LEFT=OD RIGHT=OC RETURN= ...
Shell
#!/bin/sh cd .git/hooks ln -sf ../../git_hooks/* .
Shell
#!/bin/sh RIGHT_PKG_NAME=com.example.android.trivialdrivesample # Check that there isn't a NOCOMMIT flag if find . -name CONFIDENTIAL | grep -q CONFIDENTIAL; then echo "*** The working directory is marked as CONFIDENTIAL" echo "If you're really ready to commit, remove the CONFIDENTIAL files and try again:" fi...
Shell
#!/bin/sh # Copyright (c) 2012 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 set -e cp target/generated-webapp/census-form.html src/main/webapp/census.html cp target/generated-webapp/demo-form.html src/main/webapp/demo.html
Shell
#!/bin/bash set -e cp target/generated-webapp/census-form.html src/main/webapp/census.html cp target/generated-webapp/demo-form.html src/main/webapp/demo.html
Shell
#!/bin/sh # # Usage example: ./generate.sh int Int Integer" # Args are: primitive type, capitalized primitive type, wrapper type # # To make changes to the .java files in this package, # 1. run this script to generate the templates, move the .gen files # somewhere else # 2. modify the template with your intended cha...
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
########################################################### # $Id: xrsh_host.sh 4438 2012-12-21 03:03:54Z xrdk $ # brief : # author : xrdk # version : V1.0, 2004-03-16 # # CopyRight (C) 2004-2011 xrdk. # All rights reserved. ########################################################### function xrmk_host_suppe...
Shell
########################################################### # $Id: xrsh_opts.sh 4684 2013-01-07 19:13:52Z xrdk $ # brief : # author : xrdk # version : V1.0, 2004-03-16 # # CopyRight (C) 2004-2011 xrdk. # All rights reserved. ########################################################### function xrmk_help() { ...
Shell
########################################################### # $Id: xrsh_targets.sh 4479 2012-12-22 13:04:08Z xrdk $ # brief : # author : xrdk # version : V1.0, 2004-03-16 # # CopyRight (C) 2004-2011 xrdk. # All rights reserved. ########################################################### function xrmk_target_...
Shell
########################################################### # $Id: xrsh_common.sh 4506 2012-12-23 04:15:49Z xrdk $ # brief : common shell script # author : xrdk # version : V1.0, 2004-03-16 # # CopyRight (C) 2004-2011 xrdk. # All rights reserved. ########################################################### if ...
Shell
########################################################### # $Id: xrmake_scripts.sh 4681 2013-01-07 18:09:49Z xrdk $ # brief : # author : xrdk # version : V1.0, 2004-03-16 # # CopyRight (C) 2004-2011 xrdk. # All rights reserved. ########################################################### export PATH=$PATH:/...
Shell
########################################################### # $Id: xrsh_config.sh 4690 2013-01-08 13:08:18Z xrdk $ # brief : # author : xrdk # version : V1.0, 2004-03-16 # # CopyRight (C) 2004-2011 xrdk. # All rights reserved. ########################################################### function xrmk_config_g...
Shell
########################################################### # $Id: xrsh_cc.sh 4686 2013-01-07 20:22:56Z xrdk $ # brief : # author : xrdk # version : V1.0, 2004-03-16 # # CopyRight (C) 2004-2011 xrdk. # All rights reserved. ########################################################### function xrmk_scc_supped()...
Shell
########################################################### # $Id: xrsh_os.sh 4479 2012-12-22 13:04:08Z xrdk $ # brief : # author : xrdk # version : V1.0, 2004-03-16 # # CopyRight (C) 2004-2011 xrdk. # All rights reserved. ########################################################### function xrmk_os_get_ex() ...
Shell
########################################################### # $Id: xrsh_tests.sh 3341 2012-07-15 06:32:38Z xrdk $ # brief : # author : xrdk # version : V1.0, 2004-03-16 # # CopyRight (C) 2004-2011 xrdk. # All rights reserved. ########################################################### xrmk_curdir=. xrmk_shdi...
Shell
#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Last modified: 1994-03-25 # Public domain errstatus=0 for file in ${1+"$@"} ; do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift pathcomp= f...
Shell
#! /bin/sh # # install - install a program, script, or datafile # This comes from X11R5 (mit/util/scripts/install.sh). # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # Copyright 1991 by the Ma...
Shell
dnl Process this file with autoconf to produce a configure script. -*-sh-*- AC_INIT(include/config.h.in) AC_CONFIG_HEADER(include/config.h) # AC_PREREQ(2.10)dnl dnl Minimum Autoconf version required. # AC_ARG_PROGRAM # version code: V_MAJOR=0 V_MINOR=997 PACKAGE=xsane BINPROGS="xsane" # languages ALL_LINGUAS="ca c...
Shell
#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Last modified: 1994-03-25 # Public domain errstatus=0 for file in ${1+"$@"} ; do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift pathcomp= f...
Shell
#! /bin/sh # # install - install a program, script, or datafile # This comes from X11R5 (mit/util/scripts/install.sh). # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # Copyright 1991 by the Ma...
Shell
#!/bin/sh echo "TEST FOR SANE:" find / -name "sane.h" 2>/dev/null find / -name "libsane-dll*" 2>/dev/null echo "" echo "TEST FOR GTK:" find / -name "gtk-config" 2>/dev/null find / -name "gtk.h" 2>/dev/null find / -name "libgtk*" 2>/dev/null echo "" echo "TEST FOR GDK:" find / -name "gdk.h" 2>/dev/null find / -name "lib...
Shell
#!/bin/sh echo "TEST FOR SANE:" find / -name "sane.h" 2>/dev/null find / -name "libsane-dll*" 2>/dev/null echo "" echo "TEST FOR GTK:" find / -name "gtk-config" 2>/dev/null find / -name "gtk.h" 2>/dev/null find / -name "libgtk*" 2>/dev/null echo "" echo "TEST FOR GDK:" find / -name "gdk.h" 2>/dev/null find / -name "lib...
Shell
dnl Process this file with autoconf to produce a configure script. -*-sh-*- AC_INIT(include/config.h.in) AC_CONFIG_HEADER(include/config.h) # AC_PREREQ(2.10)dnl dnl Minimum Autoconf version required. # AC_ARG_PROGRAM # version code: V_MAJOR=0 V_MINOR=997 PACKAGE=xsane BINPROGS="xsane" # languages ALL_LINGUAS="ca c...
Shell
dnl Process this file with autoconf to produce a configure script. -*-sh-*- AC_INIT(include/config.h.in) AC_CONFIG_HEADER(include/config.h) # AC_PREREQ(2.10)dnl dnl Minimum Autoconf version required. # AC_ARG_PROGRAM # version code: V_MAJOR=0 V_MINOR=93 PACKAGE=xsane BINPROGS="xsane" # languages ALL_LINGUAS="cs da...
Shell
dnl Process this file with autoconf to produce a configure script. -*-sh-*- AC_INIT(include/config.h.in) AC_CONFIG_HEADER(include/config.h) # AC_PREREQ(2.10)dnl dnl Minimum Autoconf version required. # AC_ARG_PROGRAM # version code: V_MAJOR=0 V_MINOR=93 PACKAGE=xsane BINPROGS="xsane" # languages ALL_LINGUAS="cs da...
Shell
# Copyright (C) 2004-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # Contributed by Sven Wegener (swegener@gentoo.org) _config_vars="$_config_vars autoipd" autoipd_depend() { program /usr/sbin/avahi-autoipd after interface } autoipd_start() { _exists true || return 1 ...
Shell
# Copyright (c) 2004-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # Contributed by Sven Wegener (swegener@gentoo.org) # void autoipd_depend(void) # # Sets up the dependencies for the module autoipd_depend() { after interface } # void autoipd_expose(void) # # Expose variab...
Shell
# .bash_profile case "`tty`" in *tty8) startx; logout ;; esac
Shell
#!/bin/sh if ! pgrep mythfrontend >& /dev/null ; then echo >> /var/log/mythtv/mythfrontend.log DISPLAY=":0.0" mythfrontend -l /var/log/mythtv/mythfrontend.log -v important,general fi
Shell
# .bash_profile case "`tty`" in *tty8) startx; logout ;; esac
Shell
#!/bin/sh if ! pgrep mythfrontend >& /dev/null ; then echo >> /var/log/mythtv/mythfrontend.log DISPLAY=":0.0" mythfrontend -l /var/log/mythtv/mythfrontend.log -v important,general fi
Shell
#!/bin/bash # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # use "freevoboot stop" to stop, "freevoboot xstop" if you use X. freevo=`grep ^freevo= /etc/conf.d/freevo | cut -d'"' -f2` webserver=`grep ^webserver= /etc/conf.d/freevo | cut -d'"' -f2` recordserve...
Shell
#!/bin/bash # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # use "freevoboot stop" to stop, "freevoboot xstop" if you use X. freevo=`grep ^freevo= /etc/conf.d/freevo | cut -d'"' -f2` webserver=`grep ^webserver= /etc/conf.d/freevo | cut -d'"' -f2` recordserve...
Shell
#!/bin/sh cd "@GAMES_LIBDIR@/unvanquished" exec "@GAMES_BINDIR@"/unvanquishedclient \ +set fs_libpath "@GAMES_LIBDIR@/unvanquished" \ +set fs_basepath "@GAMES_DATADIR@/unvanquished" \ "$@"
Shell
#!/bin/sh cd "@GAMES_STATEDIR@/unvanquished-server" [ -f @UNV_SERVER_DATA@/server.cfg ] \ || ln -sf @GAMES_SYSCONFDIR@/unvanquished/server.cfg \ @UNV_SERVER_DATA@/server.cfg [ -f @UNV_SERVER_DATA@/maprotation.cfg ] \ || ln -sf @GAMES_SYSCONFDIR@/unvanquished/maprotation.cfg \ @UNV_SERVER_DATA@/maprotation.cfg exe...
Shell
#!/bin/sh path=`pwd` sdir=$(cd "$(dirname "$0")"; pwd) php ${sdir}/../commands/cli/chili.php $path $*
Shell
#!/bin/sh path=`pwd` sdir=$(cd "$(dirname "$0")"; pwd) php ${sdir}/../commands/cli/chili.php $path $*
Shell
#!/bin/bash phpunit=/Applications/MAMP/bin/php5/bin/phpunit $phpunit CssEventParserTests CssEventTests.php $phpunit QueryPathCssEventHandlerTests CssEventTests.php #$phpunit BottomUpCssEventHandlerTests $phpunit QueryPathTests $phpunit QueryPathExtensionTests #$phpunit QPListTests #$phpunit QPTPLTests #$phpunit QPDBT...
Shell
#!/bin/bash phpunit=/Applications/MAMP/bin/php5/bin/phpunit $phpunit CssEventParserTests CssEventTests.php $phpunit QueryPathCssEventHandlerTests CssEventTests.php #$phpunit BottomUpCssEventHandlerTests $phpunit QueryPathTests $phpunit QueryPathExtensionTests #$phpunit QPListTests #$phpunit QPTPLTests #$phpunit QPDBT...
Shell
#!/bin/bash ##################### # Generate PHP Docs # ##################### phpdoc=/Applications/MAMP/bin/php5/bin/phpdoc src='../src/QueryPath,../tutorials,../test,../examples'; docs='../docs' title='QueryPath 1.1' #format='HTML:frames:phpdoc.de'#',PDF:default:default' #format='HTML:frames:earthli' #format='HTML:S...
Shell
#!/bin/bash ##################### # Generate PHP Docs # ##################### phpdoc=/Applications/MAMP/bin/php5/bin/phpdoc src='../src/QueryPath,../tutorials,../test,../examples'; docs='../docs' title='QueryPath 1.1' #format='HTML:frames:phpdoc.de'#',PDF:default:default' #format='HTML:frames:earthli' #format='HTML:S...
Shell
#!/bin/bash # # kill processes using name. # pid=`ps -ef | grep $1 | grep -v grep | grep -v sig2daemon | awk '{print $2}'`; echo $pid kill -9 $pid
Shell
#!/bin/bash ./mdreset.py -all -rid AKIAIHXRZUV7K7Q7JZ7A -rkey ZDijBdROJrc6TViueBWYVhD5o8hSVzv9Civaj+Zl ./mdreset.py -all -rid AKIAIRJ4C6CE75KIB5HA -rkey h0n2Duw+ZVxJWeRsYup+GcrxPAxBRs/9/2pNV8Cx ./mdreset.py -all -rid AKIAJ4DYTWDU5DU3ACNA -rkey oyg+tsrPO3cQ85kzndXym2ZiQEOT2AGQBaJIuL/M
Shell
curl https://www.google.com/accounts/ClientLogin -d Email=$1 -d Passwd=$2 -d accountType=GOOGLE -d source=Google-cURL-Example -d service=ac2dm
Shell
curl --header "Authorization: GoogleLogin auth=$1" "https://android.apis.google.com/c2dm/send" -d registration_id=$2 -d "data.payload=$3" -d collapse_key=0
Shell
#! /bin/bash -e export CLASSPATH=".:/Library/Application Support/oxygen9.3/lib/saxon9.jar" XSPEC=$1 if [ ! -f "$XSPEC" ] then echo File not found. echo Usage: echo xspec filename [coverage] echo filename should specify an XSpec document echo if coverage is specified, outputs test coverage re...
Shell
#! /bin/bash -e export CLASSPATH=".:/Library/Application Support/oxygen9.3/lib/saxon9.jar" XSPEC=$1 if [ ! -f "$XSPEC" ] then echo File not found. echo Usage: echo xspec filename [coverage] echo filename should specify an XSpec document echo if coverage is specified, outputs test coverage re...
Shell
#!/bin/sh X_HOME=/home/xiatian/workspace/study/xsimilarity java -Dswing.systemlaf=javax.swing.plaf.metal.MetalLookAndFeel -cp $X_HOME/lib/commons-logging-1.0.4.jar:$X_HOME/lib/log4j-1.2.8.jar:$X_HOME/lib/google-collect-1.0.jar:$X_HOME/lib/ictclas4j.jar:$X_HOME/bin ruc.irm.similarity.MainUI
Shell
#!/bin/sh X_HOME=/home/xiatian/workspace/study/xsimilarity java -Dswing.systemlaf=javax.swing.plaf.metal.MetalLookAndFeel -cp $X_HOME/lib/commons-logging-1.0.4.jar:$X_HOME/lib/log4j-1.2.8.jar:$X_HOME/lib/google-collect-1.0.jar:$X_HOME/lib/ictclas4j.jar:$X_HOME/bin ruc.irm.similarity.MainUI
Shell
#!/bin/bash java -cp ".:/export/home/baga/Documents/lib/mysql-connector-java-5.1.6-bin.jar:/export/home/baga/Documents/lib/jdom.jar" prepocessing_2/com/prep/DocumentCollection
Shell
#!/bin/bash java -cp ".:/export/home/baga/Documents/lib/mysql-connector-java-5.1.6-bin.jar:/export/home/baga/Documents/lib/jdom.jar" prepocessing_2/com/prep/DocumentCollection
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 ...
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
#!/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/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 | --help...
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 # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003 Free Software Foundation, Inc. timestamp='2004-01-05' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public L...
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/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 | --help...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects # Copyright 1999, 2000 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 License as published by # the Free Software Foundation; either ve...
Shell