code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh #http://developer.apple.com/library/mac/#documentation/Java/Conceptual/Java14Development/03-JavaDeployment/JavaDeployment.html #http://stackoverflow.com/questions/96882/how-do-i-create-a-nice-looking-dmg-for-mac-os-x-using-command-line-tools set -o verbose #echo onset +o verbose #echo off # Note: this must ...
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
rm -r -f testCache* rm ./cache/* echo "" > cache.o
Shell
#! /bin/sh echo "Starting test..." #perl warrick.pl -D MAKEFILE -o MAKEFILE_LOGFILE.log -xc -nr -dr 2007-08-02 -k -T -nv http://www.cs.odu.edu/ ##use this one eventually. Other being use for the time being to giev a more visual representation of the recovery perl warrick.pl -D MAKEFILE -o MAKEFILE_LOGFILE.log -xc -n...
Shell
#!/bin/sh export LD_LIBRARY_PATH=$LD_LIBRARY_PATH;. ./warehouse_panic.bin > ./log.txt 2>&1 sync cd /usr/gp2x exec /usr/gp2x/gp2xmenu
Shell
#!/bin/sh export LD_LIBRARY_PATH=$LD_LIBRARY_PATH;. ./warehouse_panic.bin > ./log.txt 2>&1 sync cd /usr/gp2x exec /usr/gp2x/gp2xmenu
Shell
#!/bin/bash # Copyright 2011 Google Inc. All Rights Reserved. # # Run j2objc translation tool. # # Usage: # j2objc # [-begin-java-args <java-options> -end-java-args] # [-classpath <path>] # [-sourcepath <path>] # [-d <output-directory>] # <file.java> ... # if [ -L "$0" ]; then readonly DIR=$(d...
Shell
#!/bin/bash # Copyright 2012 Google Inc. All Rights Reserved. # # 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 ...
Shell
#!/bin/bash # # Copyright 2011 Google Inc. All Rights Reserved. # # 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 applicabl...
Shell
#!/bin/bash # Copyright 2011 Google Inc. All Rights Reserved. # # 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...
Shell
#!/bin/bash ## THIS IS SOLELY FOR AUTO STARTING IN WARCARRIEROS AND WEAKERTH4N ## if [ $(iwconfig | grep mon0 | wc -l) -lt 1 ]; then airmon-ng start wlan0; fi; if [ $(ps aux | grep -i gps[d] | wc -l) -lt 1 ]; then gpsd /dev/ttyUSB0; fi;
Shell
#!/bin/bash ## THIS IS SOLELY FOR AUTO STARTING IN WARCARRIEROS AND WEAKERTH4N ## if [ $(iwconfig | grep mon0 | wc -l) -lt 1 ]; then airmon-ng start wlan0; fi; if [ $(ps aux | grep -i gps[d] | wc -l) -lt 1 ]; then gpsd /dev/ttyUSB0; fi;
Shell
#!/bin/sh DEBUG=1 ROOT=. # allow using these variables in sub-shels export ROOT export DEBUG # TODO add_folder add_file() { # removing leading ./ FOLDER_PATH="${0#./}" echo " <folder path='$FOLDER_PATH'>" >> $ROOT/autogen.xml echo " <file filename = `basename "$1"`>" >> $ROOT/autogen.xml # basen...
Shell
#!/bin/sh autoreconf --force --install ./configure make
Shell
#!/bin/bash touch WarCache.html cat common.html > WarCache.html cat search.html >> WarCache.html cat listing.html >> WarCache.html cat builder.html >> WarCache.html cat about.html >> WarCache.html cat detail.html >> WarCache.html
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 # 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
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
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 # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
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 # 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-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
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-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
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 # For boot-up and system shutdown, most UNIXes explicitly run a shell # interpreter. In that case, the interpreter line above is ignored. # There are a few UNIXes (notably Darwin) that require the interpreter line. # Copyright (c) 2001-2008, The HSQL Development Group # All rights reserved. # # Redistributi...
Shell
#!/bin/sh # For boot-up and system shutdown, most UNIXes explicitly run a shell # interpreter. In that case, the interpreter line above is ignored. # There are a few UNIXes (notably Darwin) that require the interpreter line. # Copyright (c) 2001-2008, The HSQL Development Group # All rights reserved. # # Redistributi...
Shell
#!/bin/sh # For boot-up and system shutdown, most UNIXes explicitly run a shell # interpreter. In that case, the interpreter line above is ignored. # There are a few UNIXes (notably Darwin) that require the interpreter line. # Copyright (c) 2001-2008, The HSQL Development Group # All rights reserved. # # Redistributi...
Shell
#!/bin/sh # For boot-up and system shutdown, most UNIXes explicitly run a shell # interpreter. In that case, the interpreter line above is ignored. # There are a few UNIXes (notably Darwin) that require the interpreter line. # Copyright (c) 2001-2008, The HSQL Development Group # All rights reserved. # # Redistributi...
Shell
#!/bin/bash -p PROGNAME="${0##*/}" # $Id: runtests.bash 4697 2011-11-04 13:32:05Z unsaved $ # Distribution is permitted under the terms of the HSQLDB license. # (c) 2011 The HSQL Development Group # # Wrapper that serves two purposes: # (1) Takes traditional parameters in format: command -switches... filenames... # ...
Shell
#!/bin/bash -p PROGNAME="${0##*/}" # $Id: runtests.bash 4697 2011-11-04 13:32:05Z unsaved $ # Distribution is permitted under the terms of the HSQLDB license. # (c) 2011 The HSQL Development Group # # Wrapper that serves two purposes: # (1) Takes traditional parameters in format: command -switches... filenames... # ...
Shell
# Be sure to specify files instead of * when running the script. perl -p -i -e "s/ +$//g" *
Shell
# Be sure to specify files instead of * when running the script. perl -p -i -e "s/\t/ /g" *
Shell
#!/bin/bash # see the README in this directory for usage etc. usage() { echo ''; echo 'Usage: xmlproc.sh -[option] <filename.xml>'; echo 'Specify a target from:'; echo '-v verify xml file conforms to dtd'; echo '-html output in html format (single file)'; echo '-ps output in postscript format'; ...
Shell
#!/bin/sh # Bzgrep wrapped for bzip2, # adapted from zgrep by Philippe Troin <phil@fifi.org> for Debian GNU/Linux. ## zgrep notice: ## zgrep -- a wrapper around a grep program that decompresses files as needed ## Adapted from a version sent by Charles Levert <charles@comm.polymtl.ca> PATH="/usr/bin:$PATH"; export PA...
Shell
#!/bin/sh # sh is buggy on RS/6000 AIX 3.2. Replace above line with #!/bin/ksh # Bzcmp/diff wrapped for bzip2, # adapted from zdiff by Philippe Troin <phil@fifi.org> for Debian GNU/Linux. # Bzcmp and bzdiff are used to invoke the cmp or the diff pro- # gram on compressed files. All options specified are passed #...
Shell
#!/bin/sh # Bzmore wrapped for bzip2, # adapted from zmore by Philippe Troin <phil@fifi.org> for Debian GNU/Linux. PATH="/usr/bin:$PATH"; export PATH prog=`echo $0 | sed 's|.*/||'` case "$prog" in *less) more=less ;; *) more=more ;; esac if test "`echo -n a`" = "-n a"; then # looks like a SysV system: ...
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 # Need to run a full clean install when changing the request factory interfaces # Doing so deletes the local debug app engine database # This script backs that up first SRC=shuffle-app-engine/target/shuffle-app-engine-2.0.0-SNAPSHOT/WEB-INF/appengine-generated DEST=../db_backup rm -r $DEST mkdir $DEST cp -...
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 # # Initial data for Keystone using python-keystoneclient # # Tenant User Roles # ------------------------------------------------------------------ # admin admin admin # service glance admin # service nova admin, [ResellerAdmin (swift ...
Shell
#!/bin/sh set -e cat << EOF # hugin project file #hugin_ptoversion 2 p f0 w1878 h3375 v171 E0 R1 S270,1100,410,1850 n"TIFF_m c:LZW r:CROP" m g1 i0 f0 m2 p0.00784314 # image lines EOF n="$(find -L output -name \*.jpg -printf . | wc -c)" ./bezier.py "$n" "$@" cat << EOF # specify variables that should be optimized EOF...
Shell
#!/bin/bash while read count host do end=$[start+count] </dev/null ssh "$host" "cd $PWD; seq $[start+1] $end"' | time ionice -c3 nice xargs -n1 time blender -b terrain.blend -x 1 -o //output-4000x3000-jpg/ -F JPEG -f' & #</dev/null ssh "$host" killall xargs blender & start=$end done << EOF 13 linux024 13 linux028 1...
Shell
APPNAME="test" # options buildexternalsfromsource= usage(){ cat << EOF usage: $0 [options] Build C/C++ code for $APPNAME using Android NDK OPTIONS: -s Build externals from source -h this help EOF } while getopts "sh" OPTION; do case "$OPTION" in s) buildexternalsfromsource=1 ;; h) usage exit 0 ;; esac done # pat...
Shell
APPNAME="test" APP_ANDROID_NAME="com.android.test" if [ -z "${SDK_ROOT+aaa}" ]; then # ... if SDK_ROOT is not set, use "$HOME/bin/android-sdk" SDK_ROOT="$HOME/bin/android-sdk" fi if [ -z "${NDK_ROOT+aaa}" ]; then # ... if NDK_ROOT is not set, use "$HOME/bin/android-ndk" NDK_ROOT="$HOME/bin/android-ndk" fi if...
Shell
#!/bin/bash append_str=' \' list_alldir() { for file in $1/* do if [ -f $file ]; then echo $file$append_str | grep .cpp fi if [ -d $file ]; then list_alldir $file fi done } if [ $# -gt 0 ]; then list_...
Shell
#!/bin/bash append_str=' \' list_alldir() { for file in $1/* do if [ -f $file ]; then echo $file$append_str | grep .cpp fi if [ -d $file ]; then list_alldir $file fi done } if [ $# -gt 0 ]; then list_...
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/sh # Need to run a full clean install when changing the request factory interfaces # Doing so deletes the local debug app engine database # This script backs that up first SRC=shuffle-app-engine/target/shuffle-app-engine-2.0.0-SNAPSHOT/WEB-INF/appengine-generated DEST=../db_backup rm -r $DEST mkdir $DEST cp -...
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 FECHA=$(date) echo "Iniciando bot..." php bot.php -b bot.conf
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 zenity="/usr/bin/zenity" from=$(${zenity} --file-selection --directory) to=$(${zenity} --file-selection --directory --confirm-overwrite) folder=$(${zenity} --entry --text="Название папки") ERROR=$( { svn export $from $to/$folder | ls -1 > /dev/null; } 2>&1 ) notify-send "Export " "from $from to $to/$folder ...
Shell
#!/bin/bash zenity="/usr/bin/zenity" from=$(${zenity} --file-selection --directory) to=$(${zenity} --file-selection --directory --confirm-overwrite) folder=$(${zenity} --entry --text="Название папки") ERROR=$( { svn export $from $to/$folder | ls -1 > /dev/null; } 2>&1 ) notify-send "Export " "from $from to $to/$folder ...
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 # This script runs the compilation/compile-fail tests to make sure the library # behaves as required syntactically. The actual functionality tests are built # by the CMake build system. # TODO: Find out if this can be integrated into the CMake build? CFLAGS="-I/opt/local/include -I../ -DBOUNDS_CHECK -g"...
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
ant
Shell
#!/bin/bash if [ -z $1 ]; then echo "Usage: importcert.sh <CA cert PEM file>" exit 1 fi CACERT=$1 BCJAR=bcprov-jdk15on-146.jar TRUSTSTORE=../SiFEUPMobile/res/raw/sigarratruststore.bks ALIAS=`openssl x509 -inform PEM -subject_hash -noout -in $CACERT` #if [ -f $TRUSTSTORE ]; then # rm $TRUSTSTORE || exit 1 #fi...
Shell
#!/bin/sh # Start the HSQL database server java -classpath ../WebContent/WEB-INF/lib/hsqldb.jar org.hsqldb.Server -database test
Shell
#!/bin/sh # Start the HSQL database server java -classpath ../WebContent/WEB-INF/lib/hsqldb.jar org.hsqldb.Server -database test
Shell
#!/bin/bash curl -O http://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.eng.tar.gz tar -zxvf tesseract-ocr-3.02.eng.tar.gz rm -f tesseract-ocr-3.02.eng.tar.gz mkdir data mv tesseract-ocr data/tesseract adb push data/ /sdcard/ adb shell sync
Shell
#!/bin/bash curl -O https://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.02.tar.gz curl -O http://leptonica.googlecode.com/files/leptonica-1.69.tar.gz tar -zxvf tesseract-ocr-3.02.02.tar.gz tar -zxvf leptonica-1.69.tar.gz rm -f tesseract-ocr-3.02.02.tar.gz rm -f leptonica-1.69.tar.gz mv tesseract-ocr jni/com_g...
Shell
#!/bin/bash # # This script ensures that we have a copy of the Google API Client library set -ue DOWNLOAD_BASE_URL=https://google-api-python-client.googlecode.com/files DOWNLOAD_FILENAME=google-api-python-client-gae-1.2.zip EXTRACT_DIRECTORY=api-python-client SCRIPT_DIR=$( dirname $0) ROOT_DIR=$( dirname $SCRIPT_DI...
Shell
#!/bin/bash BASE_DIR=`dirname $0` echo "" echo "Starting Karma Server (http://karma-runner.github.io/)" echo "------------------------------------------------------" karma start $BASE_DIR/../config/karma.conf.js $*
Shell
#!/bin/sh gjslint -r app/js -r test/unit -r test/e2e|egrep -v '(E:0121:|E:0240|E:0200)'
Shell
#!/bin/bash # set -ue VERSION=$(git log -1 --pretty=format:%H) if [ -n "$(git status --porcelain)" ] then VERSION="dirty-$VERSION" fi git status echo echo -e "Hit [ENTER] to continue: \c" read SCRIPTS_DIR=$( dirname $0 ) ROOT_DIR=$( dirname $SCRIPTS_DIR ) $SCRIPTS_DIR/api-python-client.sh APPCFG=$(which appcfg.p...
Shell
#!/bin/bash # set -uex $(dirname $0)/api-python-client.sh dev_appserver.py \ --host 0.0.0.0 \ --admin_host 0.0.0.0 \ --skip_sdk_update_check yes \ . $*
Shell
#!/bin/bash # set -ue ( cd $(dirname $0)/../ for i in repos/appengine-*-python do ( echo echo $i cd $i git pull ) done )
Shell
#!/bin/bash if [ $(uname -s) == 'Darwin' ] then # OSX CHROME="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" GEOMETRY_RUN="180x32+0+500" GEOMETRY_UNIT="180x15+200+500" GEOMETRY_E2E="180x15+200+750" else # Linux CHROME="google-chrome" GEOMETRY_RUN="120x32+0+1000" GEOMETRY_UNIT="180x15+1...
Shell
#!/bin/bash BASE_DIR=`dirname $0` echo "" echo "Starting Karma Server (http://karma-runner.github.io/)" echo "------------------------------------------------------" karma start $BASE_DIR/../config/karma-e2e.conf.js $*
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 # 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-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-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
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-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
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-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 # 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 # 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-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
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