code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/usr/bin/env sh tmp_dir="/home/basil/mpi/tmp/kambiz" input_dir=${tmp_dir}/Input pre_node="Node" pre_ele="Element" pre_part="Part-me" machinefile="/home/basil/mpi/hosts.mf" bench_bin="/home/basil/mpi/bench_kambiz/bench3/benchMetis" # Check input files existence if [ $# -ne 3 ]; then echo "Usage: $0 <Node file>...
Shell
#!/usr/bin/env sh tmp_dir="/home/basil/mpi/tmp/kambiz" input_dir=${tmp_dir}/Input pre_node="Node" pre_ele="Element" pre_part="Part-me" machinefile="/home/basil/mpi/hosts.mf" bench_bin="/home/basil/mpi/bench_kambiz/bench3/benchMetis" # Check input files existence if [ $# -ne 3 ]; then echo "Usage: $0 <Node file>...
Shell
#!/bin/bash # Basile Clout, July 2007 # Simulate virtual network for a given conf file containing the network host's IPs #TODO: in Perl, these four funcitons in only one pad=3 log="log.txt";:>$log declare -a c1 #Cluster 1 declare -a c2 #Cluster 2 # Read command line if [ $# -ne 2 ];then echo "Usage: $0 on/off host...
Shell
#!/bin/bash # Basile Clout, July 2007 # Simulate virtual network for a given conf file containing the network host's IPs #TODO: in Perl, these four funcitons in only one pad=3 log="log.txt";:>$log declare -a c1 #Cluster 1 declare -a c2 #Cluster 2 # Read command line if [ $# -ne 2 ];then echo "Usage: $0 on/off host...
Shell
#!/bin/bash #=============================================================================== # # FILE: pollc.sh # # USAGE: ./pollc.sh # # DESCRIPTION: poll nodes # # OPTIONS: --- # REQUIREMENTS: --- # BUGS: --- # NOTES: --- # AUTHOR: Basile Clout (BC), basil...
Shell
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
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 (c) Cake Software Foundation, Inc. (http://cakefoundation.org) # # Licen...
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 (c) Cake Software Foundation, Inc. (http://cakefoundation.org) # # Licen...
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 (c) Cake Software Foundation, Inc. (http://cakefoundation.org) # # Licen...
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 (c) Cake Software Foundation, Inc. (http://cakefoundation.org) # # Licen...
Shell
#!/bin/bash # # Copyright (C) 2007 The Android Open Source Project # # 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 ap...
Shell
#!/bin/bash # # Copyright (C) 2007 The Android Open Source Project # # 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 ap...
Shell
#!/bin/sh if [ ! -e icons ]; then echo "You must run this script in the scripts directory." exit 1 fi name=$1 echo "Using iconset $name.png" if [ ! -e "icons/${name}_150.png" ]; then echo "Icon set does not exist." echo "usage: set_icons.sh quill" exit 1 fi cp "icons/${name}_150.png" ../res/drawable/icon...
Shell
#!/bin/sh cat toolbox.xml | \ sed 's/Left/XXXXX/g' | \ sed 's/Right/Left/g' | \ sed 's/XXXXX/Right/g' | \ sed 's/toolbox_undo/XXXXX/g' | \ sed 's/toolbox_redo/toolbox_undo/g' | \ sed 's/XXXXX/toolbox_redo/g' | \ sed 's/toolbox_next/XXXXX/g' | \ sed 's/toolbox_prev/toolbox_next/g' | \ ...
Shell
#!/bin/sh pushd /home/vbraun/Eclipse/workspace/Quill javah -jni -d jni -classpath bin/classes org.libharu.Document javah -jni -d jni -classpath bin/classes org.libharu.Page javah -jni -d jni -classpath bin/classes org.libharu.Font javah -jni -d jni -classpath bin/classes org.libharu.Image /home/vbraun/opt/android-n...
Shell
# Generated from ltmain.m4sh. # ltmain.sh (GNU libtool) 2.2.6b # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # ...
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
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2009-04-28.21; # UTC # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, # 2008, 2009 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free softw...
Shell
#/bin/sh ./configure --system-name=GCC mv Makefile script/Makefile.gcc ./configure --system-name=GCC --shared mv Makefile script/Makefile.gcc_so ./configure --system-name=CYGWIN mv Makefile script/Makefile.cygwin ./configure --system-name=CYGWIN --shared mv Makefile script/Makefile.cygwin_dll ./configure --system-name...
Shell
#!/bin/sh # # make resource files for each platforms # _VERSION2=$(grep VERSION include/hpdf_consts.h | awk '{print $3}' | sed 's/"//g')".0" _VERSION1=$(grep VERSION include/hpdf_consts.h | awk '{print $3}' | sed 's/"//g;s/\./,/g')",0" _COMPILER="" which windres if [ $? -ne 0 ]; then echo "windres does not exist." ...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2009-04-28.21; # UTC # 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 ...
Shell
#!/bin/sh eval `grep '^HPDF_EXTRA_VERSION=' configure.in` case "$HPDF_EXTRA_VERSION" in *-dev) rebuildok=1 ;; *) rebuildok=0 ;; esac cvsclean=0 while test $# -gt 0; do if test "$1" = "--force"; then rebuildok=1 echo "Forcing buildconf" fi if test "$1" = "--clean"; then cvsclean=...
Shell
#!/bin/sh #----------------------------------------------------------------------------- # Program: Insight Segmentation & Registration Toolkit # Module: $RCSfile: itkwish.in,v $ # Language: C++ # Date: $Date: 2006/09/06 20:58:42 $ # Version: $Revision: 1.1 $ # # Copyright (c) Insight Software Consortium. ...
Shell
#!/bin/sh #----------------------------------------------------------------------------- # Program: Insight Segmentation & Registration Toolkit # Module: $RCSfile: itkwish.in,v $ # Language: C++ # Date: $Date: 2006/09/06 20:58:42 $ # Version: $Revision: 1.1 $ # # Copyright (c) Insight Software Consortium. ...
Shell
#!/bin/sh #----------------------------------------------------------------------------- # Program: Insight Segmentation & Registration Toolkit # Module: $RCSfile: itkwish.in,v $ # Language: C++ # Date: $Date: 2006/09/06 20:58:42 $ # Version: $Revision: 1.1 $ # # Copyright (c) Insight Software Consortium. ...
Shell
#!/bin/sh #----------------------------------------------------------------------------- # Program: Insight Segmentation & Registration Toolkit # Module: $RCSfile: itkwish.in,v $ # Language: C++ # Date: $Date: 2006/09/06 20:58:42 $ # Version: $Revision: 1.1 $ # # Copyright (c) Insight Software Consortium. ...
Shell
#!/bin/sh #----------------------------------------------------------------------------- # Program: Insight Segmentation & Registration Toolkit # Module: $RCSfile: itkwish.in,v $ # Language: C++ # Date: $Date: 2006/09/06 20:58:42 $ # Version: $Revision: 1.1 $ # # Copyright (c) Insight Software Consortium. ...
Shell
#!/bin/sh #----------------------------------------------------------------------------- # Program: Insight Segmentation & Registration Toolkit # Module: $RCSfile: itkwish.in,v $ # Language: C++ # Date: $Date: 2006/09/06 20:58:42 $ # Version: $Revision: 1.1 $ # # Copyright (c) Insight Software Consortium. ...
Shell
#!/bin/sh # # Config script for UnrealIRCd # (C) 2001 The UnrealIRCd Team # # This configure script is free software; the UnrealIRCd Team gives # unlimited permission to copy, distribute and modify as long as the # copyright headers stay intact # # # Rewritten completely to be an interface to autoconf by codemastr # T...
Shell
#!/bin/sh # # UnrealIRCD Crontab v2.1 # $Id: ircdchk.in,v 1.1.2.1 2003/07/16 21:13:25 codemastr Exp $ # # This is a script suitable for use in a crontab. It checks to make sure # your ircd is running. YOU NEED A SEPARATE CRON JOB FOR EACH IRCD. If your # ircd isn't found, it'll try to start it back up. # # You'll ne...
Shell
#!/bin/sh # # UnrealIRCD Crontab v2.1 # $Id: ircdchk.in,v 1.1.2.1 2003/07/16 21:13:25 codemastr Exp $ # # This is a script suitable for use in a crontab. It checks to make sure # your ircd is running. YOU NEED A SEPARATE CRON JOB FOR EACH IRCD. If your # ircd isn't found, it'll try to start it back up. # # You'll ne...
Shell
#!/bin/sh # # Auto-update script for Unreal3.1 and higher # (C) Carsten V. Munk 2000 # # This script may not be modified without consent of the author, # or included in any package without permission from the author. # # NO WARRANTY IS INCLUDED # TEMP added by Syzop till the new updater thing is finished. echo "Please...
Shell
#!/bin/sh # # Auto-update script for Unreal3.1 and higher # (C) Carsten V. Munk 2000 # # This script may not be modified without consent of the author, # or included in any package without permission from the author. # # NO WARRANTY IS INCLUDED # TEMP added by Syzop till the new updater thing is finished. echo "Please...
Shell
#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. timestamp='2001-06-08' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU soft...
Shell
#!/bin/sh if test "x$1" = x -o "x$2" = x ; then echo "Syntax:" echo "curlinstall ares_path libcurl_path" echo "" exit 1 fi if [ "`eval echo -n 'a'`" = "-n a" ] ; then c="\c" else n="-n" fi save_PWD=`pwd` echo "Installing ares" cd $1 ./configure --prefix=$HOME/ares && make && make install SSLFLAG...
Shell
#!/bin/sh # # Syntax: # ./modulize m_template.c TOKEN cmd MAXPARA CMDFILE outfile.name(curdir) # # cmd = LOWERCASE!! # # # UCOMMAND=`echo $3 |tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` cp $1 $1.tmp sed "s/%TOKEN%/$2/g" $1.tmp >$1.tmp.1 mv $1.tmp.1 $1.tmp sed "s/%COMMAND%/$3/g" $1.tmp >$1.tmp.1 mv $...
Shell
#!/bin/sh PID_FILE="@IRCDDIR@/ircd.pid" PID_BACKUP="@IRCDDIR@/ircd.pid.bak" if [ "$1" = "start" ] ; then echo "Starting UnrealIRCd" if [ -r $PID_FILE ] ; then mv -f $PID_FILE $PID_BACKUP fi @BINDIR@ sleep 1 if [ ! -r $PID_FILE ] ; then echo "Possible error encountered (IRCd seemingly not started)" echo "=...
Shell
#!/bin/sh cat unrealircd.conf | grep "loadmodule" | cut -d "/" -f 3 | cut -d "." -f 1 | grep -v "commands" | grep -v "cloak" | while read line do make custommodule MODULEFILE=${line} done
Shell
#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. timestamp='2001-06-05' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as pu...
Shell
#!/bin/sh # # Config script for UnrealIRCd # (C) 2001 The UnrealIRCd Team # # This configure script is free software; the UnrealIRCd Team gives # unlimited permission to copy, distribute and modify as long as the # copyright headers stay intact # # # Rewritten completely to be an interface to autoconf by codemastr # T...
Shell
#!/bin/sh # # Syntax: # ./modulize m_template.c TOKEN cmd MAXPARA CMDFILE outfile.name(curdir) # # cmd = LOWERCASE!! # # # UCOMMAND=`echo $3 |tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` cp $1 $1.tmp sed "s/%TOKEN%/$2/g" $1.tmp >$1.tmp.1 mv $1.tmp.1 $1.tmp sed "s/%COMMAND%/$3/g" $1.tmp >$1.tmp.1 mv $...
Shell
#!/bin/sh if test "x$1" = x -o "x$2" = x ; then echo "Syntax:" echo "curlinstall ares_path libcurl_path" echo "" exit 1 fi if [ "`eval echo -n 'a'`" = "-n a" ] ; then c="\c" else n="-n" fi save_PWD=`pwd` echo "Installing ares" cd $1 ./configure --prefix=$HOME/ares && make && make install SSLFLAG...
Shell
# $Id: version.c.SH,v 1.1.1.1.6.1.2.50.2.12 2006/12/01 15:32:51 syzop Exp $ echo "Extracting src/version.c..." id=`grep '$Id: Changes,v' ../Changes` id=`echo $id |sed 's/.* Changes\,v \(.*\) .* Exp .*/\1/'` echo "$id" if test -r version.c then generation=`sed -n 's/^char \*generation = \"\(.*\)\";/\1/p' < version...
Shell
#!/bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated automatically using autoconf. # Copyright (C) 1991, 1992, 1993 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 publis...
Shell
#!/bin/sh PID_FILE="@IRCDDIR@/ircd.pid" PID_BACKUP="@IRCDDIR@/ircd.pid.bak" if [ "$1" = "start" ] ; then echo "Starting UnrealIRCd" if [ -r $PID_FILE ] ; then mv -f $PID_FILE $PID_BACKUP fi @BINDIR@ sleep 1 if [ ! -r $PID_FILE ] ; then echo "Possible error encountered (IRCd seemingly not started)" echo "=...
Shell
#!/bin/sh cat unrealircd.conf | grep "loadmodule" | cut -d "/" -f 3 | cut -d "." -f 1 | grep -v "commands" | grep -v "cloak" | while read line do make custommodule MODULEFILE=${line} done
Shell
#!/bin/sh # # Config script for UnrealIRCd # (C) 2001 The UnrealIRCd Team # # This configure script is free software; the UnrealIRCd Team gives # unlimited permission to copy, distribute and modify as long as the # copyright headers stay intact # # # Rewritten completely to be an interface to autoconf by codemastr # T...
Shell
#!/bin/sh # # UnrealIRCD Crontab v2.1 # $Id: ircdchk.in,v 1.1.2.1 2003/07/16 21:13:25 codemastr Exp $ # # This is a script suitable for use in a crontab. It checks to make sure # your ircd is running. YOU NEED A SEPARATE CRON JOB FOR EACH IRCD. If your # ircd isn't found, it'll try to start it back up. # # You'll ne...
Shell
#!/bin/sh # # UnrealIRCD Crontab v2.1 # $Id: ircdchk.in,v 1.1.2.1 2003/07/16 21:13:25 codemastr Exp $ # # This is a script suitable for use in a crontab. It checks to make sure # your ircd is running. YOU NEED A SEPARATE CRON JOB FOR EACH IRCD. If your # ircd isn't found, it'll try to start it back up. # # You'll ne...
Shell
#!/bin/sh # # Auto-update script for Unreal3.1 and higher # (C) Carsten V. Munk 2000 # # This script may not be modified without consent of the author, # or included in any package without permission from the author. # # NO WARRANTY IS INCLUDED # TEMP added by Syzop till the new updater thing is finished. echo "Please...
Shell
#!/bin/sh # # Auto-update script for Unreal3.1 and higher # (C) Carsten V. Munk 2000 # # This script may not be modified without consent of the author, # or included in any package without permission from the author. # # NO WARRANTY IS INCLUDED # TEMP added by Syzop till the new updater thing is finished. echo "Please...
Shell
#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. timestamp='2001-06-08' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU soft...
Shell
#!/bin/sh if test "x$1" = x -o "x$2" = x ; then echo "Syntax:" echo "curlinstall ares_path libcurl_path" echo "" exit 1 fi if [ "`eval echo -n 'a'`" = "-n a" ] ; then c="\c" else n="-n" fi save_PWD=`pwd` echo "Installing ares" cd $1 ./configure --prefix=$HOME/ares && make && make install SSLFLAG...
Shell
#!/bin/sh # # Syntax: # ./modulize m_template.c TOKEN cmd MAXPARA CMDFILE outfile.name(curdir) # # cmd = LOWERCASE!! # # # UCOMMAND=`echo $3 |tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` cp $1 $1.tmp sed "s/%TOKEN%/$2/g" $1.tmp >$1.tmp.1 mv $1.tmp.1 $1.tmp sed "s/%COMMAND%/$3/g" $1.tmp >$1.tmp.1 mv $...
Shell
#!/bin/sh PID_FILE="@IRCDDIR@/ircd.pid" PID_BACKUP="@IRCDDIR@/ircd.pid.bak" if [ "$1" = "start" ] ; then echo "Starting UnrealIRCd" if [ -r $PID_FILE ] ; then mv -f $PID_FILE $PID_BACKUP fi @BINDIR@ sleep 1 if [ ! -r $PID_FILE ] ; then echo "Possible error encountered (IRCd seemingly not started)" echo "=...
Shell
#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. timestamp='2001-06-05' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as pu...
Shell
#!/bin/sh # # Config script for UnrealIRCd # (C) 2001 The UnrealIRCd Team # # This configure script is free software; the UnrealIRCd Team gives # unlimited permission to copy, distribute and modify as long as the # copyright headers stay intact # # # Rewritten completely to be an interface to autoconf by codemastr # T...
Shell
#!/bin/sh # # Syntax: # ./modulize m_template.c TOKEN cmd MAXPARA CMDFILE outfile.name(curdir) # # cmd = LOWERCASE!! # # # UCOMMAND=`echo $3 |tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` cp $1 $1.tmp sed "s/%TOKEN%/$2/g" $1.tmp >$1.tmp.1 mv $1.tmp.1 $1.tmp sed "s/%COMMAND%/$3/g" $1.tmp >$1.tmp.1 mv $...
Shell
#!/bin/sh if test "x$1" = x -o "x$2" = x ; then echo "Syntax:" echo "curlinstall ares_path libcurl_path" echo "" exit 1 fi if [ "`eval echo -n 'a'`" = "-n a" ] ; then c="\c" else n="-n" fi save_PWD=`pwd` echo "Installing ares" cd $1 ./configure --prefix=$HOME/ares && make && make install SSLFLAG...
Shell
# $Id: version.c.SH,v 1.1.1.1.6.1.2.50.2.12 2006/12/01 15:32:51 syzop Exp $ echo "Extracting src/version.c..." id=`grep '$Id: Changes,v' ../Changes` id=`echo $id |sed 's/.* Changes\,v \(.*\) .* Exp .*/\1/'` echo "$id" if test -r version.c then generation=`sed -n 's/^char \*generation = \"\(.*\)\";/\1/p' < version...
Shell
#!/bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated automatically using autoconf. # Copyright (C) 1991, 1992, 1993 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 publis...
Shell
#!/bin/sh PID_FILE="@IRCDDIR@/ircd.pid" PID_BACKUP="@IRCDDIR@/ircd.pid.bak" if [ "$1" = "start" ] ; then echo "Starting UnrealIRCd" if [ -r $PID_FILE ] ; then mv -f $PID_FILE $PID_BACKUP fi @BINDIR@ sleep 1 if [ ! -r $PID_FILE ] ; then echo "Possible error encountered (IRCd seemingly not started)" echo "=...
Shell
#!/bin/bash Res=res/ Alt=donottranslate-altchars.xml Map=donottranslate-keymap.xml Out=assets/kbd/ mkdir -p "$Out" for Dir in res/values res/values-* do [ -f $Dir/$Map ] || continue # -o -f $Dir/$Alt ] || continue Args="$Res/values/$Alt" [ -f $Dir/$Alt ] && Args="$Args $Dir/$Alt" Args="$Args $Res/values/$Map...
Shell
#!/bin/bash getLangsForFiles () { echo "en" # default language for F in "$@" do find res/ -name "$F" done \ | sed -n ' s/.*res.[a-z]*-\(..\)-r\(..\).*/\1_\2/p; # yy-rXX => yy_XX s/.*res.[a-z]*-\(..\)\/.*/\1/p; # yy => yy ' } getLangsForDicts () { ls ../Dicts \ | sed 's/.*-//;...
Shell
#!/bin/bash #=======================================================================# # Change the following variables for clang and opt #=======================================================================# ### # Another version with 32-bits ### COMP_MODE="Debug" LLVM_BIN="$HOME/SvnReps/UNIMELB/trunk/verification/...
Shell
#!/bin/bash #=======================================================================# # Change the following variables for clang and opt #=======================================================================# ### # Another version with 32-bits ### COMP_MODE="Debug" LLVM_BIN="$HOME/SvnReps/UNIMELB/trunk/verification/...
Shell
#!/bin/bash ###################################################################### # Script to run a bunch of tests and compare with expected results # Usage: ./regrtest.sh ###################################################################### CMMD="../tools/run.sh" PASS="-compare-range-analyses" TEST_DIR="../tests" ...
Shell
#!/bin/bash ###################################################################### # Script to run a bunch of tests and compare with expected results # Usage: ./regrtest.sh ###################################################################### CMMD="../tools/run.sh" PASS="-compare-range-analyses" TEST_DIR="../tests" ...
Shell
#! /bin/sh ### BEGIN INIT INFO # Provides: skeleton # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Example initscript # Description: This file should be used to construct scripts to be # ...
Shell
#! /bin/sh ### BEGIN INIT INFO # Provides: skeleton # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Example initscript # Description: This file should be used to construct scripts to be # ...
Shell
#!/bin/bash #before install check DB setting in # judge_wpoj.conf # hustoj-read-only/web/include/db_info.inc.php # and down here #and run this with root WEBBASE=/var/www/ DBUSER=root DBPASS=root #try install tools sudo apt-get install g++ libmysql++-dev php5 apache2 mysql-server php5-mysql subversion sudo yum -y up...
Shell
#!/bin/bash #before install check DB setting in # judge_wpoj.conf # hustoj-read-only/web/include/db_info.inc.php # and down here #and run this with root WEBBASE=/var/www/ DBUSER=root DBPASS=root #try install tools sudo apt-get install g++ libmysql++-dev php5 apache2 mysql-server php5-mysql subversion sudo yum -y up...
Shell
#!/bin/bash EXTENSION=`echo "$1" | cut -d'.' -f2` for i in ../data/$2/ac/*.$EXTENSION do sim=`sim_$EXTENSION -p $1 $i |grep ^$1|awk '{print $4}'` if [ ! -z $sim ] && [ $sim -gt 50 ] then sim_s_id=`basename $i` echo "$sim $sim_s_id" >sim exit $sim fi done exit 0;
Shell
#!/bin/bash EXTENSION=`echo "$1" | cut -d'.' -f2` for i in ../data/$2/ac/*.$EXTENSION do sim=`sim_$EXTENSION -p $1 $i |grep ^$1|awk '{print $4}'` if [ ! -z $sim ] && [ $sim -gt 50 ] then sim_s_id=`basename $i` echo "$sim $sim_s_id" >sim exit $sim fi done exit 0;
Shell
cd judged make cp judged_wpoj /usr/bin cd ../judge_client make cp judge_client_wpoj /usr/bin
Shell
#!/bin/bash # # Copyright (C) 2007 The Android Open Source Project # # 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 ap...
Shell
#!/bin/bash # # Copyright (C) 2007 The Android Open Source Project # # 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 ap...
Shell
#!/bin/sh # # install - install a program, script, or datafile # # 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 granted, free of charge, t...
Shell
#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Public domain # $Id: mkinstalldirs,v 1.13 1999/01/05 03:18:55 bje Exp $ errstatus=0 for file do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift ...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. # Copyright (C) 1996, 1997, 2001, 2002 Free Software Foundation, Inc. # Franc,ois 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 General Public Licen...
Shell
#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. timestamp='2005-07-08' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file sug...
Shell
#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. timestamp='2005-08-03' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU Gene...
Shell
#!/bin/sh # # install - install a program, script, or datafile # # 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 granted, free of charge, t...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. # Copyright (C) 1996, 1997, 2001, 2002 Free Software Foundation, Inc. # Franc,ois 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 General Public Licen...
Shell
#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Public domain # $Id: mkinstalldirs,v 1.13 1999/01/05 03:18:55 bje Exp $ errstatus=0 for file do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift ...
Shell
#!/bin/bash # # Copyright 2010 Google Inc. All Rights Reserved. # Author: jcgregorio@google.com (Joe Gregorio) # # Creates the documentation set for the library by # running pydoc on all the files in apiclient. # # Notes: You may have to update the location of the # App Engine library for your local system. exp...
Shell
#!/bin/sh # echo 'build the java project' # ant # echo "start javah -classpath ./bin/ javac.main" # javah -classpath ./bin/ javac.main # echo "start gfortran -shared -fPIC -m64 -o libcssfortran.so fortran_sample.f90 ......" # gfortran -shared -fPIC -m64 -o libcssfortran.so fortran_sample.f90 # echo "start g+...
Shell
#!/bin/sh # echo 'build the java project' # ant # echo "start javah -classpath ./bin/ javac.main" # javah -classpath ./bin/ javac.main # echo "start gfortran -shared -fPIC -m64 -o libcssfortran.so fortran_sample.f90 ......" # gfortran -shared -fPIC -m64 -o libcssfortran.so fortran_sample.f90 # echo "start g+...
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/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
#!/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 # 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-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-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-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-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 # 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