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
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/ksh -v
java -version
javac TestJavaClient/Main.java
javac TestJavaClient/ComboLegDlg.java
java TestJavaClient.Main
| Shell |
#!/bin/ksh -v
java -version
javac TestJavaClient/Main.java
javac TestJavaClient/ComboLegDlg.java
java TestJavaClient.Main
| Shell |
ss=`wc -l wcoutput`
for word in $ss
do
lines=$word
break;
done
ss=`tail -n 1 wcoutput`
i=0;
for word in $ss
do
i=$((i+1));
if [ $i -eq 1 ]
then
wkcls=$word
fi
if [ $i -eq 2 ]
then
totEps=$word
break
fi
done
src=-1;
testPts=$1;
echo "Total lines in file: $lines"
echo "Total epochs: $totEp... | Shell |
g++ -c *.cpp
ar rvs libalglib.a *.o
| Shell |
fin="wcOutput"
ss=`wc -l $fin`
for word in $ss
do
lines=$word
break;
done
ss=`tail -n 1 $fin`
i=0;
for word in $ss
do
i=$((i+1));
if [ $i -eq 1 ]
then
wkcls=$word
fi
if [ $i -eq 2 ]
then
totEps=$((word+1))
break
fi
done
src=-1;
testPts=$1;
c2c=$2
echo "Total lines in file: $lines"
echo... | Shell |
ss=`wc -l wcoutput`
for word in $ss
do
lines=$word
break;
done
echo "Total lines in file: $lines"
src=-1;
testPts=36;
for (( i=$testPts; i<=$lines; i+=$testPts))
do
if [ $src -eq 33 ]
then
src=-1
fi
echo "Source $((src+=1))"
head -n $i wcOutput | tail -n $testPts | awk '{print $6-1"\t"$4}' | ../perf... | Shell |
#!/bin/bash
export BOAR_CACHEDIR=`mktemp --tmpdir=/tmp/ -d "boar_tests_cache_XXXXX"`
export BOAR_SERVER_CLI="`pwd`/boar"
test -e run_tests.sh || { echo "This command must be executed in the boar installation top dir"; exit 1; }
test ! -e cdedup.so || { echo "ERROR: dedup module must not be installed for these tests";... | Shell |
# Test that cloning of truncated repo works as expected
$BOAR mkrepo TESTREPO || exit 1
$BOAR mksession --repo=TESTREPO TestSession || exit 1
$BOAR --repo=TESTREPO co TestSession || exit 1
$BOAR mksession --repo=TESTREPO AnotherTestSession || exit 1
$BOAR --repo=TESTREPO co AnotherTestSession || exit 1
echo "Rev 2" >... | Shell |
cp -n $BOARTESTHOME/test_tree.tar.gz . || exit 1
cp -n $BOARTESTHOME/test_tree.md5 . || exit 1
cp -n $BOARTESTHOME/test_tree_addition.tar.gz . || exit 1
cp -n $BOARTESTHOME/test_tree_addition.md5 . || exit 1
export REPO="`pwd`/TESTREPO"
export CLONE="${REPO}_CLONE"
echo --- Test mkrepo, mksession and import
tar -xvz... | Shell |
set -e
$BOAR mkrepo TESTREPO || exit 1
$BOAR --repo=TESTREPO mksession "Session" || exit 1
$BOAR --repo=TESTREPO co "Session" || exit 1
cat >modify_open_raw.py <<"EOF"
def send_file_hook_modify(filename):
assert filename.endswith("avocado.txt")
with open(filename, "wb") as f:
f.write("avoCado")
workdir... | Shell |
TESTDIR="`pwd`"
REPO=$TESTDIR/DEDUPREPO
$BOAR mkrepo $REPO || exit 1
$BOAR --repo=$REPO mksession Session || exit 1
mkdir Tree || exit 1
touch Tree/tjosan
touch Tree/räksmörgås
python -c "open('Tree/illegal\xa0\xa1', 'w')" || exit 1
#python -c "import os; print os.listdir(u'Tree')" || exit 1
$BOAR import --repo=$REPO... | Shell |
set -e
$BOAR ci | grep "ERROR: This directory is not a boar workdir" || { echo "Ci with no args should give usage information"; exit 1; }
export REPO_PATH=CI_TEST_REPO
$BOAR mkrepo $REPO_PATH || exit 1
$BOAR mksession Test || exit 1
$BOAR co Test
echo "Some data" >Test/file.txt || exit 1
echo --- Test normal ci
cat ... | Shell |
# Test that the cat command behaves as expected.
export REPO_PATH=`pwd`/TESTREPO
$BOAR mkrepo $REPO_PATH || exit 1
$BOAR mksession --repo=$REPO_PATH RäksmörgåsSession || exit 1
$BOAR co RäksmörgåsSession || exit 1
echo "Rev 2" >RäksmörgåsSession/r2.txt || exit 1
echo "Modified rev 2" >RäksmörgåsSession/modified.txt |... | Shell |
#!/bin/bash
# Test concurrent commits
# The idea of this test is to see what happens when another commit is
# made while an earlier commit is still in progress. We do this by
# starting one commit, pause the process while it is in the middle of
# things, then try to make another commit. The expected behaviour is
# th... | Shell |
if [ "$BOAR_SKIP_DEDUP_TESTS" == "1" ]; then
echo "Skipping due to BOAR_SKIP_DEDUP_TESTS"
exit 0
fi
TESTDIR="`pwd`"
REPO=$TESTDIR/DEDUPREPO
CLONE=$TESTDIR/DEDUPCLONE
BIGFILE=$TESTDIR/bigfile.bin
mkrandfile.py 0 1000000 $BIGFILE || exit 1
md5sum -c <<EOF || exit 1
d978f6138c52b8be4f07bbbf571cd450 $BIGFILE
EOF
... | Shell |
#!/bin/bash
#for i in {1..10}; do ./performance.sh >>performance_log.txt; done
if test -z "$TMP"; then
echo "You must set \$TMP before running this script"
exit 1
fi
boar=~+/`dirname $0`/../boar
macrotests=~+/`dirname $0`/
testdir="$TMP/boarperf_tmp$$"
test_tree=$1
# randtree.py test_tree 10 1000 1000000000 ... | Shell |
#
# Issue 105: Too restrictive permissions on session folders
#
# Just make sure that everything works as expected before we start the
# actual test
(umask 0000 && touch test.txt) || exit 1
if [ `stat -c '%A' test.txt` != "-rw-rw-rw-" ]; then
echo "Unexpected permissions"
exit 1
fi
# Test a very permissive ma... | Shell |
# Test for regression issues with repo and workdir format from
# boar-daily.11-Jul-2011 (repository format version v0).
testdir="`pwd`"
tar xzf $BOARTESTHOME/regression-boar-daily.11-Jul-2011.tar.gz || exit 1
REPO=$testdir/regression-boar-daily.11-Jul-2011/TESTREPO
NOPENDINGREPO=$testdir/regression-boar-daily.11-Jul-2... | Shell |
# Test that the verify command detects corruptions
set -e
$BOAR mkrepo TESTREPO || exit 1
$BOAR mksession --repo=TESTREPO TestSession || exit 1
$BOAR co --repo=TESTREPO TestSession || exit 1
echo "Rev 2" >TestSession/r2.txt || exit 1
(cd TestSession && $BOAR ci -q) || exit 1
rm TestSession/r2.txt || exit 1
echo "Rev... | Shell |
# Test that the list command works
$BOAR mkrepo TESTREPO || exit 1
$BOAR mksession --repo=TESTREPO TestSession || exit 1
$BOAR --repo=TESTREPO co TestSession || exit 1
$BOAR mksession --repo=TESTREPO AnotherTestSession || exit 1
$BOAR --repo=TESTREPO co AnotherTestSession || exit 1
echo "Rev 2" >TestSession/r2.txt ||... | Shell |
# Test that a workdir belonging to a deleted snapshot works as
# expected.
set -e
$BOAR mkrepo TESTREPO || exit 1
touch TESTREPO/ENABLE_PERMANENT_ERASE || exit 1
$BOAR mksession --repo=TESTREPO TestSession || exit 1
$BOAR --repo=TESTREPO co TestSession || exit 1
cat >workdir_original_contents.txt <<EOF
repo_deleted.t... | Shell |
# Test that the clone command behaves as expected.
$BOAR mkrepo TESTREPO || exit 1
$BOAR mksession --repo=TESTREPO TestSession || exit 1
$BOAR --repo=TESTREPO co TestSession || exit 1
echo "Rev 2" >TestSession/r2.txt || exit 1
(cd TestSession && $BOAR ci -q -m"Log message uno" ) || exit 1
rm TestSession/r2.txt || ex... | Shell |
# Test for regression issues with repo and workdir format from
# repository format version v1.
testdir="`pwd`"
tar xzf $BOARTESTHOME/regression-v1.tar.gz || exit 1
REPO=$testdir/regression-v1/TESTREPO
cd regression-v1/workdir
# Relocate the workdir pointer to the repo. Also, since the test data
# contains a half-fin... | Shell |
# Test for regression issues with repo and workdir format from
# repository format version v2.
testdir="`pwd`"
tar -xzf $BOARTESTHOME/regression-v2.tar.gz || exit 1
REPO=$testdir/regression-v2/TESTREPO
cat >expected.txt <<EOF
NOTICE: Old repo format detected. Upgrading...
!Checking out to workdir .*/TestSession
atten... | Shell |
# Test that it compiles and some very basic operations. Convenient to
# have as the very first test.
$BOAR --version || exit 1
$BOAR mkrepo TESTREPO || exit 1
$BOAR --repo=TESTREPO ls || exit 1
true
| Shell |
set -e
$BOAR import | grep "Usage: boar import" || { echo "Import with no args should give usage information"; exit 1; }
export REPO_PATH=IMPORT_TEST_REPO
$BOAR mkrepo $REPO_PATH || exit 1
$BOAR mksession TestSession || exit 1
mkdir Import || exit 1
echo "Some data" >Import/file.txt || exit 1
echo --- Test dry-run i... | Shell |
echo --- Test basic command line behaviour
$BOAR && { echo "Missing command should give an error code"; exit 1; }
($BOAR | grep "Commands:" >/dev/null ) || { echo "Missing subcommand did not yield help"; exit 1; }
($BOAR --help | grep "Commands:" >/dev/null ) || { echo "No subcommand did not yield help"; exit 1; }
$BO... | Shell |
# Test that the co command behaves as expected.
export REPO_PATH=`pwd`/TESTREPO
$BOAR mkrepo $REPO_PATH || exit 1
$BOAR mksession --repo=$REPO_PATH TestSessionCo || exit 1
cat >expected.txt <<EOF
!Checking out to workdir .*/TestSessionCo
!Finished in .* seconds
EOF
$BOAR co TestSessionCo >output.txt 2>&1 || { cat out... | Shell |
# Test that several processes can work with the repository concurrently.
set -e
$BOAR mkrepo TESTREPO || exit 1
dotest()
{
SESSION=$1
$BOAR mksession --repo=TESTREPO $SESSION || exit 1
$BOAR co --repo=TESTREPO $SESSION || exit 1
for i in {1..10}; do
echo "$SESSION PID=$$ commit ${i} here" >$SESSION/c... | Shell |
# Test that the log command behaves as expected.
set -e
$BOAR mkrepo TESTREPO || exit 1
$BOAR mksession --repo=TESTREPO TestSession || exit 1
$BOAR --repo=TESTREPO co TestSession || exit 1
echo "contents1" >TestSession/modified.txt || exit 1
echo "contents2" >TestSession/deleted.txt || exit 1
(cd TestSession && $BOAR ... | Shell |
BOAR=$1
REPO=$2
CLONE=`mktemp -u EXCERCISE_CLONE_XXXX`
prefix="Repo excerciser:"
REPO_PATH=$REPO $BOAR verify || { echo $prefix "Verify failed"; exit 1; }
REPO_PATH=$REPO $BOAR ls || { echo $prefix "Ls failed"; exit 1; }
REPO_PATH=$REPO $BOAR list -m || { echo $prefix "List -m failed"; exit 1; }
REPO_PATH=$REPO $BOAR ... | Shell |
# Test that the truncate command behaves as expected.
set -e
$BOAR mkrepo TESTREPO || exit 1
$BOAR mksession --repo=TESTREPO TestSession || exit 1
$BOAR --repo=TESTREPO co TestSession || exit 1
$BOAR mksession --repo=TESTREPO AnotherTestSession || exit 1
$BOAR --repo=TESTREPO co AnotherTestSession || exit 1
echo "Rev... | Shell |
# Test that cloning of legacy repo with some quirks (meta sessions,
# legal missing snapshots) works as expected.
testdir="`pwd`"
tar xzf $BOARTESTHOME/truncate_regression_v0.tar.gz || exit 1
REPO=$testdir/TESTREPO
rm -r $REPO/sessions/2
cat <<EOF >expected_original_dump.txt
[1, null, "Test", "d41d8cd98f00b204e980099... | Shell |
export REPO_PATH="`pwd`/TESTREPO"
$BOAR mkrepo $REPO_PATH || exit 1
cat >expected_duplicate_msg.txt <<EOF
ERROR: There already exists a session named 'SimpleSession'
!Finished in .* seconds
EOF
$BOAR mksession SimpleSession || { echo "mksession for simple name failed"; exit 1; }
$BOAR mksession SimpleSession && { ec... | Shell |
set -e
export REPO_PATH=REBALANCE_TEST_REPO
$BOAR mkrepo $REPO_PATH || exit 1
$BOAR mksession TestSession || exit 1
mkdir Import || exit 1
echo f1 >Import/f1.txt || exit 1
echo f2 >Import/f2.txt || exit 1
echo f3 >Import/f3.txt || exit 1
echo "Importing..."
$BOAR import -w Import TestSession || exit 1
# Created rev... | Shell |
# Test that the truncate command behaves as expected.
if [[ "$BOAR_TEST_REMOTE_REPO" == "1" || "$BOAR_TEST_REMOTE_REPO" == "2" ]]; then
# This test requires code injection on the server side. Hard to do.
exit 0
fi
$BOAR mkrepo TESTREPO || exit 1
$BOAR mksession --repo=TESTREPO TestSession || exit 1
$BOAR --re... | Shell |
#!/bin/bash
# Test option to ignore errors during import
# Test for simple unreadable file
mkdir workdir || exit 1
echo "file1" >workdir/file.txt || exit 1
echo "file2" >workdir/file_unreadable.txt || exit 1
chmod a-r workdir/file_unreadable.txt || exit 1
$BOAR mkrepo TESTREPO || exit 1
$BOAR --repo=TESTREPO mksessio... | Shell |
#!/bin/bash
# Test co and update for offset workdirs.
mkdir workdir || exit 1
echo >workdir/file1.txt || exit 1
mkdir workdir_longer || exit 1
echo >workdir_longer/file2.txt || exit 1
$BOAR mkrepo TESTREPO || exit 1
$BOAR --repo=TESTREPO mksession "a" || exit 1
$BOAR --repo=TESTREPO import -w workdir "a/workdir" || e... | Shell |
set -e
$BOAR mkrepo TESTREPO || exit 1
$BOAR --repo=TESTREPO mksession "Session1" || exit 1
$BOAR --repo=TESTREPO mksession "Session2" || exit 1
$BOAR --repo=TESTREPO co "Session1" || exit 1
$BOAR --repo=TESTREPO co "Session2" || exit 1
echo "Some identical content" >data.txt || exit 1
cp data.txt Session1/data1.txt |... | Shell |
#!/bin/bash
# Test concurrent commits
TESTREPO="`pwd`/TESTREPO"
TESTDIR=`pwd`
$BOAR mkrepo $TESTREPO || exit 1
$BOAR --repo=$TESTREPO mksession "TestSession" || exit 1
$BOAR --repo=$TESTREPO co TestSession wd1 || exit 1
mkdir wd1/subdir || exit 1
echo "Content 1" >wd1/subdir/file.txt || exit 1
echo "Content 2" >wd1/d... | Shell |
#!/bin/bash
# Copyright 2010 Mats Ekberg
#
# 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 i... | Shell |
if [ "$BOAR_SKIP_DEDUP_TESTS" == "1" ]; then
echo "Skipping due to BOAR_SKIP_DEDUP_TESTS"
exit 0
fi
TESTDIR="`pwd`"
REPO=$TESTDIR/reciperepo
BIGFILE=$TESTDIR/bigfile.bin
mkrandfile.py 0 1000000 $BIGFILE || exit 1
md5sum -c <<EOF || exit 1
d978f6138c52b8be4f07bbbf571cd450 $BIGFILE
EOF
mkrandfile.py 0 1000000... | Shell |
# Test that the truncate command behaves as expected.
set -e
$BOAR mkrepo TESTREPO || exit 1
$BOAR mksession --repo=TESTREPO TestSession || exit 1
$BOAR --repo=TESTREPO co TestSession || exit 1
$BOAR mksession --repo=TESTREPO AnotherTestSession || exit 1
$BOAR --repo=TESTREPO co AnotherTestSession || exit 1
echo "Rev... | Shell |
set -e
export REPO_PATH=MANIFEST_TEST_REPO
$BOAR mkrepo $REPO_PATH || exit 1
$BOAR mksession TestSession || exit 1
mkdir Import || exit 1
echo -- Testing simple case happy path
echo "avocado" >Import/file.txt || exit 1
cat >Import/manifest-md5.txt <<EOF
c6f3a2db52a478d9d00fd1059dac6e0a file.txt
EOF
cat >expected.... | Shell |
#!/bin/bash
cat <<EOF
This is a very simple bare-bones Boar manifest verifier. It is
intended as a minimal example on how to begin to write your own
verifier. It is not tested and is likely to break with strange error
messages.
Usage: simple-verify-manifest.sh <repository> <manifest blob id>
EOF
REPO=$1
MANIFEST=... | Shell |
#!/bin/bash
fail()
{
echo -n "Failure at line ";
caller
exit 1;
}
VMCMD=`pwd`/verify-manifests.py
TESTDIR=`mktemp -d`
REPO="$TESTDIR/TESTREPO"
REALBOAR=`which boar`
export PATH="$TESTDIR:$PATH"
echo "Test directory is $TESTDIR"
cd $TESTDIR
$VMCMD --help || { echo "Simple --help failed"; fail; }
mkd... | Shell |
#!/bin/bash
export BOAR_CACHEDIR=`mktemp --tmpdir=/tmp/ -d "boar_tests_cache_XXXXX"`
export BOAR_SERVER_CLI="`pwd`/boar"
test -e run_tests.sh || { echo "This command must be executed in the boar installation top dir"; exit 1; }
test -e cdedup.so || { echo "ERROR: dedup module unavailable"; exit 1; }
#
# Test with de... | Shell |
#!/bin/bash
# $Id$
# generates dependancy information for c files for make files.
gcc -MM -MG "$@" | sed -e 's@^\(.*\)\.o:@\1.d \1.o:@'
| Shell |
#!/bin/bash
# $Id: depend.sh 40 2013-02-10 11:26:56Z chris.charles.allison@gmail.com $
# generates dependancy information for c files for make files.
gcc -MM -MG "$@" | sed -e 's@^\(.*\)\.o:@\1.d \1.o:@'
| Shell |
#!/bin/sh
# After initial checkout from svn, you'll want to run this as your first step.
android update project --path . --target "android-14"
| Shell |
#!/bin/sh
scp -q res/values/strings.xml linode:ath/incoming/en.xml
wget --quiet -O /dev/null --ignore-length --post-data="" http://ath.darshancomputing.com/bi/load_new_en
if [ "$?" -ne "0" ]; then
echo "Sorry, something didn't work!"
exit 1
fi
| Shell |
#!/bin/bash
#ruby generate_images.rb
#for i in res/drawable/b[0-9]*.png; do mogrify -resize 25x25 $i; done
#gimp res/drawable/b100.png
#for i in res/drawable/*.png; do mogrify -sharpen 25x25 $i; done
# shift ("roll") images 1px to the right
# for i in numbers/*.png; do convert $i -roll +1+0 $i; done
d=`dirname $(rea... | 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
# 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-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
# 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
# START-COMMIT HOOK
#
# The start-commit hook is invoked immediately after a Subversion txn is
# created and populated with initial revprops 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 fi... | 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-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
# 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-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-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
# START-COMMIT HOOK
#
# The start-commit hook is invoked immediately after a Subversion txn is
# created and populated with initial revprops 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 fi... | 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-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
# 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-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
# 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-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
# 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
# START-COMMIT HOOK
#
# The start-commit hook is invoked immediately after a Subversion txn is
# created and populated with initial revprops 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 fi... | 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-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
# 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-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-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
# START-COMMIT HOOK
#
# The start-commit hook is invoked immediately after a Subversion txn is
# created and populated with initial revprops 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 fi... | 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-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
# 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/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
cd ../media/src
# DEFAULTS
CLOSURE="/usr/local/closure_compiler/compiler.jar"
JSDOC="/usr/local/jsdoc/jsdoc"
CMD=$1
MAIN_FILE="../js/jquery.dataTables.js"
MIN_FILE="../js/jquery.dataTables.min.js"
VERSION=$(grep " * @version " DataTables.js | awk -F" " '{ print $3 }')
echo ""
echo " DataTables build ... | Shell |
#!/bin/sh
ENABLE=$1
echo ""
echo " DataTables unit tests"
echo ""
if [ ! "$ENABLE" = "Enable" -a ! "$ENABLE" = "Disable" -o "ENABLE" = "-h" ]; then
echo " Enable or Disable must be given as the first argument."
echo " Optionally the second argument can be given as an integer to enable/disable a certain "
echo ... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.