code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh # Remember VERBOSE only works on debug builds of the app adb shell setprop log.tag.iosched_SyncHelper VERBOSE adb shell setprop log.tag.iosched_SessionsHandler VERBOSE adb shell setprop log.tag.iosched_ImageCache VERBOSE adb shell setprop log.tag.iosched_ImageWorker VERBOSE adb shell setprop log.tag.iosched_I...
Shell
#!/bin/sh adb shell pm clear com.google.android.apps.iosched
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi $ADB shell am start \ -a android.intent.action.MAIN \ -c android.intent.category.LAUNCHER \ -n com.google.android.apps.iosched/.ui.HomeActivity
Shell
#!/bin/sh -e ./test_bitstream ./test_estimatebit ./test_qrencode ./test_qrinput ./test_qrspec ./test_rs ./test_split ./test_mask ./test_mqrspec ./test_mmask ./test_monkey
Shell
#! /bin/sh # Wrapper for compilers which do not understand `-c -o'. scriptversion=2009-10-06.20; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 Free Software # Foundation, Inc. # Written by Tom Tromey <tromey@cygnus.com>. # # This program is free software; you can redistribute it and/or modify # it under t...
Shell
# libtool (GNU libtool) 2.4 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even f...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2009-04-28.21; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free # Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU Ge...
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 # Output a system dependent set of variables, describing how to set the # run time search path of shared libraries in an executable. # # Copyright 1996-2007 Free Software Foundation, Inc. # Taken from GNU libtool, 2001 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # This file is fre...
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 set -e if [ `uname -s` = Darwin ]; then LIBTOOLIZE=glibtoolize else LIBTOOLIZE=libtoolize fi if [ -d /usr/local/share/aclocal ]; then ACLOCAL_DIR=/usr/local/share/aclocal elif [ -d /opt/local/share/aclocal ]; then ACLOCAL_DIR=/opt/local/share/aclocal elif [ -d /usr/share/aclocal ]; then ...
Shell
#!/bin/bash # # Starts a basic web server on the port specified. # # ./serve.sh 3000 -> http://localhost:3000 # # Copyright 2012 Eric Bidelman <ebidel@gmail.com> port=$1 if [ $# -ne 1 ] then port=8000 fi if [ $(uname -s) == "Darwin" ] then open=open else open=xdg-open fi $open http://localhost:$port/templat...
Shell
#! /bin/sh #cmp output datas diff -a -b --strip-trailing-cr --ignore-all-space -I \n dat.out p0001.out
Shell
#! /bin/sh #cmp output datas diff -a -b --strip-trailing-cr --ignore-all-space -I \n dat.out p0001.out
Shell
#!/bin/sh ######################################## # # create_mf_index.sh # Creates the indices required for # the Netflix C++ API # # usage: # create_mf_index.sh # # or # # create_mf_index.sh original_dir movies_dir users_dir # ######################################## make mf_setup || exit; if [ "$#" -eq "0" ] th...
Shell
#!/bin/sh ######################################## # # create_lf_index.sh # Creates the indices required for # the Netflix C++ API # large-file (windows) version # # usage: # create_lf_index.sh # # or # # create_lf_index.sh original_dir movies_dir users_dir # ######################################## make lf_setup |...
Shell
#!/bin/sh ######################################## # # create_mf_index.sh # Creates the indices required for # the Netflix C++ API # # usage: # create_mf_index.sh # # or # # create_mf_index.sh original_dir movies_dir users_dir # ######################################## make mf_setup || exit; if [ "$#" -eq "0" ] th...
Shell
#!/bin/sh ######################################## # # create_lf_index.sh # Creates the indices required for # the Netflix C++ API # large-file (windows) version # # usage: # create_lf_index.sh # # or # # create_lf_index.sh original_dir movies_dir users_dir # ######################################## make lf_setup |...
Shell
#! /bin/bash INSTALL_ROOT="/usr/local/http" RC_LOCAL="/etc/rc.d/rc.local" echo 'copying files...' ! mkdir -p $INSTALL_ROOT/web && exit 1 ! cp curl $INSTALL_ROOT/curl -f && exit 1 ! cp conf.cfg $INSTALL_ROOT/conf.cfg -f && exit 1 ! cp info.html $INSTALL_ROOT/web/info.html -f && exit 1 echo 'create symbol link...' ! l...
Shell
#! /bin/bash INSTALL_ROOT="/usr/local/http" RC_LOCAL="/etc/rc.d/rc.local" echo 'copying files...' ! mkdir -p $INSTALL_ROOT/web && exit 1 ! cp curl $INSTALL_ROOT/curl -f && exit 1 ! cp conf.cfg $INSTALL_ROOT/conf.cfg -f && exit 1 ! cp info.html $INSTALL_ROOT/web/info.html -f && exit 1 echo 'create symbol link...' ! l...
Shell
#!/bin/bash osmosis --rx file=input.xml --mw file=output.map bbox=-1,0,0,1 encoding=single
Shell
#!/bin/bash osmosis --rx file=input.xml --mw file=output.map bbox=-1,0,0,1 encoding=double
Shell
#!/bin/bash osmosis --rx file=input.xml --mw file=output.map bbox=0.99,0.99,1.01,1.01
Shell
#!/bin/bash osmosis --rx file=input.xml --mw file=output.map bbox=0.1,0.2,0.3,0.4 map-start-position=0.15,0.25 map-start-zoom=16 preferred-language=en comment=testcomment
Shell
#!/bin/bash osmosis --rx file=input.xml --mw file=output.map bbox=0,0,0.08,0.08 debug-file=true
Shell
#!/bin/bash cd empty/ ./generate.sh cd ../file_header/ ./generate.sh cd ../single_delta_encoding/ ./generate.sh cd ../double_delta_encoding/ ./generate.sh cd ../with_data/ ./generate.sh
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 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/sh if [[ -z $ADB ]]; then ADB=adb; fi ./kill_process.sh $ADB shell rm -r /data/data/com.google.android.apps.iosched/*
Shell
#!/bin/sh adb shell cat /data/data/com.google.android.apps.iosched/shared_prefs/com.google.android.apps.iosched_preferences.xml | xmllint --format -
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi $ADB shell am start \ -a android.intent.action.MAIN \ -c android.intent.category.LAUNCHER \ -n com.google.android.apps.iosched/.ui.HomeActivity
Shell
#!/bin/sh adb shell pm clear com.google.android.apps.iosched
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi $ADB shell am force-stop com.google.android.apps.iosched
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi MAC_UNAME="Darwin" if [[ "`uname`" == ${MAC_UNAME} ]]; then DATE_FORMAT="%Y-%m-%dT%H:%M:%S" else DATE_FORMAT="%Y-%m-%d %H:%M:%S" fi if [ -z "$1" ]; then NOW_DATE=$(date "+${DATE_FORMAT}") echo Please provide a mock time in the format \"${NOW_DATE}\" or \"d\" to del...
Shell
#!/bin/sh # Remember VERBOSE only works on debug builds of the app adb shell setprop log.tag.iosched_SyncHelper VERBOSE adb shell setprop log.tag.iosched_SessionsHandler VERBOSE adb shell setprop log.tag.iosched_ImageCache VERBOSE adb shell setprop log.tag.iosched_ImageWorker VERBOSE adb shell setprop log.tag.iosched_I...
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi $ADB shell "echo '$*' | sqlite3 -header -column /data/data/com.google.android.apps.iosched/databases/schedule.db"
Shell
#!/bin/sh # Sessions list #adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/sessions # Vendors list #adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/vendors # Session detail #adb shell am start -a...
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/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 #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/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 ################################# # $1 = build configuration # # $2 = boost library directory # # $3 = output directory # ################################# echo "Copying dependencies to output directory..." cp "$2/"* "$1/$3"
Shell
#!/bin/bash ############################# # $1 = build configuration # # $2 = jace home directory # # $3 = output directory # ############################# echo "Copying dependencies to output directory..." cp "$2/"* "$1/$3" cp "$2/../../../../java/target/jace-examples-peer-example1*.jar" "%3/%1/peer_example1.j...
Shell
#!/bin/bash ############################# # $1 = build configuration # # $2 = jace home directory # # $3 = output directory # ############################# echo "Copying dependencies to output directory..." cp "$2/"* "$1/$3" cp "$2/jace-core-runtime-*" "$3/$1/jace-runtime.jar"
Shell
#!/bin/bash ############################# # $1 = build configuration # # $2 = jace home directory # # $3 = output directory # ############################# echo "Copying dependencies to output directory..." cp "$2/"* "$1/$3" cp "$2/jace-core-runtime-*" "$3/$1/jace-runtime.jar"
Shell
#!/bin/bash ############################# # $1 = build configuration # # $2 = jace home directory # # $3 = output directory # ############################# echo "Copying dependencies to output directory..." cp "$2/"* "$1/$3" cp "$2/jace-core-runtime-*" "$3/$1/jace-runtime.jar"
Shell
#!/bin/bash ############################# # $1 = build configuration # # $2 = jace home directory # # $3 = output directory # ############################# echo "Copying dependencies to output directory..." cp "$2/"* "$1/$3" cp "$2/../../../../java/target/jace-examples-singleton*.jar" "%3/%1/singleton.jar" cp "...
Shell
#!/bin/bash ############################# # $1 = build configuration # # $2 = jace home directory # # $3 = output directory # ############################# echo "Copying dependencies to output directory..." cp "$2/"* "$1/$3" cp "$2/jace-core-runtime-*" "$3/$1/jace-runtime.jar"
Shell
#!/bin/bash ############################# # $1 = build configuration # # $2 = jace home directory # # $3 = output directory # ############################# echo "Copying dependencies to output directory..." cp "$2/"* "$1/$3" cp "$2/jace-core-runtime-*" "$3/$1/jace-runtime.jar"
Shell
#!/system/bin/sh DIR=/data/data/org.sshtunnel PATH=$DIR:$PATH case $1 in start) echo " base { log_debug = off; log_info = off; log = stderr; daemon = on; redirector = iptables; } " >$DIR/redsocks.conf echo " redsocks { local_ip = 127.0.0.1; local_port = 8123; ip = 127.0.0.1; port = $2; type = socks5;...
Shell
#!/system/bin/sh DIR=/data/data/org.sshtunnel PATH=$DIR:$PATH case $1 in start) echo " base { log_debug = off; log_info = off; log = stderr; daemon = on; redirector = iptables; } " >$DIR/redsocks.conf echo " redsocks { local_ip = 127.0.0.1; local_port = 8123; ip = 127.0.0.1; port = $2; type = http-re...
Shell
#!/bin/sh BZRREV=`bzr log -r -1.. --line | cut -d":" -f 1` SRV=mccormick.cx DIR='~/mccormick.cx/projects/PodSixNet/' REMOTE=$SRV:$DIR TARFILE=PodSixNet-$BZRREV.tar.gz echo "Generating and uploading HTML to mccormick.cx:" cp COPYING web/ html=`markdown README` infile=`cat web/base.html` echo "${infile//\#\#\# content ...
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/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 WITH_USB=0 LIBUSB_WIN32_BIN_VERSION="1.2.2.0" LIBUSB_WIN32_BIN_ARCHIVE="libusb-win32-bin-$LIBUSB_WIN32_BIN_VERSION.zip" LIBUSB_WIN32_BIN_URL="http://freefr.dl.sourceforge.net/project/libusb-win32/libusb-win32-releases/$LIBUSB_WIN32_BIN_VERSION/$LIBUSB_WIN32_BIN_ARCHIVE" LIBUSB_WIN32_BIN_DIR="libusb-win32-bi...
Shell
#!/bin/bash cat << EOF | \ pn53x-tamashell |\ awk '\ /^> #.*:/{ sub(/^> #/,"") n=$0 for (i=0;i<8-length();i++) { n= n " " } getline getline getline sub(/Rx: 00/,"") gsub(/ +/," ")...
Shell
#!/bin/bash ID=$(cat << EOF | \ pn53x-tamashell |\ grep -A1 "^Tx: 42 01 0b 3f 80" |\ grep -o -P "(?<=Rx: 00 .. .. ).. .. .. .."|sed 's/ //g' # Timeouts 3205000002 # ListTarget ModeB 4a010300 # TypeB' APGEN 42010b3f80 EOF ) cat << EOF | \ pn53x-tamashell |\ awk '\ /^> #.*:/{ ...
Shell
#! /bin/sh # Stop script on first error. set -e # Retrieve libnfc version from configure.ac LIBNFC_VERSION=$(grep AC_INIT configure.ac | sed 's/^.*(\(.*\))/\1/g' | awk -F', ' '{ print $2 }') # Easiest part: GNU/linux, BSD and other POSIX systems. LIBNFC_AUTOTOOLS_ARCHIVE=libnfc-$LIBNFC_VERSION.tar.gz echo ">>> Clea...
Shell
#!/bin/sh export BASE_DIR="`dirname $0`" if test -z "$NO_MAKE"; then make -C "$BASE_DIR/../" > /dev/null || exit 1 fi if test -z "$CUTTER"; then CUTTER="`make -s -C "$BASE_DIR" echo-cutter`" fi "$CUTTER" --keep-opening-modules -s "$BASE_DIR" "$@" "$BASE_DIR" # ^^^^^^^^^^^^^^^^^^^^^^ # FIXME: Remove ...
Shell
#!/bin/bash mkdir -p doc/source rm doc/source/*.html FILES="fitz/*.[ch] draw/*.[ch] pdf/*.[ch] xps/*.[ch] cbz/*.[ch] apps/*.[ch]" echo running ctags to make xref ctags -x $FILES > tags-xref for input in $FILES do output=doc/source/$(basename $input).html echo $input $output python scripts/tohtml.py < $input > $o...
Shell
#!/bin/bash mkdir -p doc/source rm doc/source/*.html FILES="fitz/*.[ch] draw/*.[ch] pdf/*.[ch] xps/*.[ch] cbz/*.[ch] apps/*.[ch]" echo running ctags to make xref ctags -x $FILES > tags-xref for input in $FILES do output=doc/source/$(basename $input).html echo $input $output python scripts/tohtml.py < $input > $o...
Shell
#!/bin/sh javac -cp ../orig: Demo1Main.java exit 0
Shell
#!/bin/sh javac Util.java javac Registry.java javac Properties.java exit 0
Shell
#!/bin/sh # ./test_run.sh orig_main ../orig # ./test_run.sh new_main ../new # ./test_run.sh orig_main ../new cd $1 java -cp $2: Demo1Main exit 0
Shell
#!/bin/sh # ./test_run.sh orig_main ../orig # ./test_run.sh new_main ../new # ./test_run.sh orig_main ../new cd $1 java -cp $2:../libs/GMC.jar:./ -Djava.library.path=../libs/ TCMain exit 0
Shell
#!/bin/sh # ./test_run.sh orig_main ../orig # ./test_run.sh new_main ../new # ./test_run.sh orig_main ../new cd $1 java -cp $2: TCMain exit 0
Shell
#!/bin/sh # ./test_run.sh orig_main ../orig # ./test_run.sh new_main ../new # ./test_run.sh orig_main ../new cd $1 java -cp $2: Test exit 0
Shell
#!/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
#!/bin/bash # # Copyright (C) 2010-2011 the original author or authors. # # 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 requi...
Shell
rm -Rf configuration\org.eclipse.osgi java -jar org.eclipse.osgi-${version.equinox}.jar
Shell
#!/bin/bash function Print { echo -e '\E[47;30m'"\033[1m$1\033[0m" } function WriteVar { echo "$1=$2" >> $INSTALL_SDK/Install.mk echo "export $1" >> $INSTALL_SDK/Install.mk } function CheckProgram { Print "Checking if '$1' is installed..." if [ "`type -P $1`" = "" ]; then echo "Not installed!" exit 1;...
Shell
#!/bin/bash function Print { echo -e '\E[47;30m'"\033[1m$1\033[0m" } function WriteVar { echo "$1=$2" >> $INSTALL_SDK/Install.mk echo "export $1" >> $INSTALL_SDK/Install.mk } function CheckProgram { Print "Checking if '$1' is installed..." if [ "`type -P $1`" = "" ]; then echo "Not installed!" exit 1;...
Shell
#!/bin/bash # Scripts in the tools/ directory should source this file with the line: # pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null export TOOLS_DIR=$(pwd) export PROJECT_DIR=$(dirname $TOOLS_DIR) export APP_DIR=$PROJECT_DIR/app export TESTS_DIR=$PROJECT_DIR/tests for dir in \ "$APPENG...
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 to...
Shell
#!/bin/bash pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null $PYTHON $TOOLS_DIR/validate_merge.py "$@"
Shell
#!/bin/bash # Creates a code review on codereview.appspot.com for the current branch. # The posted patch is a diff from the default head to this branch's head. # # This script supports the following workflow: # 1. Create a named branch and make your changes there. # 2. Merge changes (if any) from the default...
Shell
#!/bin/bash pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null export REMOTE_API_RC="from model import *"$'\n'"from setup_pf import *" $PYTHON $TOOLS_DIR/remote_api.py "$@"
Shell
#!/bin/bash pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null $PYTHON $TOOLS_DIR/merge_messages.py "$@"
Shell
#!/bin/bash DEFAULT_DAYS=90 function usage() { echo "Usage: $0 [-r <rev>] [-d <days>] [-l] [-h]" echo echo " Interactively go through all the heads that have no children in" echo " history DAG and that are at least $DEFAULT_DAYS days old, and " echo " no-op merge them to the default branch." echo ech...
Shell
#!/bin/bash # To run all tests: # # tools/unit_tests # # To run just the tests in tests/test_model.py and tests/test_indexing.py: # # tools/unit_tests test_model test_indexing pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null echo echo "--- Running unit tests" TZ=UTC $PYTHON $TESTS_DIR/...
Shell
#!/bin/bash # Copyright 2011 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 w...
Shell
#!/bin/bash pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null find $PROJECT_DIR -name '*.pyc' -exec rm '{}' ';' find $PROJECT_DIR -name '*.orig' -exec rm '{}' ';'
Shell
#!/bin/bash pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null if [ "$1" == "run" ]; then shift # Look through the arguments for an application directory. for arg in "$@"; do case "$arg" in (--datastore_path*) datastore_path="$arg";; (-*) true;; ...
Shell
#!/bin/sh # use pylint to check the args. # requires installing pylint http://www.logilab.org/project/pylint # short form: easy_install pylint (may require root) LINT=$(which pylint) REPORTS="no" DEPRECATED=regsub,string,TERMIOS,Bastion,rexec if [ -z "$LINT" ]; then echo "pylint not found, please install." exit ...
Shell
#!/bin/bash pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null $PYTHON $TOOLS_DIR/find_missing_translations.py "$@"
Shell
#!/bin/bash pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null $PYTHON $TOOLS_DIR/update_messages.py "$@"
Shell
#!/bin/bash # Starts up an appserver and runs end-to-end tests against it. # # Use -k to select particular test classes or methods by a substring match: # tools/server_tests -k ConfigTests # tools/server_tests -k test_delete_and_restore # # Specify -v to show the name of each test as it runs (rather than just...
Shell
#!/bin/sh set -x #libtoolize --force --copy aclocal -I ./m4 autoheader automake --foreign --add-missing --copy autoconf
Shell
#! /bin/sh # Wrapper for compilers which do not understand `-c -o'. scriptversion=2005-05-14.22 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. # Written by Tom Tromey <tromey@cygnus.com>. # # This program is free software; you can redistribute it and/or modify # it under the terms of the ...
Shell
#! /bin/sh # mkinstalldirs --- make directory hierarchy scriptversion=2005-06-29.22 # Original author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Public domain. # # This file is maintained in Automake, please report # bugs to <bug-automake@gnu.org> or send patches to # <automake-patches@gnu.org>...
Shell
# Generated from ltmain.m4sh. # ltmain.sh (GNU libtool) 2.2.6 # 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 # w...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2005-07-09.11 # Copyright (C) 1999, 2000, 2003, 2004, 2005 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 pub...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2005-06-08.21 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redistribu...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2005-11-07.23 # 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 ...
Shell