code
stringlengths
1
1.96M
language
stringclasses
1 value
# Generated from ltmain.m4sh. # libtool (GNU libtool) 2.2.10 # 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. T...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2011-04-16.09; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010, # 2011 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms o...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2011-01-19.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 # Output a system dependent set of variables, describing how to set the # run time search path of shared libraries in an executable. # # Copyright 1996-2011 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 # py-compile - Compile a Python program scriptversion=2009-04-28.21; # UTC # Copyright (C) 2000, 2001, 2003, 2004, 2005, 2008, 2009 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 # ylwrap - wrapper for lex/yacc invocations. scriptversion=2010-02-06.18; # UTC # Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005, # 2007, 2009, 2010 Free Software Foundation, Inc. # # Written by Tom Tromey <tromey@cygnus.com>. # # This program is free software; you can redistribute it a...
Shell
#! /bin/bash # libtoolT - Provide generalized library-building support services. # Generated automatically by (GNU lzo 2.03) # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. # # This file is part of GNU Libtool: # ...
Shell
#! /bin/sh set -e # # usage: util/overlap.sh [directory] # # This script runs the overlap example program on a complete directory tree. # # Copyright (C) 1996-2011 Markus Franz Xaver Johannes Oberhumer # OVERLAP="overlap" test -x ./examples/overlap && OVERLAP="./examples/overlap" test -x ./overlap.exe && OVERLAP="./o...
Shell
#! /bin/sh set -e # # usage: util/checkasm.sh [directory] # # This script runs lzotest with all assembler decompressors # on a complete directory tree. # It is not suitable for accurate timings. # # Copyright (C) 1996-2011 Markus Franz Xaver Johannes Oberhumer # LZOTEST="lzotest" test -x ./lzotest/lzotest && LZOTEST=...
Shell
#! /bin/sh set -e # # usage: util/check.sh [directory] # # This script runs lzotest with all algorithms on a complete directory tree. # It is not suitable for accurate timings. # # Copyright (C) 1996-2011 Markus Franz Xaver Johannes Oberhumer # LZOTEST="lzotest" test -x ./lzotest/lzotest && LZOTEST="./lzotest/lzotest...
Shell
#!/bin/bash function dumplib() { LIB=$1 for arch in armeabi-v7a armeabi; do VER=$(dump_syms obj/local/$arch/$LIB |grep MODULE | cut -d " " -f 4) mkdir -p symbols/$LIB/$VER dump_syms obj/local/armeabi-v7a/$LIB > symbols/$LIB/$VER/$LIB.sym done } dumplib libopenvpn.so
Shell
#! /bin/sh if [ "$ICSCROWDAPIKEY" != "" ] then echo "Generating new translation archives" fetch -q -1 -o - http://api.crowdin.net/api/project/ics-openvpn/export?key=$ICSCROWDAPIKEY fi echo "Fetch translation archive" fetch -q http://crowdin.net/download/project/ics-openvpn.zip langtoinclude="ca cs de es et fr id ...
Shell
ndk-build APP_API=all -j 8 if [ $? = 0 ]; then rm -rf build/native-libs/ cd libs mkdir -p ../assets for i in * do cp -v $i/minivpn ../assets/minivpn.$i done # Removed compiled openssl libs, will use platform so libs # Reduces size of apk rm -v */libcrypto.so */libssl.so for arch in * do build...
Shell
#!/bin/sh # $Id: make_release_build.sh 165 2011-05-17 20:34:07Z makoto1975@gmail.com $ #set -x # このスクリプトは、ant でリリースビルドを作成し、 # バージョン番号(android:versionNameから取得)の # ディレクトリに成果物をコピーします。 # バージョン番号のディレクトリが既に存在する場合は # ビルドを中断しますが、既存の成果物を上書きしたい # 場合は引き数に -f をつけてください。 force=0 if [ x"$1" = x"-f" ]; then force=1 fi # プロジェクトディレ...
Shell
#!/bin/sh # $Id$ #set -x # このスクリプトは、ant でリリースビルドを作成し、 # バージョン番号(android:versionNameから取得)の # ディレクトリに成果物をコピーします。 # バージョン番号のディレクトリが既に存在する場合は # ビルドを中断しますが、既存の成果物を上書きしたい # 場合は引き数に -f をつけてください。 force=0 if [ x"$1" = x"-f" ]; then force=1 fi # プロジェクトディレクトリをカレントディレクトにする projectdir=$(dirname $0) echo "changing directory to ...
Shell
#!/bin/sh set -x # findbugs 関連の記述をコードから取り除く find src/ -name \*.java -exec sed -e 's/^import edu\.umd\.cs\.findbugs\.annotations\.[^;]*;$//' -e 's/@DefaultAnnotation(NonNull.class)//' -e 's/@CheckForNull//g' -i "" {} \; # findbugs 関連の jar を classpath から取り除く sed -e 's/<classpathentry kind="lib" path="libs\/findbugs-[0-...
Shell
#!/bin/sh set -x # findbugs 関連の記述をコードから取り除く find src/ -name \*.java -exec sed -e 's/^import edu\.umd\.cs\.findbugs\.annotations\.[^;]*;$//' -e 's/@DefaultAnnotation(NonNull.class)//' -e 's/@CheckForNull//g' -i "" {} \; # findbugs 関連の jar を classpath から取り除く sed -e 's/<classpathentry kind="lib" path="libs\/findbugs-[0-...
Shell
# Common bash functions # Assert that the last command terminated with OK status function check_last_cmd() { status=$? if [ "$status" -ne "0" ]; then echo "$1 failed (status: $status)" echo "ABORTED" exit 1 fi echo "$1 was ok" }
Shell
#!/bin/bash # # A script to fetch the updated translations from crowdin.net. # Tested on Max osx. # # TODO: convert file formats from DOS to unix # TODO: force a sourcein package creation before downloading. source ./bash_lib.sh # List of two letter codes of languages to update languages="es it ja pt ru sq" # Defin...
Shell
#!/bin/bash # # A script to patch the Android SDK library that contains ViewPager.java # Run each time upgrading to a newer version of the SDK. # # As of Aug 2012, the stock ViewPager class does not allow to control the # animation speed and results in a too fast stratup animation (the goal is # that the user will have...
Shell
#!/bin/bash # # A script to fetch the crowdin translation memory. # Tested on Max osx. source ./bash_lib.sh local_tmx_file="../archive/translations.tmx" function main() { echo "Downloading tmx file -> ${local_tmx_file}" curl -o ${local_tmx_file} http://api.crowdin.net/api/project/maniana/download-tm?key=$CIKEY ...
Shell
# Common bash functions # Assert that the last command terminated with OK status function check_last_cmd() { status=$? if [ "$status" -ne "0" ]; then echo "$1 failed (status: $status)" echo "ABORTED" exit 1 fi echo "$1 was ok" }
Shell
#!/bin/bash # # A script to patch the Android SDK library that contains ViewPager.java # Run each time upgrading to a newer version of the SDK. # # As of Aug 2012, the stock ViewPager class does not allow to control the # animation speed and results in a too fast stratup animation (the goal is # that the user will have...
Shell
#!/bin/bash # # A script to fetch the updated translations from crowdin.net. # Tested on Max osx. # # TODO: convert file formats from DOS to unix # TODO: force a sourcein package creation before downloading. source ./bash_lib.sh # List of two letter codes of languages to update languages="es it ja pt ru sq" # Defin...
Shell
#!/bin/bash # # A script to fetch the crowdin translation memory. # Tested on Max osx. source ./bash_lib.sh local_tmx_file="../archive/translations.tmx" function main() { echo "Downloading tmx file -> ${local_tmx_file}" curl -o ${local_tmx_file} http://api.crowdin.net/api/project/maniana/download-tm?key=$CIKEY ...
Shell
#!/bin/sh if [ "$ANDROID_HOME" == "" ]; then DDMLIB=lib/ddmlib.jar else DDMLIB=$ANDROID_HOME/tools/lib/ddmlib.jar fi CLASSES=$DDMLIB:lib/logview.jar java -cp $CLASSES org.bitbucket.mlopatkin.android.logviewer.Main $@
Shell
#!/bin/sh usage() { echo "Usage: $0 <os-platform>" exit 1 } if [ $# -ne 1 ] then usage $* fi cd liveMedia /bin/rm -f Makefile cat Makefile.head ../config.$1 Makefile.tail > Makefile chmod a-w Makefile cd ../groupsock /bin/rm -f Makefile cat Makefile.head ../config.$1 Makefile.tail > Makefile chmod a-w M...
Shell
#!/bin/sh cd liveMedia /bin/rm -f liveMedia.mak /bin/rm -f Makefile cat Makefile.head ../win32config Makefile.tail > liveMedia.mak cd ../groupsock /bin/rm -f groupsock.mak /bin/rm -f Makefile cat Makefile.head ../win32config Makefile.tail > groupsock.mak cd ../UsageEnvironment /bin/rm -f UsageEnvironment.mak /bin/rm...
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
#!/usr/bin/env bash ############################################################################## ## ## Gradle start up script for UN*X ## ############################################################################## # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to ...
Shell
#!/bin/bash # Program: # Log the memory information of the specified process periodically. # History: # 2012/09/26 Version: 0.0.7 # Change: # Set the title of terminal with device serial number. DEVICE=$1 PROCESS=$2 PERIOD=$3 START_TIME=0 END_TIME=0 TOTAL_TIME=0 HOUR=0 MINUTE=0 SECOND=0 LOG_FILE=0...
Shell
#!/bin/bash # Program: # Generate a line chart according to the .meminfo data # History: # 2012/09/26 Version: 0.0.6 # Change: # 1. Show total running time. # 2. Show the device IMEI. FILENAME=$1 if [ ! -f "${FILENAME}" ]; then echo "Usage: $0 [MEMINFO FILE]" exit fi TMP='$1.tmp' DEVICE...
Shell
#!/bin/sh cat top.$1 new new.$1 toc 1.0 1.1.$1 2.0.$1 2.1.$1 3.0.$1 3.1 3.2 3.3 3.4 3.5 3.6 3.7 4.0 4.1 > readme-$1.txt
Shell
#!/bin/sh ./da.sh linux ./da.sh win ./da.sh dos
Shell
#!/bin/sh ./da.sh linux ./da.sh win ./da.sh dos
Shell
#!/bin/sh cat top.$1 new new.$1 toc 1.0 1.1.$1 2.0.$1 2.1.$1 3.0.$1 3.1 3.2 3.3 3.4 3.5 3.6 3.7 4.0 4.1 > readme-$1.txt
Shell
#!/system/bin/sh set -e #!/system/bin/sh set -e CHANNEL=6 SSID="Testing" INIFILE=/data/data/edu.cs895/files/adhoc.ini MODULE=/system/lib/modules/wlan.ko load() { echo "hero: Loading wifi driver..." insmod $MODULE echo "hero: Initializing driver..." wlan_loader -f /system/etc/wifi/Fw1251r...
Shell
#!/system/bin/sh set -e #!/system/bin/sh set -e PATH="${PATH}:/data/data/cs.edu895/files" load() { insmod /system/lib/modules/bcm4329.ko firmware_path=/vendor/firmware/fw_bcm4329.bin nvram_path=/proc/calibration ifconfig eth0 192.168.13.54 netmask 255.255.255.0 ifconfig eth0 up iwconfig eth0 mode ad-hoc iwconfig eth0...
Shell
#!/system/bin/sh set -e #!/system/bin/sh set -e PATH="${PATH}:/data/data/cs.edu895/files" load() { cd /data/data/edu.cs895/files ./adhoc_load adhoc } up (){ ifconfig eth0 up } $1
Shell
#!/system/bin/sh set -e #!/system/bin/sh set -e PATH="${PATH}:/data/data/cs.edu895/files" load() { insmod /system/lib/modules/bcm4329.ko firmware_path=/vendor/firmware/fw_bcm4329.bin nvram_path=/proc/calibration ifconfig eth0 192.168.13.54 netmask 255.255.255.0 ifconfig eth0 up iwconfig eth0 mode ad-hoc iwconfig eth0...
Shell
#!/system/bin/sh set -e #!/system/bin/sh set -e CHANNEL=6 SSID="Testing" INIFILE=/data/data/edu.cs895/files/adhoc.ini MODULE=/system/lib/modules/wlan.ko load() { echo "hero: Loading wifi driver..." insmod $MODULE echo "hero: Initializing driver..." wlan_loader -f /system/etc/wifi/Fw1251r...
Shell
#!/system/bin/sh set -e #!/system/bin/sh set -e PATH="${PATH}:/data/data/cs.edu895/files" load() { cd /data/data/edu.cs895/files ./adhoc_load adhoc } up (){ ifconfig eth0 up } $1
Shell
ndk-build cp libs/armeabi/wifi ../res/raw/adhoc_load cp libs/armeabi/libhardware_legacy.so ../res/raw/libhardware_legacy
Shell
#1/bin/bash javadoc -author -linkoffline http://d.android.com/reference file:/usr/local/android-sdk-linux_86/docs/reference -classpath /usr/local/android-sdk-linux_86/platforms/android-4/android.jar -d javadocs/ -sourcepath `find . -name *.java`
Shell
rm -rf ./javadocs/com/jwetherell/augmented_reality/common/.svn rm -rf ./javadocs/com/jwetherell/augmented_reality/data/.svn rm -rf ./javadocs/com/jwetherell/augmented_reality/ui/.svn rm -rf ./javadocs/com/jwetherell/augmented_reality/ui/objects/.svn rm -rf ./javadocs/resources/.svn rm -rf ./res/values/.svn rm -rf ./src...
Shell
#!/system/bin/sh set -e #!/system/bin/sh set -e CHANNEL=6 SSID="Testing" INIFILE=/data/data/edu.cs895/files/adhoc.ini MODULE=/system/lib/modules/wlan.ko load() { echo "hero: Loading wifi driver..." insmod $MODULE echo "hero: Initializing driver..." wlan_loader -f /system/etc/wifi/Fw1251r...
Shell
#!/system/bin/sh set -e #!/system/bin/sh set -e PATH="${PATH}:/data/data/cs.edu895/files" load() { insmod /system/lib/modules/bcm4329.ko firmware_path=/vendor/firmware/fw_bcm4329.bin nvram_path=/proc/calibration ifconfig eth0 192.168.13.54 netmask 255.255.255.0 ifconfig eth0 up iwconfig eth0 mode ad-hoc iwconfig eth0...
Shell
#!/system/bin/sh set -e #!/system/bin/sh set -e PATH="${PATH}:/data/data/cs.edu895/files" load() { cd /data/data/edu.cs895/files ./adhoc_load adhoc } up (){ ifconfig eth0 up } $1
Shell
#!/system/bin/sh set -e #!/system/bin/sh set -e PATH="${PATH}:/data/data/cs.edu895/files" load() { insmod /system/lib/modules/bcm4329.ko firmware_path=/vendor/firmware/fw_bcm4329.bin nvram_path=/proc/calibration ifconfig eth0 192.168.13.54 netmask 255.255.255.0 ifconfig eth0 up iwconfig eth0 mode ad-hoc iwconfig eth0...
Shell
#!/system/bin/sh set -e #!/system/bin/sh set -e CHANNEL=6 SSID="Testing" INIFILE=/data/data/edu.cs895/files/adhoc.ini MODULE=/system/lib/modules/wlan.ko load() { echo "hero: Loading wifi driver..." insmod $MODULE echo "hero: Initializing driver..." wlan_loader -f /system/etc/wifi/Fw1251r...
Shell
#!/system/bin/sh set -e #!/system/bin/sh set -e PATH="${PATH}:/data/data/cs.edu895/files" load() { cd /data/data/edu.cs895/files ./adhoc_load adhoc } up (){ ifconfig eth0 up } $1
Shell
ndk-build cp libs/armeabi/wifi ../res/raw/adhoc_load cp libs/armeabi/libhardware_legacy.so ../res/raw/libhardware_legacy
Shell
#!/usr/bin/env bash ############################################################################## ## ## Gradle start up script for UN*X ## ############################################################################## # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to ...
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
#!/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-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-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-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 # 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 # 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
#!/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-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-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-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 # 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 if [[ -z $ADB ]]; then ADB=adb; fi ./kill_process.sh $ADB shell rm -r /data/data/com.google.android.apps.iosched/*
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 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 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 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 if [[ -z $ADB ]]; then ADB=adb; fi $ADB shell am force-stop com.google.android.apps.iosched
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 $ADB shell "echo '$*' | sqlite3 -header -column /data/data/com.google.android.apps.iosched/databases/schedule.db"
Shell
#!/usr/bin/env bash ############################################################################## ## ## Gradle start up script for UN*X ## ############################################################################## # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to ...
Shell