code
stringlengths
1
1.96M
language
stringclasses
1 value
# # Use this script to customize the installer bootstrap script # # override some defaults # try to get root prior to running setup? # 0: no # 1: prompt, but run anyway if fails # 2: require, abort if root fails GET_ROOT=0 FATAL_ERROR="Error running installer. See http://zerowing.idsoftware.com/linux/ for troublesho...
Shell
#! /bin/sh # # Product setup script # # Go to the proper setup directory (if not already there) cd `dirname $0` # defaults FATAL_ERROR="Fatal error, no tech support email configured in this setup" # try to get root prior to running setup? # 0: no # 1: prompt, but run anyway if fails # 2: require, abort if root fails G...
Shell
# # Use this script to customize the installer bootstrap script # # override some defaults # try to get root prior to running setup? # 0: no # 1: prompt, but run anyway if fails # 2: require, abort if root fails # 3: print SU_MESSAGE if not root, don't attempt any privilege upgrade GET_ROOT=1 FATAL_ERROR="Error runn...
Shell
cat << EOF > "$archname" #!/bin/sh # This script was generated using Makeself $MS_VERSION CRCsum="$CRCsum" MD5="$MD5sum" TMPROOT=\${TMPDIR:=/tmp} label="$LABEL" script="$SCRIPT" scriptargs="$SCRIPTARGS" targetdir="$archdirname" filesizes="$filesizes" keep=$KEEP print_cmd_arg="" if type printf > /dev/null; then ...
Shell
#!/bin/sh # Grab the Makeself web page echo The following was generated from http://www.megastep.org/makeself/ > README echo ----------------------- >> README echo >> README lynx -dump http://www.megastep.org/makeself/ >> README
Shell
#!/bin/sh # opening URLs into your favorite web browser # feel free to tweak this to your needs if [ x`which firefox` != x ] then firefox "$1" elif [ x`which mozilla` != x ] then mozilla "$1" elif [ x`which opera` != x ] then opera "$1" else xterm -e lynx "$1" fi
Shell
#!/bin/sh # create the wrapper create_link() { echo "#!/bin/sh # Needed to make symlinks/shortcuts work. # the binaries must run with correct working directory cd \"$1\" export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:. exec ./$BINARY \"\$@\" " > "$1/$TARGET" chmod a+x "$1/$TARGET" # and then we must symlink to th...
Shell
#!/bin/sh rm $1 flip -u $2 mkdir -p `dirname $1` cd /var/local/Doom/base cat $2 | zip $1 -@
Shell
#!/bin/sh rm $1 flip -u $2 mkdir -p `dirname $1` cd /var/local/Doom/base cat $2 | while read i ; do find . -ipath "./$i" ; done | cut -b 3- | tee /home/timo/cased.log | zip $1 -@
Shell
#!/bin/sh echo "current pak files: $1" echo "expanded updated source: $2" echo "new pak file: $3" echo "press a key" read TMPDIR=`mktemp -d -t` ls "$1/"*.pk4 | while read i ; do unzip -l $i | cut -b 29- | tee $TMPDIR/`basename $i`.log ; done ls $TMPDIR/*.log | while read i ; do lines=`cat $i | wc -...
Shell
#!/bin/sh base=/home/doom-grp/Doom/base host=timo@idnet.ua-corp.com srvscript=/var/local/builds/misc/packup.sh maindir=$(pwd) cd $(dirname $1) source=$(pwd)/$(basename $1) outdir=$(pwd) cd $maindir echo "list of files : $source" echo "base : $base" echo "host : $host" echo "server script : $srvscrip...
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 for f in `ls | grep -P "[0-9]+\-.+"`; do if [ -d "$f" ]; then ./go.sh "$f" echo echo "$f" sleep 1 fi done
Shell
#!/bin/sh ls | grep -P "^[0-9]+-.+" | wc -l
Shell
#!/bin/sh clear set -e ename="`basename "$1"`" if [ -z "$ename" ] || [ ! -d "$ename" ]; then echo "Exercise $ename not found" exit 1 fi tmpdir="tmp/$ename" if [ -d "$tmpdir" ]; then rm -rf "$tmpdir" fi mkdir -p "$tmpdir" bname="$tmpdir/$ename.bin" g++-4.7 -Wall -std=c++0x -O0 -g -o "$bname" $ename/*.cpp 2>&1 |...
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 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/bash # Android Screenshot Library # ############################## # Startup script # echo "Android Screenshot Library -- initializing..." # if [ -z $ANDROID ]; then echo "*** Android SDK not found ***" echo "Make sure the ANDROID variable is pointing to Android SDK root directory" else adb="$AN...
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 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/bash #set +e #set -o errexit if [ $# -lt 4 ] then echo "Syntax: $0 IPSW RAMDISK KEY IV CUSTOMRAMDISK" echo "python_scripts/kernel_patcher.py can generate a shell script with the correct parameters" exit fi if [ ! -f ramdisk_tools/restored_external ] then echo "ramdisk_tools/restored_external n...
Shell
#/bin/sh python usbmuxd-python-client/tcprelay.py -t 22:2222 1999:1999
Shell
#!/bin/sh SSHOPTS="-p 2222 -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null" UDID=`ssh $SSHOPTS root@localhost "./device_infos udid"` if [ "$UDID" == "" ]; then exit fi echo "Device UDID : $UDID" mkdir -p $UDID DATE=`date +"%Y%m%d-%H%M"` OUT=$UDID/data_$DATE.dmg echo "Dumping data partition in $OUT ....
Shell
#!/bin/sh if [ -a /dev/disk0s1s2 ]; then # test for iOS 5 data partition mount_hfs /dev/disk0s1s1 /mnt1 2>/dev/null mount_hfs /dev/disk0s1s2 /mnt2 2>/dev/null elif [ -a /dev/disk0s2s1 ]; then # test for iOS 4 data partition mount_hfs /dev/disk0s1 /mnt1 2>/dev/null mount_hfs /dev/disk0s2s1 /mnt2 2>/dev/...
Shell
#!/bin/sh cat /dev/rdisk0s2s1 | netcat -l -p 1234
Shell
#!/bin/bash if [ ! -e eigen-android ]; then hg clone https://bitbucket.org/eigen/eigen eigen-android else cd eigen-android && hg pull && hg update fi
Shell
#!/bin/sh if [ $# -ne 1 ] then echo "Error in $0 - Invalid Argument Count" echo "Syntax: $0 boost_1_45_0" exit fi patch $1/libs/filesystem/v2/src/v2_operations.cpp < android.patch
Shell
#!/bin/sh if [ $# -ne 1 ] then echo "Error in $0 - Invalid Argument Count" echo "Syntax: $0 boost_1_45_0" exit fi patch $1/libs/filesystem/v2/src/v2_operations.cpp < filesystem.patch patch $1/boost/detail/endian.hpp < endian.patch
Shell
#!/bin/sh current_dir=`pwd` mkdir -p download cd download if [ ! -e boost_1_45_0.tar.gz ] then echo "wget'ing boost'" #this url is for convenience, consider it a mirror and you may replace it #with any existing boost_1_45_0.tar.gz url boost_download=http://vault.willowgarage.com/wgdata1/vol1/android_bo...
Shell
if [ -z "$1" ] then echo "Usage: `basename $0` <path> the path will be used to download and untar the android-ndk into." exit $E_NOARGS fi export destination=$1 if [ ! -e $destination ]; then echo "$destination does not exist!" exit 1 fi ball=android-ndk-r5b-linux-x86.tar.bz2 hash=4c0045ddc2bfd657be9d5177d0e0...
Shell
if [ -z "$1" ] then echo "Usage: `basename $0` <path> the path will be used to download and untar the android-ndk to." exit $E_NOARGS fi export destination=$1 if [ ! -e $destination ]; then echo "$destination does not exist!" exit 1 fi ball=android-ndk-r5b-linux-x86.tar.bz2 hash=4c0045ddc2bfd657be9d5177d0e0b7...
Shell
#!/bin/bash LD_LIBRARY_PATH=./lib/pc export LD_LIBRARY_PATH java -jar java/dist/lib/HelloBoost.jar
Shell
#!/bin/bash #javac HelloWorld.java cd java && ant
Shell
javah -jni -classpath build com.theveganrobot.cmake.HelloBoost
Shell
#!/bin/bash LD_LIBRARY_PATH=./lib/pc export LD_LIBRARY_PATH java -jar java/dist/lib/HelloCMake.jar
Shell
#!/bin/bash #javac HelloWorld.java cd java && ant
Shell
javah -jni -classpath build com.theveganrobot.cmake.HelloWorld
Shell
#!/bin/sh #this generates an ant based cli build of the android-jni project android update project --name hello-eigen \ --path .
Shell
#!/bin/bash LD_LIBRARY_PATH=./lib/pc export LD_LIBRARY_PATH java -jar java/dist/lib/HelloEigen.jar
Shell
#!/bin/bash #javac HelloWorld.java cd java && ant
Shell
javah -jni -classpath build com.theveganrobot.cmake.HelloEigen
Shell
#this generates an ant based cli build of the android-jni project android update project --name HelloGL2 \ --path .
Shell
#!/bin/sh #this generates an ant based cli build of the android-jni project android update project --name hello-android-cmake \ --path .
Shell
#! /bin/bash # Binary of the Texturepacker: TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker # Shared Spritesheet-Output-Definitions: SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/" SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets" SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src...
Shell
#!/bin/sh # MegaMek - # Copyright (C) 2005 Ben Mazur (bmazur@sev.org) # # 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 the Free # Software Foundation; either version 2 of the License, or (at your option) # any l...
Shell
#!/bin/sh # MegaMek - # Copyright (C) 2005 Ben Mazur (bmazur@sev.org) # # 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 the Free # Software Foundation; either version 2 of the License, or (at your option) # any l...
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/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 # Binary of the Texturepacker: TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker # Shared Spritesheet-Output-Definitions: SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/" SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets" SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src...
Shell
#!/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
#!/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
wget "http://aamap.110mb.com/animator/onlypaths/js/onlypaths.js" wget "http://aamap.110mb.com/animator/onlypaths/js/svgrenderer.js" wget "http://aamap.110mb.com/animator/onlypaths/js/vmlrenderer.js"
Shell
wget "http://aamap.110mb.com/animator/onlypaths/js/onlypaths.js" wget "http://aamap.110mb.com/animator/onlypaths/js/svgrenderer.js" wget "http://aamap.110mb.com/animator/onlypaths/js/vmlrenderer.js"
Shell
cp ../js/datastore.js js/datastore.js cp ../js/ext/ux/Ext.ux.clone.js js/Ext.ux.clone.js cp ../js/drawing/vectoreditor/raphael.js js/raphael.js cp ../js/drawing/wrapper_core.js js/wrapper_core.js cp ../js/drawing/view_wrapper.js js/view_wrapper.js cp ../js/animation/tween_core.js js/tween_core.js
Shell
#!/bin/bash # Copyright (C) 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...
Shell