code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/bash CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP adafruiti2c.sensor.main.SampleL3GD20ReadRealData
Shell
#!/bin/bash CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP adafruiti2c.sensor.main.VCNL4000ProximityWithSound
Shell
#!/bin/bash CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP adafruiti2c.samples.Servo002
Shell
#!/bin/bash CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP adafruiti2c.gui.acc.AccelerometerUI
Shell
#!/bin/bash JAVAC_OPTIONS="-sourcepath ./src" JAVAC_OPTIONS="$JAVAC_OPTIONS -d ./classes" echo $JAVAC_OPTIONS CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar CP=$CP:../GPSandSun/lib/nmeaparser.jar CP=$CP:./libs/orasocket-client-12.1.3.jar CP=$CP:./libs/json.jar # JAVAC_OPTIONS="-verbose $JAVAC_OPTIONS" JAVAC_OPTIONS="...
Shell
#!/bin/bash CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar CP=$CP:../../olivsoft/all-libs/nmeaparser.jar sudo java -cp $CP adafruiti2c.sensor.main.SampleBMP180Main
Shell
#!/bin/bash CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP adafruiti2c.sensor.main.SampleL3GD20ReadRawlData
Shell
#!/bin/bash CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar CP=$CP:./libs/json.jar CP=$CP:./libs/orasocket-client-12.1.3.jar sudo java -cp $CP adafruiti2c.samples.ws.WebSocketListener
Shell
#!/bin/bash CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP adafruiti2c.samples.Servo003
Shell
#!/bin/bash CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP adafruiti2c.sensor.AdafruitHTU21DF
Shell
#!/bin/bash # PI4J_HOME=/home/pi/pi4j/pi4j-distribution/target/distro-contents CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP adafruiti2c.sensor.main.SampleTCS34725Main $*
Shell
#!/bin/bash CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP adafruiti2c.samples.InteractiveServo
Shell
#!/bin/bash CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP adafruiti2c.sensor.AdafruitMCP9808
Shell
#!/bin/bash CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP adafruiti2c.sensor.AdafruitTCS34725
Shell
#!/bin/bash CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP adafruiti2c.samples.DemoStandard
Shell
#!/bin/bash CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP -Ddemo=false adafruiti2c.gui.gyro.GyroscopeUI
Shell
#!/bin/bash CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP adafruiti2c.sensor.AdafruitTSL2561
Shell
#!/bin/bash CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP adafruiti2c.sensor.AdafruitBMP180
Shell
#!/bin/bash CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar CP=$CP:../../olivsoft/all-libs/nmeaparser.jar sudo java -cp $CP adafruiti2c.sensor.AdafruitBMP180NMEA
Shell
#!/bin/bash CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP adafruiti2c.servo.AdafruitPCA9685 $*
Shell
#!/bin/bash CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP adafruiti2c.samples.DemoContinuous
Shell
#!/bin/bash CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP adafruiti2c.sensor.AdafruitVCNL4000
Shell
#!/bin/bash CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP adafruiti2c.sensor.AdafruitLSM303
Shell
#!/bin/bash CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar CP=$CP:../../olivsoft/all-libs/nmeaparser.jar CP=$CP:../../olivsoft/all-libs/nmeareader.jar CP=$CP:../../olivsoft/all-3rd-party/xmlparserv2.jar sudo java -cp $CP adafruiti2c.sensor.main.SampleBMP180NMEAMain
Shell
#!/bin/bash echo Two leds!! CP=./classes:$PI4J_HOME/lib/pi4j-core.jar sudo java -Dverbose=true -cp $CP twoleds.MainController
Shell
#!/bin/bash CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP camera.SnapShot
Shell
#!/bin/bash #!/bin/bash CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP rangesensor.HC_SR04
Shell
#!/bin/bash JAVAC_OPTIONS="-sourcepath ./src" JAVAC_OPTIONS="$JAVAC_OPTIONS -d ./classes" echo $JAVAC_OPTIONS CP=./classes # PI4J_HOME=/home/pi/pi4j/pi4j-distribution/target/distro-contents CP=$CP:$PI4J_HOME/lib/pi4j-core.jar CP=$CP:./lib/almanactools.jar CP=$CP:./lib/geomutil.jar CP=$CP:./lib/nauticalalmanac.jar CP=$C...
Shell
#!/bin/bash echo Read serial port, parse the RMC String echo Usage $0 [BaudRate] \(default 9600\) echo Try 2400, 4800, 9600, 19200, 38400, 57600, 115200, ... CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar CP=$CP:./lib/almanactools.jar CP=$CP:./lib/geomutil.jar CP=$CP:./lib/nauticalalmanac.jar CP=$CP:./lib/nmeaparser....
Shell
#!/bin/bash echo Read serial port, returns raw data echo Usage $0 [BaudRate] \(default 9600\) echo Try 2400, 4800, 9600, 19200, 38400, 57600, 115200, ... CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar CP=$CP:./lib/almanactools.jar CP=$CP:./lib/geomutil.jar CP=$CP:./lib/nauticalalmanac.jar CP=$CP:./lib/nmeaparser.jar ...
Shell
#!/bin/bash echo Compiling everything cd AdafruitI2C ./compile cd .. cd ADC ./compile cd .. cd DAC ./compile cd .. cd ./GPIO.01 ./compile cd .. cd GPSandSun ./compile cd .. cd GPS.sun.servo ./compile cd ..
Shell
#!/bin/bash echo Read serial port echo Usage $0 [BaudRate] \(default 9600\) echo Try 2400, 4800, 9600, 19200, 38400, 57600, 115200, ... CP=./classes:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP readserialport.SerialReader $*
Shell
#!/bin/bash echo Driving a relay, pin 00 CP=./classes:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP relay.Relay01
Shell
#!/bin/bash echo Read an ADC # CP=./classes:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP adc.sample.SampleMain $*
Shell
#!/bin/bash JAVAC_OPTIONS="-sourcepath ./src" JAVAC_OPTIONS="$JAVAC_OPTIONS -d ./classes" echo $JAVAC_OPTIONS CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar CP=$CP:./lib/jansi-1.9.jar CP=$CP:./lib/orasocket-client-12.1.3.jar # JAVAC_OPTIONS="-verbose $JAVAC_OPTIONS" JAVAC_OPTIONS="$JAVAC_OPTIONS -cp $CP" COMMAND="jav...
Shell
#!/bin/bash CP=./classes CP=$CP:./lib/jansi-1.9.jar CP=$CP:$PI4J_HOME/lib/pi4j-core.jar java -cp $CP adc.sample.FiveChannelListener
Shell
#!/bin/bash echo Monitoring the batteries on the boat, for real \(see coeffs\) # CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar CP=$CP:./lib/jansi-1.9.jar # sudo java -client -agentlib:jdwp=transport=dt_socket,server=y,address=1044 -cp $CP adc.sample.BatteryMonitor $* sudo java -cp $CP adc.sample.BatteryMonitor -min=...
Shell
#!/bin/bash echo Read an ADC # CP=./classes:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP analogdigitalconverter.ADCReader
Shell
#!/bin/bash echo Read an ADC # CP=./classes:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP adc.gui.AnalogDisplayApp
Shell
#!/bin/bash echo Read an ADC, feed a WebSocket # CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar CP=$CP:./lib/orasocket-client-12.1.3.jar # sudo java -cp $CP -Dws.uri=ws://localhost:9876/ adc.sample.WebSocketFeeder $*
Shell
#!/bin/bash echo Read an ADC # CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar CP=$CP:./lib/jansi-1.9.jar sudo java -cp $CP adc.sample.BatteryMonitor $*
Shell
#!/bin/bash JAVAC_OPTIONS="-sourcepath ./src" JAVAC_OPTIONS="$JAVAC_OPTIONS -d ./classes" echo $JAVAC_OPTIONS CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar # JAVAC_OPTIONS="-verbose $JAVAC_OPTIONS" JAVAC_OPTIONS="$JAVAC_OPTIONS -cp $CP" COMMAND="javac $JAVAC_OPTIONS `find ./src -name '*.java' -print`" echo Compiling...
Shell
#!/bin/bash CP=./classes:$PI4J_HOME/lib/pi4j-core.jar java -cp $CP dac.sample.DACSample
Shell
#!/bin/bash JAVAC_OPTIONS="-sourcepath ./src" JAVAC_OPTIONS="$JAVAC_OPTIONS -d ./classes" echo $JAVAC_OPTIONS CP=./classes CP=$CP:../AdafruitI2C/classes CP=$CP:../GPSandSun/classes # PI4J_HOME=/home/pi/pi4j/pi4j-distribution/target/distro-contents CP=$CP:$PI4J_HOME/lib/pi4j-core.jar CP=$CP:./lib/almanactools.jar CP=$CP...
Shell
#!/bin/bash echo Read serial port echo Usage $0 [BaudRate] \(default 4800\) echo Try 2400, 4800, 9600, 19200, 38400, 57600, 115200, ... CP=./classes CP=$CP:../AdafruitI2C/classes CP=$CP:../GPSandSun/classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar CP=$CP:./lib/almanactools.jar CP=$CP:./lib/geomutil.jar CP=$CP:./lib/nautical...
Shell
#!/bin/bash echo Blinking 8 leds CP=./classes:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP gpio01.GPIO08led
Shell
#!/bin/bash JAVAC_OPTIONS="-sourcepath ./src" JAVAC_OPTIONS="$JAVAC_OPTIONS -d ./classes" echo $JAVAC_OPTIONS CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar # JAVAC_OPTIONS="-verbose $JAVAC_OPTIONS" JAVAC_OPTIONS="$JAVAC_OPTIONS -cp $CP" COMMAND="javac $JAVAC_OPTIONS `find ./src -name '*.java' -print`" echo Compiling...
Shell
#!/bin/bash echo Speed Test CP=./classes:/home/pi/pi4j/pi4j-distribution/target/distro-contents/lib/pi4j-core.jar sudo java -cp $CP gpio01.SpeedTest
Shell
#!/bin/bash echo Blinking a led, pin 01 CP=./classes:$PI4J_HOME/lib/pi4j-core.jar java -cp $CP gpio01.GPIO01led
Shell
#!/bin/bash echo Blinking 2 leds CP=./classes:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP gpio01.GPIO02led
Shell
#!/bin/bash echo Interactive LED CP=./classes:$PI4J_HOME/lib/pi4j-core.jar sudo java -cp $CP rgbled.RGBLed
Shell
#!/bin/bash CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar CP=$CP:./lib/freetts.jar sudo java -cp $CP httpserver.StandaloneHTTPServer $*
Shell
#!/bin/sh # This is a shell archive (produced by GNU sharutils 4.2.1). # To extract the files from this archive, save it to some FILE, remove # everything before the `!/bin/sh' line above, then type `sh FILE'. # # Existing files will *not* be overwritten unless `-c' is specified. # # This shar contains: # length mode ...
Shell
#!/bin/bash CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar CP=$CP:./lib/javax.mail_1.1.0.0_1-4-4.jar CP=$CP:./lib/json.jar # java -classpath $CP relay.email.PIControllerMain $*
Shell
#!/bin/bash echo Read an ADC, feed a WebSocket # if [ "$PI4J_HOME" = "" ] then PI4J_HOME=/opt/pi4j fi # CP=./classes CP=$CP:$PI4J_HOME/lib/pi4j-core.jar CP=$CP:./lib/java_websocket.jar # sudo java -cp $CP -Dws.uri=ws://localhost:9876/ ws.WebSocketFeeder $*
Shell
#! /bin/sh # Path to GDB macros file. Customize for your site. GDBMACROS=/usr/class/cs140/pintos/pintos/src/misc/gdb-macros # Choose correct GDB. if command -v i386-elf-gdb >/dev/null 2>&1; then GDB=i386-elf-gdb else GDB=gdb fi # Run GDB. if test -f "$GDBMACROS"; then exec $GDB -x "$GDBMACROS" "$@" else echo "*...
Shell
#! /bin/sh # Path to GDB macros file. Customize for your site. GDBMACROS=/usr/class/cs140/pintos/pintos/src/misc/gdb-macros # Choose correct GDB. if command -v i386-elf-gdb >/dev/null 2>&1; then GDB=i386-elf-gdb else GDB=gdb fi # Run GDB. if test -f "$GDBMACROS"; then exec $GDB -x "$GDBMACROS" "$@" else echo "*...
Shell
#! /bin/sh -e if test -z "$SRCDIR" || test -z "$PINTOSDIR" || test -z "$DSTDIR"; then echo "usage: env SRCDIR=<srcdir> PINTOSDIR=<srcdir> DSTDIR=<dstdir> sh $0" echo " where <srcdir> contains bochs-2.2.6.tar.gz" echo " and <pintosdir> is the root of the pintos source tree" echo " and <dstdir> is...
Shell
#! /bin/sh -e if test -z "$SRCDIR" || test -z "$PINTOSDIR" || test -z "$DSTDIR"; then echo "usage: env SRCDIR=<srcdir> PINTOSDIR=<srcdir> DSTDIR=<dstdir> sh $0" echo " where <srcdir> contains bochs-2.2.6.tar.gz" echo " and <pintosdir> is the root of the pintos source tree" echo " and <dstdir> is...
Shell
#!/bin/bash # run "./runTests.sh" for verbose output # for short output, run # ./runTests.sh | grep FAILED # ./runTests.sh | grep PASSED #master branch SERVER_CLASS="org.ws4d.coap.test.PlugtestServer" CLIENT_CLASS="org.ws4d.coap.test.PlugtestClient" CLASSPATH="bin/:../ws4d-jcoap/bin" LOG_DIR="log" REF_LOG_DIR="logref" ...
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/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
#!/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 # # Run all the tests. # # The python interpreter to use is passed in on the command line. $1 runtests.py tests/test_discovery.py $1 runtests.py tests/test_errors.py $1 runtests.py tests/test_http.py $1 runtests.py tests/test_json_model.py $1 runtests.py tests/test_mocks.py $1 runtests.py tests/test_model.p...
Shell
#!/bin/bash # # Copyright 2007 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 t...
Shell
#!/bin/bash # # Copyright 2011 Google Inc. All Rights Reserved. # Author: jcgregorio@google.com (Joe Gregorio) # # Uploads a training data set to Google Storage to be used by this sample # application. # # Usage: # setup.sh file_name bucket/object # # Requirements: # gsutil - a client application for interacting with...
Shell
#!/bin/bash openssl req -new -newkey rsa:2048 -days 3650 -nodes -x509 \ -keyout privatekey.pem -out publickey.pem \ -subj "/CN=unit-tests" openssl pkcs12 -export -out privatekey.p12 \ -inkey privatekey.pem -in publickey.pem \ -name "key" -passout pass:notasecret
Shell
export PYTHONPATH=`pwd`:${PYTHONPATH}
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
xcodebuild -sdk iphoneos -parallelizeTargets xcodebuild -sdk iphoneos -configuration Debug -parallelizeTargets xcodebuild -sdk iphonesimulator -parallelizeTargets xcodebuild -sdk iphonesimulator -configuration Debug -parallelizeTargets
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 # 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
#!/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