code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/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 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 $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/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 adb shell cat /data/data/com.google.android.apps.iosched/shared_prefs/com.google.android.apps.iosched_preferences.xml | xmllint --format -
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 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 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 make ./dataStorageToolkit read -p "Press any key …" make clean
Shell
#!/bin/bash make ./dataStorageToolkit read -p "Press any key …" make clean
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 # Usage: event.sh <event> <if-name> case "$1" in if-create) ;; if-up) if [ -x /sbin/dhclient3 ]; then /sbin/dhclient3 -nw -pf /var/run/dhclient."$2".pid -lf /var/lib/dhcp3/dhclient."$2".leases "$2" >/dev/null 2>&1 elif [ -x /sbin/dhclient ]; then /sbin/dhclient -pf /var/run/dhclient."$2".pid -lf /var/...
Shell
#!/bin/sh # Copyright 2012 Roman Nurik # # 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/sh # Copyright 2012 Roman Nurik # # 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 # Copyright 2012 Roman Nurik # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
Shell
#!/bin/sh find . -iname \.DS_Store -exec rm {} \; rm -rf extension.zip cd extension/ zip -qr ../extension.zip . cd .. zipinfo -l extension.zip
Shell
#!/bin/sh mkdir -p build # # Notes on the build process : # # There is a circular dependency between page00.z80 and page1C.z80 # at export level (each of these need to know the values exported # by the other). So NEVER EVER remove the .exp files or the build # process will be broken (to fix it you'll have to comment ...
Shell
#!/bin/sh mkdir -p build # # Notes on the build process : # # There is a circular dependency between page00.z80 and page1C.z80 # at export level (each of these need to know the values exported # by the other). So NEVER EVER remove the .exp files or the build # process will be broken (to fix it you'll have to comment ...
Shell
#!/bin/bash CC=`which gcc` -O3 all: 928codes 928lib 928codes: @echo "...BUILDING 928CODES" $(CC) -o ./928codes ./src/928codes.c ./src/928paint.c ./src/928options.c @echo "...DONE" 928lib: @echo "...BUILDING 928LIB" $(CC) -D_928LIB_ -I`pwd`/src -fPIC -shared -o ./928codes.so ./src/928codes.c ./src/928paint.c ./s...
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=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 # 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 # libtool - Provide generalized library-building support services. # Generated automatically by config.status (libjpeg) 7.0 # Libtool was configured on host MacBook-Pro.local: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 200...
Shell
#!/bin/bash # # update_locales.sh # # Created on: 29.07.2010 # Author: Mike Shatohin (brunql) # Description: Updating translation files for Lightpack project # # Lightpack is very simple implementation of the backlight for a laptop # # Copyright (c) 2010 Mike Shatohin, mikeshatohin [at] gmail.com # # Ligh...
Shell
# # lightpack/Software/build-deb.sh # # Author: brunql # Created on: 25.12.11 # if [ -e "deb/usr/bin/Lightpack" ]; then echo "Renaming 'deb/usr/bin/Lightpack' to 'deb/usr/bin/lightpack'." mv deb/usr/bin/Lightpack deb/usr/bin/lightpack fi if [ ! -e "deb/usr/bin/lightpack" ]; then echo "File 'deb/usr/bin/lightpa...
Shell
#!/bin/bash mv LightpackDrivePB LightpackDrivePB.app && cp LightpackDrivePB.app '/media/68FF-68CE/applications/LightpackDrivePB.app'
Shell
#!/bin/sh cmake -DCMAKE_BUILD_TYPE=Release -DTARGET_TYPE=ARM make
Shell
#!/bin/sh cmake -DCMAKE_BUILD_TYPE=Debug -DTARGET_TYPE=Linux make
Shell
#!/bin/bash set -e # fail on any error set -u # treat unset variables as errors # ======[ Trap Errors ]======# set -E # let shell functions inherit ERR trap # Trap non-normal exit signals: # 1/HUP, 2/INT, 3/QUIT, 15/TERM, ERR trap err_handler 1 2 3 15 ERR function err_handler { local exit_status=${1:-$?} lo...
Shell
#!/bin/sh if [ $(id -u) != "0" ]; then echo "Error: You must be root to run this script" exit 1 fi echo "=========================================================================" echo "FREEBSD APACHE PHP SETUP" echo "=========================================================================" export PACKAGESITE=...
Shell
#!/bin/sh if [ $(id -u) != "0" ]; then echo "Error: You must be root to run this script" exit 1 fi echo "=========================================================================" echo "FREEBSD APACHE PHP SETUP" echo "=========================================================================" export PACKAGESITE=...
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
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
Shell
#!/bin/sh #*************************************************************************** #* Copyright (C) 2011 by YunQiang Su * #* wzssyqa@gmail.com * #* * #*...
Shell
#!/bin/bash #*************************************************************************** #* Copyright (C) 2011 by YunQiang Su * #* wzssyqa@gmail.com * #* * ...
Shell
#!/bin/sh ADIUM_FRAMEWORKS_DIR="/Users/Evan/adium/build/Debug/Adium.app/Contents/Frameworks" rm -rf *.framework cp -r "$ADIUM_FRAMEWORKS_DIR"/AIUtilities.framework ./ cp -r "$ADIUM_FRAMEWORKS_DIR"/Adium.framework ./ cp -r "$ADIUM_FRAMEWORKS_DIR"/AdiumLibpurple.framework ./ cp -r "$ADIUM_FRAMEWORKS_DIR"/FriBidi.frame...
Shell
#!/bin/sh # This script use find and xgettext command to generate the translation template file for openfetion find . -type f -iname "*.c" | xgettext --files-from=- --output=po/pidgin-ofetion.pot --from-code=utf-8 --sort-by-file --language=C --keyword=_ --keyword=gettext --keyword=i18n --keyword=N_ --add-comments --add...
Shell
#!/bin/bash if [ ! -d bin_Win32/lib ] then mkdir -p bin_Win32/lib fi if [ ! -d bin_Win32d/lib ] then mkdir -p bin_Win32d/lib fi cd ffmpeg make distclean OPTIONS=" --enable-shared \ --enable-gpl \ --enable-w32threads \ --enable-runtime-cpudetect \ --enable-asm \ --enable-zlib \ --enable-swscale \ --enable-avfilter...
Shell
#!/bin/bash if [ ! -d bin_x64/lib ] then mkdir -p bin_x64/lib fi if [ ! -d bin_x64d/lib ] then mkdir -p bin_x64d/lib fi cd ffmpeg make distclean OPTIONS=" --enable-shared \ --enable-gpl \ --enable-w32threads \ --enable-runtime-cpudetect \ --enable-asm \ --enable-zlib \ --enable-swscale \ --enable-avfilter \ --dis...
Shell
#! /bin/sh -f # # ***** BEGIN LICENSE BLOCK ***** # Version: MPL 1.1/GPL 2.0/LGPL 2.1 # # The contents of this file are subject to the Mozilla Public License Version # 1.1 (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.mozilla.org...
Shell
#! /bin/sh JS_DEBUGEE="$1" if [ ! "$JS_DEBUGEE" ]; then echo "Usage: $0 <script.js>" >/dev/stderr exit 1 fi gdb -q -x `dirname $0`/gdb-gsrdb.cmds --args gsrdb -c debugger -f $1
Shell
#! /bin/bash # # ***** BEGIN LICENSE BLOCK ***** # Version: MPL 1.1/GPL 2.0/LGPL 2.1 # # The contents of this file are subject to the Mozilla Public License Version # 1.1 (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.mozilla.org/...
Shell
#! /bin/bash # # ***** BEGIN LICENSE BLOCK ***** # Version: MPL 1.1/GPL 2.0/LGPL 2.1 # # The contents of this file are subject to the Mozilla Public License Version # 1.1 (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.mozilla.org/...
Shell
#! /bin/sh [ "$GSR" ] || GSR=/usr/bin/gsr export GSR path="`dirname $0`" $GSR -F "$path/stack_dump.js" >/dev/null 2>&1 exitCode="$?" if [ "$exitCode" = 1 ]; then echo "OKAY: Exit code for an uncaught exception passes" else echo "FAIL: Exit code for an uncaught exception was $exitCode" fi $GSR -F "$path/warning.j...
Shell
#! /bin/sh [ "$GSR" ] || GSR=/usr/bin/gsr $GSR -c 'a=123' $GSR -c 'lkjslkj(' echo "Should have a warning and a syntax error above"
Shell
#! /bin/sh [ "$GSR" ] || GSR=/usr/bin/gsr export GSR path="`dirname $0`" output="`$GSR -F \"$path/stack_dump.js\" 2>&1`" if expr 'Uncaught exception in /Users/wes/hg/gpsee/tests/error_reporting/stack_dump.js:15: An error occurred' : "^Uncaught exception in .*stack_dump.js:15: An error occurred$" >/dev/null; then e...
Shell
#! /bin/sh usage() { echo "Usage: gpsee-config [OPTIONS] Options: [--prefix] [--exec-prefix] [--includedir] [--libdir] [--version] [--libs] [--ldflags] [--cc] [--cxx] [--cflags] [--cppflags] [--cxxflags] [--lib-file...
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/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/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 # # 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 open http://localhost:$port/template.html && python -m SimpleHTTPServer $port;
Shell
#!/bin/sh DIR="$( cd "$( dirname "$0" )" && pwd )" javac -target 1.5 -source 1.5 $DIR/testlibs/*.java if [ -n "$JYTHON_HOME" ] then javac -cp $JYTHON_HOME/jython.jar -target 1.5 -source 1.5 $DIR/listeners/*.java else echo set JYTHON_HOME to compile listeners fi
Shell
#!/bin/sh testdir=`dirname $0` rm -f $testdir/output.* export PYTHONPATH=$testdir/../../../src python -m robot.run -l none -r none -d $testdir $testdir/test.txt python $testdir/../times2csv.py $testdir/output.xml echo "------------------------------ results ------------------------------" cat $testdir/output.csv echo "...
Shell
#!/bin/bash testdir=`dirname $0` pybot --loglevel DEBUG --log none --report none --outputdir $testdir $testdir/example.txt python $testdir/../statuschecker.py $testdir/output.xml rebot $testdir/output.xml echo "$? tests failed, 5 should have failed." echo "Check that tests starting with 'FAILURE:' have failed and other...
Shell
#!/bin/bash dirname=robotframework-c-example zipname=$dirname-$(date +%Y%m%d).zip files="README.txt login.c LoginLibrary.py LoginTests.tsv Makefile" rm -rf $dirname $zipname mkdir $dirname echo Copying... for file in $files; do cp -v $file $dirname done echo Zipping... zip -r $zipname $dirname rm -rf $dirname ech...
Shell
#!/bin/bash base=`dirname $0` ROBOT_SYSLOG_FILE=$base/tmp/syslog.txt python $base/src/robot/run.py -P $base/atest/testresources/testlibs -P $base/tmp -L debug -d $base/tmp "$@"
Shell
#!/bin/bash pybot --outputdir results --exclude parallel atest/
Shell
#!/bin/bash #python src/robot/rebot.py $* &> /dev/null & python src/robot/run.py $* &> /dev/null & #/usr/lib/jvm/java-6-sun/jre/bin/java -Xmx1024m -Xss1024k -classpath /home/jth/opt/jython2.5.1/jython.jar: -Dpython.home=/home/jth/opt/jython2.5.1 -Dpython.executable=/home/jth/opt/jython2.5.1/jython org.python.util.jyt...
Shell
#!/bin/sh # Detects OS we're compiling on and generates build_config.mk, # which in turn gets read while processing Makefile. # build_config.mk will set the following variables: # - PORT_CFLAGS will either set: # -DLEVELDB_PLATFORM_POSIX if cstatomic is present # -DLEVELDB_PLATFORM_NOATOMI...
Shell
#!/bin/bash # # update_locales.sh # # Created on: 29.07.2010 # Author: Mike Shatohin (brunql) # Description: Updating translation files for Lightpack project # # Lightpack is very simple implementation of the backlight for a laptop # # Copyright (c) 2010 Mike Shatohin, mikeshatohin [at] gmail.com # # Ligh...
Shell
# # lightpack/Software/build-deb.sh # # Author: brunql # Created on: 25.12.11 # if [ -e "deb/usr/bin/Lightpack" ]; then echo "Renaming 'deb/usr/bin/Lightpack' to 'deb/usr/bin/lightpack'." mv deb/usr/bin/Lightpack deb/usr/bin/lightpack fi if [ ! -e "deb/usr/bin/lightpack" ]; then echo "File 'deb/usr/bin/lightpa...
Shell
#!/bin/bash mv LightpackDrivePB LightpackDrivePB.app && cp LightpackDrivePB.app '/media/68FF-68CE/applications/LightpackDrivePB.app'
Shell
#!/bin/sh cmake -DCMAKE_BUILD_TYPE=Release -DTARGET_TYPE=ARM make
Shell
#!/bin/sh cmake -DCMAKE_BUILD_TYPE=Debug -DTARGET_TYPE=Linux make
Shell
#!/bin/bash set -e # fail on any error set -u # treat unset variables as errors # ======[ Trap Errors ]======# set -E # let shell functions inherit ERR trap # Trap non-normal exit signals: # 1/HUP, 2/INT, 3/QUIT, 15/TERM, ERR trap err_handler 1 2 3 15 ERR function err_handler { local exit_status=${1:-$?} lo...
Shell
#!/bin/sh # Copyright 2012 Roman Nurik # # 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/sh # Copyright 2012 Roman Nurik # # 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 # Copyright 2012 Roman Nurik # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
Shell
#!/bin/sh find . -iname \.DS_Store -exec rm {} \; rm -rf extension.zip cd extension/ zip -qr ../extension.zip . cd .. zipinfo -l extension.zip
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/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 # Add organization names manually. cat <<EOF # This file is automatically generated from the git commit history # by tools/gen_authors.sh. $(git log --pretty=format:"%aN <%aE>" | sort | uniq) Google Inc. The Mozilla Foundation The Xiph.Org Foundation EOF
Shell
#!/bin/sh self="$0" dirname_self=$(dirname "$self") usage() { cat <<EOF >&2 Usage: $self [option] This script applies a whitespace transformation to the commit at HEAD. If no options are given, then the modified files are left in the working tree. Options: -h, --help Shows this message -n, --dry-run Shows...
Shell
#!/bin/bash ## ## List the release each author first contributed to. ## ## Usage: author_first_release.sh [TAGS] ## ## If the TAGS arguments are unspecified, all tags reported by `git tag` ## will be considered. ## tags=${@:-$(git tag)} for tag in $tags; do git shortlog -n -e -s $tag | cut -f2- | awk "{pr...
Shell
#!/bin/sh set -e astyle --style=java --indent=spaces=2 --indent-switches\ --min-conditional-indent=0 \ --pad-oper --pad-header --unpad-paren \ --align-pointer=name \ --indent-preprocessor --convert-tabs --indent-labels \ --suffix=none --quiet --max-instatement-indent=80 "$@" # Disable...
Shell
#!/bin/bash ## ## Copyright (c) 2010 The WebM project authors. All Rights Reserved. ## ## Use of this source code is governed by a BSD-style license ## that can be found in the LICENSE file in the root of the source ## tree. An additional intellectual property rights grant can be found ## in the file PATENTS. All...
Shell
#!/bin/bash ## ## Copyright (c) 2010 The WebM project authors. All Rights Reserved. ## ## Use of this source code is governed by a BSD-style license ## that can be found in the LICENSE file in the root of the source ## tree. An additional intellectual property rights grant can be found ## in the file PATENTS. All...
Shell
vpx_scale_forward_decls() { cat <<EOF struct yv12_buffer_config; EOF } forward_decls vpx_scale_forward_decls # Scaler functions if [ "CONFIG_SPATIAL_RESAMPLING" != "yes" ]; then prototype void vp8_horizontal_line_5_4_scale "const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int d...
Shell
vp9_common_forward_decls() { cat <<EOF /* * VP9 */ #include "vpx/vpx_integer.h" struct loop_filter_info; struct blockd; struct macroblockd; struct loop_filter_info; /* Encoder forward decls */ struct block; struct macroblock; struct vp9_variance_vtable; #define DEC_MVCOSTS int *mvjcost, int *mvcost[2] union int_m...
Shell
vp8_common_forward_decls() { cat <<EOF /* * VP8 */ struct blockd; struct macroblockd; struct loop_filter_info; /* Encoder forward decls */ struct block; struct macroblock; struct variance_vtable; union int_mv; struct yv12_buffer_config; EOF } forward_decls vp8_common_forward_decls # # system state # prototype void...
Shell
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
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 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
<?php /** * @file * This script runs Drupal tests from command line. */ define('SIMPLETEST_SCRIPT_COLOR_PASS', 32); // Green. define('SIMPLETEST_SCRIPT_COLOR_FAIL', 31); // Red. define('SIMPLETEST_SCRIPT_COLOR_EXCEPTION', 33); // Brown. // Set defaults and get overrides. list($args, $count) = simpletest_script_par...
Shell
#!/bin/sh /usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
Shell
#!/bin/sh find . -name "*~" -type f | xargs rm -f find . -name ".#*" -type f | xargs rm -f find . -name "*.rej" -type f | xargs rm -f find . -name "*.orig" -type f | xargs rm -f find . -name "DEADJOE" -type f | xargs rm -f find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".t...
Shell
#!/bin/sh curl --silent --compressed http://example.com/cron.php
Shell
#!/bin/bash # Run this from the terminal inside a drupal root folder # i.e. DRUPAL_ROOT_DIR/sites/all/modules/contrib/ctools/tests/ctools.drush.sh function stamp { echo ============== echo timestamp : `date` echo ============== } DRUPAL_ROOT=`drush dd` MODULE_DIR="$DRUPAL_ROOT/sites/all/modules" M...
Shell