code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/bash indent -kr -i8 -ts8 -sob -l80 -ss -bs -psl "$@" indent -kr -i8 -ts8 -sob -l80 -ss -bs -psl "$@"
Shell
#!/bin/sh umask 077 /bin/cat >> /home/bbs/bm/$1 /bin/chown bbs.bbs /home/bbs/bm/$1 # END
Shell
#!/bin/sh umask 077 /bin/cat >> /home/bbs/bm/$1 /bin/chown bbs.bbs /home/bbs/bm/$1 # END
Shell
#!/bin/sh . ./localconf [ -d $1 ] || { mkdir -p $1; chown $XUSER:$XGROUP $1; }
Shell
#!/bin/sh . ./localconf [ "$1" = "-f" ] && { cp -f "$2" "$3"; chown $XUSER:$XGROUP "$3"; exit; } [ -f "$2/$1" ] || { cp "$1" "$2/$1"; chown $XUSER:$XGROUP "$2/$1"; }
Shell
#!/bin/sh # # configure script for Cthulhu. # # arguments: none # environment variables: CC, CFLAGS # # Created: Nov. 2002 # Last updated: Feb. 2003 # runcc () { $CC $CFLAGS config-test.c $1 2> /dev/null > /dev/null } defcc () { echo "#include <unistd.h>" > config-test.c echo "#include <stdlib.h>" >> config-test.c...
Shell
#!/bin/sh . ./localconf echo "Generating control files..." for i in control/* do [ -f $BASEDIR/$i ] && [ "$1" = "-f" ] || [ -f $i ] && sed -e "s,<basedir>,$BASEDIR," -e "s/<uid>/$XUSER/" -e "s/<gid>/$XGROUP/"< $i > $BASEDIR/$i done
Shell
#!/bin/sh . ./localconf [ -d $1 ] || { mkdir -p $1; chown $XUSER:$XGROUP $1; }
Shell
#!/bin/sh . ./localconf [ "$1" = "-f" ] && { cp -f "$2" "$3"; chown $XUSER:$XGROUP "$3"; exit; } [ -f "$2/$1" ] || { cp "$1" "$2/$1"; chown $XUSER:$XGROUP "$2/$1"; }
Shell
#!/bin/sh . ./localconf echo "Generating control files..." for i in control/* do [ -f $BASEDIR/$i ] && [ "$1" = "-f" ] || [ -f $i ] && sed -e "s,<basedir>,$BASEDIR," -e "s/<uid>/$XUSER/" -e "s/<gid>/$XGROUP/"< $i > $BASEDIR/$i done
Shell
#!/bin/sh export ACLOCAL=aclocal-1.7 export AUTOMAKE=automake-1.7 autoreconf -i
Shell
#!/bin/sh # 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 # 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 # 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/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
#!/usr/bin/sh # for this to work you need to have the following installed: # - Xcode: http://developer.apple.com/ # - git: http://help.github.com/mac-git-installation/ # - mercurial / hg: http://mercurial.berkwood.com/ # pull three20 cd .. git clone git://github.com/facebook/three20.git # pull mailcore - new URL git...
Shell
#!/bin/sh RC_VERSION=3.1.1-SNAPSHOT chmod a+x restclient-ui/target/restclient-ui-${RC_VERSION}/WizTools.org\ RESTClient.app/Contents/MacOS/JavaApplicationStub
Shell
#!/bin/sh VERSION=3.1-SNAPSHOT cp restclient-cli/target/restclient-cli-${VERSION}-jar-with-dependencies.jar \ restclient-ui/target/restclient-ui-${VERSION}-jar-with-dependencies.jar \ restclient-ui/target/restclient-ui-${VERSION}-app.zip \ ~/Dropbox/Public/
Shell
#!/bin/sh svn log -v -r597:HEAD > rest-client-history-26.log
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/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright 2005-2011, Cake Software Foundation, Inc. # # Licensed under The MIT License # R...
Shell
#!/bin/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright 2005-2011, Cake Software Foundation, Inc. # # Licensed under The MIT License # R...
Shell
#!/bin/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright 2005-2011, Cake Software Foundation, Inc. # # Licensed under The MIT License # R...
Shell
#!/bin/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright 2005-2011, Cake Software Foundation, Inc. # # Licensed under The MIT License # R...
Shell
#!/bin/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright 2005-2011, Cake Software Foundation, Inc. # # Licensed under The MIT License # R...
Shell
#!/bin/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright 2005-2011, Cake Software Foundation, Inc. # # Licensed under The MIT License # R...
Shell
#!/bin/sh # Runs pylint on all python files in codereview/ # # Skips over 'cpplint' which is a third part in the chromium branch. # ROOT=$(dirname $(readlink -f $0))/.. GAE=$ROOT/../google_appengine FILES=$(find codereview -iname "*.py" | grep -v "cpplint") IMPORTS=$GAE:$GAE/lib/django_1_2 PYTHONPATH=$IMPORTS:$PYTHONPA...
Shell
#! /bin/sh # # The idea to this kind of setup info script was stolen from numerous # other packages, such as neon, libxml and gnome. # # $Id: curl-config.in,v 1.18 2003/12/08 10:00:21 bagder Exp $ # prefix=@prefix@ exec_prefix=@exec_prefix@ includedir=@includedir@ usage() { cat <<EOF Usage: curl-config [OPTION] A...
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.2 2000/01/10 23:36:14 bagder Exp $ errstatus=0 for file do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift ...
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 # Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # This pro...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2003-11-08.23 # Copyright (C) 1999, 2000, 2003 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 # ...
Shell
#!/bin/sh die(){ echo "$@" exit } # this works as 'which' but we use a different name to make it more obvious we # aren't using 'which'! ;-) findtool(){ file="$1" IFS=":" for path in $PATH do if test -r "$path/$file"; then echo "$path/$file" return fi done } #------------------------...
Shell
#! /bin/sh # Script to build release-archives with # version=$1 if [ -z "$version" ]; then echo "Specify a version number!" exit fi libversion="$version" # we make curl the same version as libcurl curlversion=$libversion major=`echo $libversion |cut -d. -f1 | sed -e "s/[^0-9]//g"` minor=`echo $libversion |cut ...
Shell
#!/bin/sh # # $Id: reconf,v 1.4 2001/05/30 07:59:47 bagder Exp $ # # re autoconf/automake shell script # die(){ echo "$@" ; exit } aclocal -I . || die "The command 'aclocal -I .' failed" autoheader || die "The command 'autoheader' failed" automake || die "The command 'automake' failed" autoconf || die "The...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. # Copyright 1996, 1997, 1999, 2000 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 General Pu...
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 if [ "$#" != "1" ] ; then echo "Incorrect parameter list" exit fi SO="${1%.mp.ppc.so}" if [ ! -f ${SO}.mp.ppc.so ] ; then echo "Missing ${SO}.mp.ppc.so" exit fi pushd build rm -rf ${SO}_mac.bundle mkdir ${SO}_mac.bundle mkdir ${SO}_mac.bundle/Contents mkdir ${SO}_mac.bundle/Contents/MacOS cp ../...
Shell
#!/bin/sh $CC "$@" -static-libgcc "$($CC --print-file-name='libstdc++.a')" -lm
Shell
#!/bin/sh # I've found that XCode's stripping capabilities are sorely lacking # plus, it used to copy the game/cgame/ui to the Resource folder # but it can't copy the right Deployment/Development depending on configuration type # (or I couldn't get it to) root=`pwd` # so this script copies and strips.. (Deployment b...
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/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/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
pushd in cp 17x17_y.bmp 17x17.bmp popd pushd src cp flags_poiseuille_gravity_y.h flags.h popd make ./lb2d_prime ./in/params_poiseuille_gravity_y.in
Shell
pushd src cp flags_poiseuille_pressure_y.h flags.h popd make ./lb2d_prime ./in/params_poiseuille_pressure_y.in
Shell
pushd in cp 17x17_x.bmp 17x17.bmp popd pushd src cp flags_poiseuille_gravity_x.h flags.h popd make ./lb2d_prime ./in/params_poiseuille_gravity_x.in
Shell
pushd src cp flags_taylor_pressure.h flags.h popd make ./lb2d_prime ./in/params_taylor_pressure.in
Shell
pushd src cp flags_taylor_pressure_x_infile.h flags.h popd make ./lb2d_prime ./in/params_taylor_pressure_x_infile.in
Shell
pushd src cp flags_taylor_pressure_y_infile.h flags.h popd make ./lb2d_prime ./in/params_taylor_pressure_y_infile.in
Shell
#!/bin/bash # 打开apache.http调试信息 adb shell setprop log.tag.org.apache.http VERBOSE adb shell setprop log.tag.org.apache.http.wire VERBOSE adb shell setprop log.tag.org.apache.http.headers VERBOSE echo "Enable Debug"
Shell
#!/bin/bash sasldir=/var/run/saslauthd test -d $sasldir || { echo "$sasldir does not exist" exit 1 } sudo adduser ${USER} sasl sudo chmod g+rw $sasldir
Shell
#!/bin/bash echo -e "\nValid login / Invalid pass\n-------" time /usr/sbin/testsaslauthd -u thomas -p invalid -r zz.com -s srv -R 2000 >/dev/null echo -e "\nValid login / Valid pass\n-------" time /usr/sbin/testsaslauthd -u thomas -p aliacom -r zz.com -s srv -R 2000 >/dev/null echo -e "Invalid login\n-------" time /...
Shell
#!/bin/bash #set -x set -e # Author: Thomas Cataldo <tcataldo@minig.org> # Sylvain Garcia <sylvain.garcia@obm.org> # # Uses an headless eclipse to build ${product_name} # # # user build settings should be put in # `whoami`.product_build.properties pbuild_dir=`dirname $0` pushd $pbuild_dir >/dev/null 2>&1 ## ...
Shell
#!/bin/bash sasldir=/var/run/saslauthd test -d $sasldir || { echo "$sasldir does not exist" exit 1 } sudo adduser ${USER} sasl sudo chmod g+rw $sasldir
Shell
#!/bin/bash # YouShallNotPass App launcher appid=org.obm.ysnp.ysnp curdir=`dirname $0` echo -n "equinox shell lib loading..." source ${curdir}/equinox.lib echo "[OK]" aliasource_equinox_run_server_appid ${curdir} ${appid}
Shell
#!/bin/bash # YouShallNotPass App launcher appid=org.obm.ysnp.ysnp curdir=`dirname $0` echo -n "equinox shell lib loading..." source ${curdir}/equinox.lib echo "[OK]" aliasource_equinox_run_server_appid ${curdir} ${appid}
Shell
#!/bin/bash echo -e "\nValid login / Invalid pass\n-------" time /usr/sbin/testsaslauthd -u thomas -p invalid -r zz.com -s srv -R 2000 >/dev/null echo -e "\nValid login / Valid pass\n-------" time /usr/sbin/testsaslauthd -u thomas -p aliacom -r zz.com -s srv -R 2000 >/dev/null echo -e "Invalid login\n-------" time /...
Shell
#!/bin/bash #set -x set -e # Author: Thomas Cataldo <tcataldo@minig.org> # Sylvain Garcia <sylvain.garcia@obm.org> # # Uses an headless eclipse to build ${product_name} # # # user build settings should be put in # `whoami`.product_build.properties pbuild_dir=`dirname $0` pushd $pbuild_dir >/dev/null 2>&1 ## ...
Shell
#------------------------------------------------------------- # Environment Variables #------------------------------------------------------------- export PS1="\[\e[1;30m\]\h$ \[\e[0m\]" export PATH=/usr/local/mysql/bin:$PATH export DJANGO_SETTINGS_MODULE=yuan_settings export PATH=/Library/Python/2.6/site-packages/...
Shell
#!/bin/sh ./install_FreeType.sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads if [ ""$1"" = "" ];then AGG_VERSION=2.4 else AGG_VERSION=$1 fi PREFIX=`pwd`/../system/i386-mingw32msvc/agg-$AGG_VERSION BUILD=/tm...
Shell
#!/bin/sh echo "Installing libxml2" ./install_zlib.sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads PREFIX=/Developer/Cocotron/1.0/Windows/i386/ $scriptResources/downloadFilesIfNeeded.sh $downloadFolder "ftp:/...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads PREFIX=/Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/i386-mingw32msvc/ $scriptResources/downloadFilesIfNeeded.sh $downloadFolder "http://cocotron.googlec...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads SSLVERSION=0.9.8h-1 PREFIX=`pwd`/../system/i386-mingw32msvc/openssl-$SSLVERSION INCLUDE=$PREFIX/include BIN=$PREFIX/bin LIB=$PREFIX/lib $scriptResources...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads PREFIX=/Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/i386-mingw32msvc/ $scriptResources/downloadFilesIfNeeded.sh $downloadFolder "http://www.opengl.org/r...
Shell
#!/bin/sh echo "Installing zlib" installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads PREFIX=`pwd`/../system/i386-mingw32msvc/ # We need the headers/libraries, zlib.net only provides a dll or source which is more wor...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads if [ ""$1"" = "" ];then targetPlatform="Windows" else targetPlatform=$1 fi if [ ""$2"" = "" ];then targetArchitecture="i386" else targetArchitectu...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads if [ ""$1"" = "" ];then targetPlatform="Windows" else targetPlatform=$1 fi if [ ""$2"" = "" ];then targetArchitecture="i386" else targetArchitectu...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads PREFIX=`pwd`/../system/i386-mingw32msvc/hunspell-1.3.1 BUILD=/tmp/build_hunspell $scriptResources/downloadFilesIfNeeded.sh $downloadFolder http://download...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads if [ ""$1"" = "" ];then targetPlatform="Windows" else targetPlatform=$1 fi if [ ""$2"" = "" ];then targetArchitecture="i386" else targetArchitectu...
Shell
#/bin/sh #Copyright (c) 2006 Christopher J. W. Lloyd # #Permission is hereby granted, free of charge, to any person obtaining a copy of this #software and associated documentation files (the "Software"), to deal in the Software #without restriction, including without limitation the rights to use, copy, modify, #merge, ...
Shell
#!/bin/sh #Copyright (c) 2006 Christopher J. W. Lloyd # #Permission is hereby granted, free of charge, to any person obtaining a copy of this #software and associated documentation files (the "Software"), to deal in the Software #without restriction, including without limitation the rights to use, copy, modify, #merge,...
Shell
#!/bin/sh #Copyright (c) 2006 Christopher J. W. Lloyd # #Permission is hereby granted, free of charge, to any person obtaining a copy of this #software and associated documentation files (the "Software"), to deal in the Software #without restriction, including without limitation the rights to use, copy, modify, #merge,...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads PREFIX=/Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/i386-mingw32msvc/ INCLUDE=$PREFIX/include BIN=$PREFIX/bin LIB=$PREFIX/lib $scriptResources/downloadF...
Shell
#!/bin/sh ./install_zlib.sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads PREFIX=`pwd`/../system/i386-mingw32msvc/freetype-2.3.5 $scriptResources/downloadFilesIfNeeded.sh $downloadFolder "http://downloads.sour...
Shell
#!/bin/sh #Copyright (c) 2006 Christopher J. W. Lloyd # #Permission is hereby granted, free of charge, to any person obtaining a copy of this #software and associated documentation files (the "Software"), to deal in the Software #without restriction, including without limitation the rights to use, copy, modify, #merge,...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads if [ ""$1"" = "" ];then targetPlatform="Windows" else targetPlatform=$1 fi if [ ""$2"" = "" ];then targetArchitecture="i386" else targetArchitectu...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads/pthread PREFIX=/Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/i386-mingw32msvc/ INCLUDE=$PREFIX/include BIN=$PREFIX/bin LIB=$PREFIX/lib mkdir -p $downloa...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads if [ ""$1"" = "" ];then targetPlatform="Windows" else targetPlatform=$1 fi if [ ""$2"" = "" ];then targetArchitecture="i386" else targetArchitectu...
Shell
#!/bin/bash # the name of the server on which we test export TESTING_SERVER=192.168.2.102 # the directory under which our build directory is available on the _server_ export TESTING_DIR=/Tests # specifies if files should be linked or copied to the test harness folder export TESTING_LINK_FILES=YES
Shell
#!/bin/bash if [ $# != 1 ] then echo "Usage: $0 emailAddress" exit 1 fi read -s -p "Password: " mypassword echo "" curl https://www.google.com/accounts/ClientLogin -d Email=$1 -d "Passwd=$mypassword" -d accountType=GOOGLE -d source=Google-cURL-Example -d service=ac2dm
Shell
#!/bin/sh # Create a backup tar gzip file of the cwd with the date appended # located in the parent directory. FILENAME=../`pwd|xargs basename`-`date -j "+%Y-%m-%d"`.tgz echo Will create $FILENAME tar cfz $FILENAME . echo Done.
Shell
#! /bin/bash gnuplot << EOF set terminal postscript enhanced 25 set output '$1.ps' set key left Left reverse set key samplen 3 set style line 1 lt 1 pt 1 ps 2 lw 5 lc rgb "red" set style line 2 lt 2 pt 2 ps 2 lw 5 lc rgb "blue" set style line 3 lt 3 pt 6 ps 2 lw 5 lc rgb "black" set style line 4 lt 4 pt 4 ps 2 l...
Shell
#! /bin/bash gnuplot << EOF set ylabel "Execution Time(ms)" set style data histogram set yrange [0:] set style histogram cluster gap 1 set terminal postscript enhanced 25 set output "$1.ps" plot "$1" using 2:xtic("Join Time Breakdown") title col lc rgb "red" fs pattern 1,\ "$1" using 3:xtic("Join Time Breakdown") ti...
Shell
#! /bin/bash gnuplot << EOF set terminal postscript enhanced 25 set output '$1.ps' set key left Left reverse set yrang[0:180] set key samplen 3 set style line 1 lt 1 pt 1 ps 2 lw 5 lc rgb "red" set style line 2 lt 2 pt 2 ps 2 lw 5 lc rgb "blue" set style line 3 lt 3 pt 6 ps 2 lw 5 lc rgb "black" set style line 4 ...
Shell
#! /bin/bash gnuplot << EOF set ylabel "Number" set style data histogram set yrange [0:] set style histogram cluster gap 1 set terminal postscript enhanced 25 set key samplen 2 set output "$1.ps" plot "$1" using 2:xtic(1) title "read request" lc rgb "red" fs pattern 1,\ "$1" using 3:xtic(1) title "read transaction" ...
Shell
#! /bin/bash gnuplot << EOF set terminal postscript enhanced 25 set output '$1.ps' set key left Left reverse set key samplen 3 set yrange[0:220] set style line 1 lt 1 pt 1 ps 2 lw 5 lc rgb "red" set style line 2 lt 2 pt 2 ps 2 lw 5 lc rgb "blue" set style line 3 lt 3 pt 6 ps 2 lw 5 lc rgb "black" set style line 4...
Shell
#! /bin/bash gnuplot << EOF set terminal postscript enhanced 25 set output '$1.ps' set key left Left reverse set key samplen 3 set style line 1 lt 1 pt 1 ps 2 lw 5 lc rgb "red" set style line 2 lt 2 pt 2 ps 2 lw 5 lc rgb "blue" set style line 3 lt 3 pt 6 ps 2 lw 5 lc rgb "black" set style line 4 lt 4 pt 4 ps 2 l...
Shell
#! /bin/bash gnuplot << EOF set ylabel "Execution Time(ms)" set style data histogram set yrange [0:] set style histogram cluster gap 1 set terminal postscript enhanced 25 set output "$1.ps" plot "$1" using 2:xtic("Join Time Breakdown") title col lc rgb "red" fs pattern 1,\ "$1" using 3:xtic("Join Time Breakdown") ti...
Shell
#! /bin/bash gnuplot << EOF set terminal postscript enhanced 25 set output '$1.ps' set key left Left reverse set yrange[0:200] set key samplen 3 set style line 1 lt 1 pt 1 ps 2 lw 5 lc rgb "red" set style line 2 lt 2 pt 2 ps 2 lw 5 lc rgb "blue" set style line 3 lt 3 pt 6 ps 2 lw 5 lc rgb "black" set style line 4...
Shell
#! /bin/bash gnuplot << EOF set terminal postscript enhanced 25 set output '$1.ps' set key left Left reverse set key samplen 3 set yrange[0:200] set style line 1 lt 1 pt 1 ps 2 lw 5 lc rgb "red" set style line 2 lt 2 pt 2 ps 2 lw 5 lc rgb "blue" set style line 3 lt 3 pt 6 ps 2 lw 5 lc rgb "black" set style line 4...
Shell
#! /bin/bash gnuplot << EOF set terminal postscript enhanced 25 set output '$1.ps' set key left Left reverse set yrange[0:200] set key samplen 3 set style line 1 lt 1 pt 1 ps 2 lw 5 lc rgb "red" set style line 2 lt 2 pt 2 ps 2 lw 5 lc rgb "blue" set style line 3 lt 3 pt 6 ps 2 lw 5 lc rgb "black" set style line 4...
Shell
#! /bin/bash gnuplot << EOF set terminal postscript enhanced 25 set output '$1.ps' set key left Left reverse set yrang[0:180] set key samplen 3 set style line 1 lt 1 pt 1 ps 2 lw 5 lc rgb "red" set style line 2 lt 2 pt 2 ps 2 lw 5 lc rgb "blue" set style line 3 lt 3 pt 6 ps 2 lw 5 lc rgb "black" set style line 4 ...
Shell
#! /bin/bash gnuplot << EOF set ylabel "Number" set style data histogram set yrange [0:] set style histogram cluster gap 1 set terminal postscript enhanced 25 set key samplen 2 set output "$1.ps" plot "$1" using 2:xtic(1) title "read request" lc rgb "red" fs pattern 1,\ "$1" using 3:xtic(1) title "read transaction" ...
Shell
#! /bin/bash gnuplot << EOF set terminal postscript enhanced 25 set output '$1.ps' set key left Left reverse set key samplen 3 set yrange[0:220] set style line 1 lt 1 pt 1 ps 2 lw 5 lc rgb "red" set style line 2 lt 2 pt 2 ps 2 lw 5 lc rgb "blue" set style line 3 lt 3 pt 6 ps 2 lw 5 lc rgb "black" set style line 4...
Shell
#! /bin/bash gnuplot << EOF set terminal postscript enhanced 25 set output '$1.ps' set key left Left reverse set key samplen 3 set yrange[0:200] set style line 1 lt 1 pt 1 ps 2 lw 5 lc rgb "red" set style line 2 lt 2 pt 2 ps 2 lw 5 lc rgb "blue" set style line 3 lt 3 pt 6 ps 2 lw 5 lc rgb "black" set style line 4...
Shell