code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh ./autogen.sh --prefix=/home/paul/openmoko/accelges/build
Shell
#!/bin/sh
Shell
#!/bin/sh # Runs gesm on Neo FreeRunner for bottom accelerometer exec gesm --neo3 --config /etc/accelges/neo3/ --gui
Shell
#!/bin/sh export GESM_PATH=../../gesm export CONFIG_PATH=../../config/wii # RIGHT $GESM_PATH/gesm --sim $CONFIG_PATH/right_train_1.accel --config $CONFIG_PATH --new right.model $GESM_PATH/gesm --sim $CONFIG_PATH/right_train_2.accel --config $CONFIG_PATH --train right.model $GESM_PATH/gesm --sim $CONFIG_PATH/right_...
Shell
#!/bin/sh export SERVER_NAME=google.ro export ACCELS_DIR=~/accels-$USERNAME-$RANDOM echo "(C) 2008 Openmoko Inc. Paul-Valentin Borza <paul@borza.ro>" echo echo "Call for Help: Training of Gestures" echo " You'll have to make several gestures, and your recorded" echo " accelerations will be uploaded to '$SERVER_NAME...
Shell
#!/bin/sh export GESM_PATH=../../gesm export CONFIG_PATH=../../config/wii # RIGHT $GESM_PATH/gesm --sim $CONFIG_PATH/right_train_1.accel --config $CONFIG_PATH --new right.model $GESM_PATH/gesm --sim $CONFIG_PATH/right_train_2.accel --config $CONFIG_PATH --train right.model $GESM_PATH/gesm --sim $CONFIG_PATH/right_...
Shell
#!/bin/sh export GESM_PATH=../../gesd export CONFIG_PATH=../../config/wii export CONFIG_FILE=wii.cfg # RIGHT $GESM_PATH/gesd --sim $CONFIG_PATH/right_test_1.accel --config $CONFIG_PATH/$CONFIG_FILE --no-dbus $GESM_PATH/gesd --sim $CONFIG_PATH/right_test_2.accel --config $CONFIG_PATH/$CONFIG_FILE --no-dbus $GESM_PA...
Shell
#!/bin/sh
Shell
#!/bin/sh # Runs gesm on Neo FreeRunner for bottom accelerometer exec gesm --neo3 --config /etc/accelges/neo3/ --gui
Shell
#!/bin/sh # Runs gesm on Neo FreeRunner for top accelerometer exec gesm --neo2 --config /etc/accelges/neo2/ --gui
Shell
#!/bin/sh export SERVER_NAME=google.ro export ACCELS_DIR=~/accels-$USERNAME-$RANDOM echo "(C) 2008 Openmoko Inc. Paul-Valentin Borza <paul@borza.ro>" echo echo "Call for Help: Training of Gestures" echo " You'll have to make several gestures, and your recorded" echo " accelerations will be uploaded to '$SERVER_NAME...
Shell
#!/bin/sh export GESM_PATH=../../gesd export CONFIG_PATH=../../config/wii export CONFIG_FILE=wii.cfg # RIGHT $GESM_PATH/gesd --sim $CONFIG_PATH/right_test_1.accel --config $CONFIG_PATH/$CONFIG_FILE --no-dbus $GESM_PATH/gesd --sim $CONFIG_PATH/right_test_2.accel --config $CONFIG_PATH/$CONFIG_FILE --no-dbus $GESM_PA...
Shell
#!/bin/sh # Runs gesm on Neo FreeRunner for top accelerometer exec gesm --neo2 --config /etc/accelges/neo2/ --gui
Shell
#!/bin/sh autoreconf -v --force --install || exit 1 ./configure --enable-maintainer-mode "$@"
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 TARGET=$1 PWD=$(pwd) PROJECT_NAME=$(cat build.xml | grep "project name" | awk -F"\"" '{print $2}') VERSION_NAME=$(cat AndroidManifest.xml | grep "versionName" | awk -F"\"" '{print $2}') VERSION_NAME=$(cat local.properties | grep "version.name" | awk -F"=" '{print $2}') VERSION_CODE=$(cat local.properties | g...
Shell
#!/bin/sh # Bash compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. # # This script does not actually "compile" the source, but writes a # shell script that will function as the executable: when called, it # will execute the source with the correct interpreter syntax, thus # allowing ...
Shell
#!/bin/sh # Java compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. # # This script compiles a statically linked binary with gcj. In # addition, it removes some warnings that gcj generates by default # with static compilation. These warnings have confused teams in the # past. SOURCE=...
Shell
#!/bin/sh # C# compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. # # This script byte-compiles with the GNU mono compiler and generates # a shell script to run it with the mono CLI code generator later. # # NOTICE: this compiler script cannot be used with the USE_CHROOT # configurati...
Shell
#!/usr/bin/env bash # Script to test (run and compare) submissions with a single testcase # # $Id: testcase_run.sh 3026 2009-12-05 16:25:51Z eldering $ # Usage: $0 <testdata.in> <testdata.out> <timelimit> <workdir> # [<special-run> [<special-compare>]] # # <testdata.in> File containing test-input. # <te...
Shell
#!/bin/sh # Java compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. SOURCE="$1" DEST="$2" MAINCLASS="" TMPFILE=`mktemp /tmp/domjudge_gcj_output.XXXXXX` || exit 1 # Byte-compile: # -Wall: Report all warnings gcj -d . -Wall -C "$SOURCE" 2> "$TMPFILE" EXITCODE=$? if [ "$EXITCODE" -...
Shell
#!/bin/sh # $Id: run 3151 2010-02-27 14:56:01Z eldering $ # Run wrapper-script called from 'testcase_run.sh'. # See that script for more info. # # Usage: $0 <program> <testin> <output> <error> <exitfile> # # <program> Executable of the program to be run. # <testin> File containing test-input. # <output> File w...
Shell
#!/bin/sh # C compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. SOURCE="$1" DEST="$2" # -Wall: Report all warnings # -O2: Level 2 optimizations (default for speed) # -static: Static link with all libraries # -pipe: Use pipes for communication between stages of compilation # -lm: ...
Shell
#!/bin/sh # Awk compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. # # This script does not actually "compile" the source, but writes a # shell script that will function as the executable: when called, it # will execute the source with the correct interpreter syntax, thus # allowing t...
Shell
#!/usr/bin/env bash # Script to compile submissions. # # $Id: compile.sh 3026 2009-12-05 16:25:51Z eldering $ # Usage: $0 <ext> <lang> <workdir> # # <ext> Extension of the source: <workdir>/compile/source.<ext> # <lang> Language of the source, see config-file for details. # <workdir> Ba...
Shell
#!/bin/sh # Python compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. # # This script does not actually "compile" the source, but writes a # shell script that will function as the executable: when called, it # will execute the source with the correct interpreter syntax, thus # allowin...
Shell
#!/bin/sh # Java compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. # # This script byte-compiles with the Sun javac compiler and generates # a shell script to run it with the java interpreter later. # # NOTICE: this compiler script cannot be used with the USE_CHROOT # configuration o...
Shell
#!/bin/sh # Perl compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. # # This script does not actually "compile" the source, but writes a # shell script that will function as the executable: when called, it # will execute the source with the correct interpreter syntax, thus # allowing ...
Shell
#!/bin/sh # Psacal compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. SOURCE="$1" DEST="$2" # -viwn: Verbose warnings, notes and informational messages # -02: Level 2 optimizations (default for speed) # -Sg: Support label and goto commands (for those who need it ;-) # -XS: Static...
Shell
#!/bin/sh # Haskell compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. SOURCE="$1" DEST="$2" # -Wall: Report all warnings # -O: Optimize # -static: Static link Haskell libraries # -optl-static: Pass '-static' option to the linker ghc -Wall -O -static -optl-static -o $DEST $SOURCE e...
Shell
#!/bin/sh # $Id: check_diff.sh 1908 2007-11-25 11:11:20Z sdrongel $ # Simple program for compare_program.sh script: this just runs a diff # comparison between the program and expected output. Should give same # results as the default compare.sh script. # # Additional options to diff can be passed here, like: # -i ...
Shell
#!/bin/sh # $Id: chroot-startstop.sh 3209 2010-06-12 00:13:43Z eldering $ # Script to setup chroot environment extras needed for Sun Java. # # Configure the use of this script in 'etc/judgehost-config.php' when # using the chroot environment and Sun Java compiler/interpreter and # adapt this script to your environment...
Shell
#!/bin/sh # Java compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. # # This script compiles a statically linked binary with gcj. SOURCE="$1" DEST="$2" # -Wall: Report all warnings # -O2: Level 2 optimizations (default for speed) # -static: Static link with all libraries # -pipe: U...
Shell
#!/bin/sh # Java compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. # # This script byte-compiles with the Oracle (Sun) javac compiler and # generates a shell script to run it with the java interpreter later. # It autodetects the main class name and optionally renames the source # fil...
Shell
#!/bin/sh # Java compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. # # This script byte-compiles with the Oracle (Sun) javac compiler and # generates a shell script to run it with the java interpreter later. # It autodetects the main class name and optionally renames the source # fil...
Shell
#!/usr/bin/env bash # Script to compile submissions. # # $Id: compile.sh 3026 2009-12-05 16:25:51Z eldering $ # Usage: $0 <ext> <lang> <workdir> # # <ext> Extension of the source: <workdir>/compile/source.<ext> # <lang> Language of the source, see config-file for details. # <workdir> Ba...
Shell
#!/bin/sh # C++ compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. SOURCE="$1" DEST="$2" # -Wall: Report all warnings # -O2: Level 2 optimizations (default for speed) # -static: Static link with all libraries # -pipe: Use pipes for communication between stages of compilation g++ -W...
Shell
#!/bin/sh # $Id: compare_program.sh 3216 2010-06-20 03:58:23Z eldering $ # Compare wrapper-script to be called from 'testcase_run.sh'. # # This script is written to comply with the ICPC Validator Interface Standard # as described in http://www.ecs.csus.edu/pc2/doc/valistandard.html. # # Usage: $0 <testdata.in> <progra...
Shell
#!/bin/sh # Java compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. # # This script byte-compiles with the Oracle (Sun) javac compiler and # generates a shell script to run it with the java interpreter later. # It autodetects the main class name and optionally renames the source # fil...
Shell
#!/bin/sh # Java compile wrapper-script for 'compile.sh'. # See that script for syntax and more info. # # This script byte-compiles with the Sun javac compiler and generates # a shell script to run it with the java interpreter later. # # NOTICE: this compiler script cannot be used with the USE_CHROOT # configuration o...
Shell
#!/bin/sh # $Id: alert 3302 2010-08-09 18:39:20Z eldering $ # This script will be called by different parts of the DOMjudge system # and allows the administrator to flexibly configure a way to get # notified of important messages. By default this script calls 'beep' # if available. # Calling syntax: $0 <msgtype> [<de...
Shell
# Error handling and logging functions # # $Id: lib.error.sh 2649 2009-04-10 15:17:02Z eldering $ # Loglevels (as defined in syslog.h) LOG_EMERG=0 LOG_ALERT=1 LOG_CRIT=2 LOG_ERR=3 LOG_WARNING=4 LOG_NOTICE=5 LOG_INFO=6 LOG_DEBUG=7 # Default verbosity and loglevels: VERBOSE=$LOG_NOTICE LOGLEVEL=$LOG_DEBUG logmsg () { ...
Shell
#!/bin/sh # $Id: gendbpasswords 2916 2009-10-16 18:21:19Z eldering $ # Script to generate database passwords. Passwords will be written to stdout, # you can redirect stdout to etc/dbpasswords.secret # Exit on any error: set -e echo "# Format: '<role>:<db_host>:<db_name>:<user>:<password>'" for group in team jury pub...
Shell
#!/bin/sh # Script to generate database passwords for secon db. Passwords will be written to stdout, # you can redirect stdout to etc/dbpasswords_db2.secret # Exit on any error: set -e echo "# Format: '<role>:<db_host>:<db_name>:<user>:<password>'" for group in teamz juryz publicz pluginz; do printf "$group:localho...
Shell
#!/bin/sh # This script allows one to create new db DOMjudge: domjudge2. # See usage below for possible commands and options. set -e ETCDIR="/usr/local/domjudge/domserver/etc" PASSWDFILE="$ETCDIR/dbpasswords_db2.secret" ROLES='teamz juryz publicz pluginz' # Wrapper around mysql command to allow settings options, u...
Shell
#!/bin/sh # Generated from 'dj-setup-database.in' on mar jun 14 15:08:50 COT 2011. # $Id: dj-setup-database.in 3302 2010-08-09 18:39:20Z eldering $ # This script allows one to perform DOMjudge database setup actions. # See usage below for possible commands and options. #***** ETCDIR SQLDIR PUEDEN VARIAR SI SE CA...
Shell
#!/bin/sh # $Id: submit_copy.sh 2665 2009-05-01 23:18:14Z eldering $ # Script to copy a submission file from a team to judge account. # Usage: $0 <team> <fromfile> <tofile> # # Where <team> is the account of the team and <fromfile> and <tofile> # are including full absolute path. # # This script will depend very much ...
Shell
#!/bin/sh # $Id: alert 3302 2010-08-09 18:39:20Z eldering $ # This script will be called by different parts of the DOMjudge system # and allows the administrator to flexibly configure a way to get # notified of important messages. By default this script calls 'beep' # if available. # Calling syntax: $0 <msgtype> [<de...
Shell
#!/bin/bash # # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
Shell
#!/bin/sh 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 timidity $1 -Ov -o $1.ogg
Shell
#!/bin/bash timidity $1 -Ov -o $1.ogg
Shell
#!/bin/bash # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
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 # PGRFlyCapture and OpenCV, both compiled with Intel's Compiler, # do not play nice with each other... KMP_DUPLICATE_LIB_OK=TRUE export $KMP_DUPLICATE_LIB_OK # Required option for full-screen support under Mac OS X OPTIONS=-Dapple.awt.fullscreencapturealldisplays=false # Not all video drivers support OpenG...
Shell
#!/bin/sh # PGRFlyCapture and OpenCV, both compiled with Intel's Compiler, # do not play nice with each other... KMP_DUPLICATE_LIB_OK=TRUE export $KMP_DUPLICATE_LIB_OK # Required option for full-screen support under Mac OS X OPTIONS=-Dapple.awt.fullscreencapturealldisplays=false # Not all video drivers support OpenG...
Shell
#!/bin/sh # PGRFlyCapture and OpenCV, both compiled with Intel's Compiler, # do not play nice with each other... KMP_DUPLICATE_LIB_OK=TRUE export $KMP_DUPLICATE_LIB_OK # Required option for full-screen support under Mac OS X OPTIONS=-Dapple.awt.fullscreencapturealldisplays=false # Not all video drivers support OpenG...
Shell