code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/bash -x
if [ "$1" = "" ]; then
echo Give mechanism name
exit
fi
for f in `ls $1/*/ -d`
do
if [ -f $f/00000.png ]
then
echo $f already has pngs from avi
else
python log_images.py -d $f -c
fi
done
| Shell |
#!/bin/bash -x
if [ "$1" = "" ]; then
echo Give a mechanism name
exit
fi
if [ "$2" = "" ]; then
echo enter number of trials
exit
fi
A=`pwd`
mkdir $1
cd $1
if [ -f mechanism_info.pkl ]
then
echo You have already entered mechanism details for $1
else
python $A/initialise_experiment.py
fi
NME... | Shell |
#!/bin/bash -x
#
# Usage: ./annotate_multiple.sh <mechanism 1 directory> <directory 2> ...
#
ARGC=$#
if [ $ARGC = 0 ]; then
echo "Usage: ./annotate_multiple.sh <mechanism 1 directory> <directory 2> ..."
exit
fi
for d in $@
do
python annotate_images.py -d $d
done
| Shell |
#!/bin/bash -x
if [ "$1" = "" ]; then
echo Give mechanism name
exit
fi
A=`pwd`
#roslaunch sturm_kinematics.launch &
#sleep 30
#roslaunch modeling_forces checkerboard.launch &
#sleep 30
for f in `ls $1/0*/ -d`
do
if [ -f $f/poses_dict.pkl ]
then
echo $f already has poses from pngs
else
... | Shell |
#!/bin/bash -x
# uses avi_to_pngs.sh and pngs_to_pose_pkl.sh to go from avis to the
# pkls with force, mechanism angle etc. for multiple mechanisms.
#
# This script will take a very long time to run. You want to let it
# run overnight. (it can take longer than that too)
#
# Usage: ./avi_to_pkls_multiple_mechanism.sh... | Shell |
cd aggregated_pkls
rm -vf *open_open*
rm -vf *open_close*
rm -vf *close_open*
rm -vf *close_close*
cd ..
python mechanism_analyse_advait.py -d aggregated_pkls --rearrange
cd aggregated_pkls/HSI_kitchen_cabinet_right
mv *aaron* ../HSI_kitchen_cabinet_right_aaron/
mv *hai* ../HSI_kitchen_cabinet_right_hai/
mv *tiffany... | Shell |
#!/bin/bash
if [ "$1" = "" ]; then
echo Give an experiment number
exit
fi
mkdir $1
python ../handheld_hook/initialise_experiment.py
python collect_data.py
mv mechanism_info*.pkl poses_dict.pkl ft_log*.pkl spring_scale*.pkl $1
mv *.png $1
| Shell |
#!/bin/bash
#
# Copyright (c) 2009, Georgia Tech Research Corporation
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# ... | Shell |
#!/bin/bash
#
# Copyright (c) 2009, Georgia Tech Research Corporation
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# ... | Shell |
#!/bin/bash
dir=`rospack find hrl_head_tracking`/bag
rosrun hrl_head_tracking clickable_pc bag/kelsey_face_$1.bag bag/kelsey_face_$1.click
| Shell |
# /bin/bash
rosdep install phantom_omni
unzip OpenHapticsAE_Linux_v3_0.zip
#firefox http://dsc.sensable.com/3dtouch/OpenHaptics_Academic_linux/downloadFile.asp?file=3dtouch/OpenHapticsAE_Linux_v3_0.zip
sudo dpkg -i "OpenHapticsAE_Linux_v3_0/PHANTOM Device Drivers/32-bit/phantomdevicedrivers_4.3-3_i386.deb"
sudo dpkg -i... | Shell |
# /bin/bash
sudo modprobe raw1394
sudo chmod 666 /dev/raw1394
| Shell |
#!/bin/bash -x
rosbag record /adl_wrench_posearray /netft_gravity_zeroing/wrench_zeroed /netft_gravity_zeroing/wrench_markers /pr2_netft/wrench_raw /frame/ellipse_frame /frame/l_gripper_shaver45_frame /frame/torso_lift_link -O $1
| Shell |
#!/bin/bash -x
rosrun pr2_controller_manager pr2_controller_manager stop r_arm_controller
rosrun pr2_controller_manager pr2_controller_manager stop l_arm_controller
rosrun pr2_controller_manager pr2_controller_manager unload r_arm_controller
rosrun pr2_controller_manager pr2_controller_manager unload l_arm_controller
... | Shell |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| Shell |
#!/bin/bash
function usage()
{
echo "------------------------------------------------------------------"
echo "ALGTS Script Helper"
echo "------------------------------------------------------------------"
echo "Build a script from source, or do building and running in a single"
echo "commmand."
... | Shell |
#!/bin/bash
function usage()
{
echo "------------------------------------------------------------------"
echo "ALGTS Script Helper"
echo "------------------------------------------------------------------"
echo "Build a script from source, or do building and running in a single"
echo "commmand."
... | Shell |
#!/bin/bash
# Check for qt -------------------------------------------------------------
if [ -z "$QTDIR" ]; then
echo " QTDIR environment variable not set!"
echo -n " Checking for Qt..."
for d in /usr/{lib,share,qt}/{qt-4,qt4,qt,qt*,4} /usr; do
if test -x "$d/bin/qmake"; then
QTDIR=$... | Shell |
#!/bin/bash
# test-all.sh
if [[ $# == 1 && $1 == "clean" ]]; then
./test-codel.sh clean
./test-hlc.sh clean
./test-fifo.sh clean
./test-dynamic.sh clean
exit 0
fi
./test-codel.sh
./test-hlc.sh
./test-fifo.sh
./test-dynamic.sh
| Shell |
#!/bin/bash
# Generate a report as shown below, so that it's convenient to paste it into Excel
# The first block is average delay, the second is maximum delay, and the last is throughput
# Each row represnts a different level of congestion (ftp flows)
# 24 27 31 123 39 39 125 125 125
# 21 30 35 183 48 46 123 ... | Shell |
#!/bin/bash
# test-dynamic.sh
if [[ $# == 1 && $1 == "clean" ]]; then
rm -f dynamic-fifo.log
rm -f dynamic-codel.log
rm -f dynamic-codels.log
rm -f dynamic-hlc.log
rm -f link.tr
exit 0
fi
# 417 packets * 1.5 KB = 0.625 MB = 5 Mbit (50ms queue)
ns hl-codel.tcl 4 0 5 100Mb 5 40 1500 fifo 417 dyn... | Shell |
#!/bin/bash
# test-codel.sh
draw_progress_bar()
{
# Example:
# [> ] cur = 1, max = 3
# [-> ] ...
# [-->] cur = 3, max = 3
max=$1
cur=$2
desc=$3
# Restore cursor position
tput rc
echo -n "["
for ((i = 0; i < cur - 1; i++))
do
echo -n "-"
done
echo -n "... | Shell |
#!/bin/bash
# test-codel.sh
# Global setting (rtt): 10, 30, 50, 100, 150, 200, 300, 500
delay_=(1 2 4 5 5 5 5 5)
bdelay_=(3 11 17 40 65 90 140 240)
draw_progress_bar()
{
# Example:
# [> ] cur = 1, max = 3
# [-> ] ...
# [-->] cur = 3, max = 3
max=$1
cur=$2
desc=$3
# Restore cursor po... | Shell |
#!/bin/bash
# Generate a report as shown below, so that it's convenient to paste it into Excel
# The first block is average delay, the second is maximum delay, and the last is throughput
# Each row represnts a different level of congestion (ftp flows)
# 24 27 31 123 39 39 125 125 125
# 21 30 35 183 48 46 123 ... | Shell |
#!/bin/bash
# test-codel.sh
# Global setting (rtt): 10, 20, 40, 60, 80, 100, 150, 200, 250, 300, 400, 500
delay_=(1 2 4 5 5 5 5 5 5 5 5 5)
bdelay_=(3 6 12 20 30 40 65 90 115 140 190 240)
draw_progress_bar()
{
# Example:
# [> ] cur = 1, max = 3
# [-> ] ...
# [-->] cur = 3, max = 3
max=$1
cur=... | Shell |
#!/bin/bash
# test-dynamic.sh
if [[ $# == 1 && $1 == "clean" ]]; then
rm -f dynamic-fifo.log
rm -f dynamic-codel.log
rm -f dynamic-codels.log
rm -f dynamic-hlc.log
rm -f link.tr
exit 0
fi
# 417 packets * 1.5 KB = 0.625 MB = 5 Mbit (50ms queue)
ns hl-codel.tcl 4 0 5 100Mb 5 40 1500 fifo 417 dyn... | Shell |
#!/bin/bash
# Generate a report as shown below, so that it's convenient to paste it into Excel
# The first block 1 Mbps, 2nd block 4 Mbps, 3rd block 16 Mbps, and the last is 64 Mbps
# Each row represnts a different RTT
# 125 125 125 500 500 500 1992 1990 1997 7815 7797 7978
# 121 125 125 473 473 499 1842 18... | Shell |
#!/bin/bash
# test-all.sh
if [[ $# == 1 && $1 == "clean" ]]; then
./test-codel.sh clean
./test-hlc.sh clean
./test-fifo.sh clean
./test-dynamic.sh clean
exit 0
fi
./test-codel.sh
./test-hlc.sh
./test-fifo.sh
./test-dynamic.sh
| Shell |
#!/bin/bash
# test-codel.sh
draw_progress_bar()
{
# Example:
# [> ] cur = 1, max = 3
# [-> ] ...
# [-->] cur = 3, max = 3
max=$1
cur=$2
desc=$3
# Restore cursor position
tput rc
echo -n "["
for ((i = 0; i < cur - 1; i++))
do
echo -n "-"
done
echo -n "... | Shell |
#!/bin/bash
# test-codel.sh
draw_progress_bar()
{
# Example:
# [> ] cur = 1, max = 3
# [-> ] ...
# [-->] cur = 3, max = 3
max=$1
cur=$2
desc=$3
# Restore cursor position
tput rc
echo -n "["
for ((i = 0; i < cur - 1; i++))
do
echo -n "-"
done
echo -n "... | Shell |
#!/bin/bash
# test-codel.sh
# Global setting (rtt): 10, 30, 50, 100, 150, 200, 300, 500
delay_=(1 2 4 5 5 5 5 5)
bdelay_=(3 11 17 40 65 90 140 240)
draw_progress_bar()
{
# Example:
# [> ] cur = 1, max = 3
# [-> ] ...
# [-->] cur = 3, max = 3
max=$1
cur=$2
desc=$3
# Restore cursor po... | Shell |
#!/bin/bash
# test-codel.sh
draw_progress_bar()
{
# Example:
# [> ] cur = 1, max = 3
# [-> ] ...
# [-->] cur = 3, max = 3
max=$1
cur=$2
desc=$3
# Restore cursor position
tput rc
echo -n "["
for ((i = 0; i < cur - 1; i++))
do
echo -n "-"
done
echo -n "... | Shell |
#!/bin/bash
# test-codel.sh
# Global setting (rtt): 10, 20, 40, 60, 80, 100, 150, 200, 250, 300, 400, 500
delay_=(1 2 4 5 5 5 5 5 5 5 5 5)
bdelay_=(3 6 12 20 30 40 65 90 115 140 190 240)
draw_progress_bar()
{
# Example:
# [> ] cur = 1, max = 3
# [-> ] ...
# [-->] cur = 3, max = 3
max=$1
cur=... | Shell |
#!/bin/bash
# test-codel.sh
draw_progress_bar()
{
# Example:
# [> ] cur = 1, max = 3
# [-> ] ...
# [-->] cur = 3, max = 3
max=$1
cur=$2
desc=$3
# Restore cursor position
tput rc
echo -n "["
for ((i = 0; i < cur - 1; i++))
do
echo -n "-"
done
echo -n "... | Shell |
#!/bin/bash
# test-codel.sh
draw_progress_bar()
{
# Example:
# [> ] cur = 1, max = 3
# [-> ] ...
# [-->] cur = 3, max = 3
max=$1
cur=$2
desc=$3
# Restore cursor position
tput rc
echo -n "["
for ((i = 0; i < cur - 1; i++))
do
echo -n "-"
done
echo -n "... | Shell |
#!/bin/bash
# Generate a report as shown below, so that it's convenient to paste it into Excel
# The first block 1 Mbps, 2nd block 4 Mbps, 3rd block 16 Mbps, and the last is 64 Mbps
# Each row represnts a different RTT
# 125 125 125 500 500 500 1992 1990 1997 7815 7797 7978
# 121 125 125 473 473 499 1842 18... | Shell |
#!/bin/bash
# The best buffer size (in packets) for different bandwidth
qlen=(2 3 3 3 3 3 4 4 4 4 4 6 6 6 8 8 10 12 14 16)
qlen3x=(6 9 9 9 9 9 12 12 12 12 12 18 18 18 24 24 30 36 42 48)
# The best percentage of bandwidth used
pct=(0.68 0.75 0.81 0.84 0.85 0.86 0.87 0.89 0.90 0.90 0.91 0.91 0.92 0.92 0.93 0.94 0.94 0.... | Shell |
#!/bin/bash
# The best buffer size (in packets) for different bandwidth
qlen=(2 3 3 3 3 3 4 4 4 4 4 6 6 6 8 8 10 12 14 16)
qlen3x=(6 9 9 9 9 9 12 12 12 12 12 18 18 18 24 24 30 36 42 48)
# The best percentage of bandwidth used
pct=(0.68 0.75 0.81 0.84 0.85 0.86 0.87 0.89 0.90 0.90 0.91 0.91 0.92 0.92 0.93 0.94 0.94 0.... | Shell |
#!/bin/bash
low_bandwidth()
{
for bw in 0.5 1 2 3 # Low bandwidth (4 Loops)
do
for num in 1 2 3 4 5 6 8 10 12 14 16 20 24 30 40 # 15 Loops
do
for pct in 0.50 0.52 0.54 0.56 0.58 0.60 0.62 0.64 0.66 0.68 \
0.70 0.72 0.74 0.76 0.78 0.80 0.82 0.84 0.86 0.88 \
... | Shell |
#!/bin/bash
# The best buffer size (in packets) for different bandwidth
qlen=(2 3 3 3 3 3 4 4 4 4 4 6 6 6 8 8 10 12 14 16)
qlen3x=(6 9 9 9 9 9 12 12 12 12 12 18 18 18 24 24 30 36 42 48)
# The best percentage of bandwidth used
pct=(0.68 0.75 0.81 0.84 0.85 0.86 0.87 0.89 0.90 0.90 0.91 0.91 0.92 0.92 0.93 0.94 0.94 0.... | Shell |
#!/bin/bash
# The best buffer size (in packets) for different bandwidth
qlen=(2 3 3 3 3 3 4 4 4 4 4 6 6 6 8 8 10 12 14 16)
qlen3x=(6 9 9 9 9 9 12 12 12 12 12 18 18 18 24 24 30 36 42 48)
# The best percentage of bandwidth used
pct=(0.68 0.75 0.81 0.84 0.85 0.86 0.87 0.89 0.90 0.90 0.91 0.91 0.92 0.92 0.93 0.94 0.94 0.... | Shell |
#!/bin/bash
low_bandwidth()
{
for bw in 0.5 1 2 3 # Low bandwidth (4 Loops)
do
for num in 1 2 3 4 5 6 8 10 12 14 16 20 24 30 40 # 15 Loops
do
for pct in 0.50 0.52 0.54 0.56 0.58 0.60 0.62 0.64 0.66 0.68 \
0.70 0.72 0.74 0.76 0.78 0.80 0.82 0.84 0.86 0.88 \
... | Shell |
#!/bin/bash
bandwidth=(1 2 3 4 6 8 10 12 16 20 24 30 40 50 60 80 100) # Mbps
burst_estimate=(5000 5000 5000 7000 7000 7000 7000 7000 7000 7000 7000 7000 7000 7000 8000 10000 12000) # Bytes
for i in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 # 17 Loops
do
bw=${bandwidth[$i]}
est=${burst_estimate[$i]}
fo... | Shell |
#!/bin/bash
bandwidth=(1 2 3 4 6 8 10 12 16 20 24 30 40 50 60 80 100) # Mbps
burst_estimate=(5000 5000 5000 7000 7000 7000 7000 7000 7000 7000 7000 7000 7000 7000 8000 10000 12000) # Bytes
for i in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 # 17 Loops
do
bw=${bandwidth[$i]}
est=${burst_estimate[$i]}
fo... | Shell |
#! /bin/bash
function usage()
{
echo "------------------------------------------------------------------"
echo "ALGTS Script Helper"
echo "------------------------------------------------------------------"
echo "Build a script from source, or do building and running in a single"
echo "commmand."
... | Shell |
#! /bin/bash
function usage()
{
echo "------------------------------------------------------------------"
echo "ALGTS Script Helper"
echo "------------------------------------------------------------------"
echo "Build a script from source, or do building and running in a single"
echo "commmand."
... | Shell |
#! /bin/bash
# Check for qt -------------------------------------------------------------
if [ -z "$QTDIR" ]; then
echo " QTDIR environment variable not set!"
echo -n " Checking for Qt..."
for d in /usr/{lib,share,qt}/{qt-4,qt4,qt,qt*,4} /usr; do
if test -x "$d/bin/qmake"; then
QTDIR=... | Shell |
#!/bin/bash
function usage()
{
echo "------------------------------------------------------------------"
echo "ALGTS Script Helper"
echo "------------------------------------------------------------------"
echo "Build a script from source, or do building and running in a single"
echo "commmand."
... | Shell |
#!/bin/bash
function usage()
{
echo "------------------------------------------------------------------"
echo "ALGTS Script Helper"
echo "------------------------------------------------------------------"
echo "Build a script from source, or do building and running in a single"
echo "commmand."
... | Shell |
#!/bin/bash
# Check for qt -------------------------------------------------------------
if [ -z "$QTDIR" ]; then
echo " QTDIR environment variable not set!"
echo -n " Checking for Qt..."
for d in /usr/{lib,share,qt}/{qt-4,qt4,qt,qt*,4} /usr; do
if test -x "$d/bin/qmake"; then
QTDIR=$... | Shell |
#!/bin/sh
APPDIR=`dirname $0`;
java -cp "$APPDIR/src:$APPDIR/bin:$SDKJAR" com.google.gwt.i18n.tools.I18NSync -out $APPDIR/src com.google.livingstories.client.contentmanager.ContentManagerMessages -createMessages ;
| Shell |
#!/bin/sh
APPDIR=`dirname $0`;
java -cp "$APPDIR/src:$APPDIR/bin:$SDKJAR" com.google.gwt.i18n.tools.I18NSync -out $APPDIR/src com.google.livingstories.client.ClientConstants ;
| Shell |
#!/bin/sh
APPDIR=`dirname $0`;
java -cp "$APPDIR/src:$APPDIR/bin:$SDKJAR" com.google.gwt.i18n.tools.I18NSync -out $APPDIR/src com.google.livingstories.client.contentmanager.ContentManagerConstants ;
| Shell |
#!/bin/sh
APPDIR=`dirname $0`;
java -cp "$APPDIR/src:$APPDIR/bin:$SDKJAR" com.google.gwt.i18n.tools.I18NSync -out $APPDIR/src com.google.livingstories.client.lsp.LspConstants ;
| 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/sh
APPDIR=`dirname $0`;
java -cp "$APPDIR/src:$APPDIR/bin:$SDKJAR" com.google.gwt.i18n.tools.I18NSync -out $APPDIR/src com.google.livingstories.client.lsp.LspMessages -createMessages ;
| Shell |
# This shell script compiles the gxps in the project. If you add a new gxp source directory,
# add that as an argument to the compiler here as well.
java -cp war/WEB-INF/lib/gxp-0.2.4-beta.jar com.google.gxp.compiler.cli.Gxpc --dir genfiles --source src --output_language java src/com/google/livingstories/gxps/*.gxp
| Shell |
#!/bin/sh
javac -target 1.5 -source 1.5 testlibs/*.java
javac -cp $JYTHON_HOME/jython.jar -target 1.5 -source 1.5 listeners/*.java | Shell |
#!/bin/bash
basedir=$PWD/test
pybot --loglevel DEBUG --log none --report none --outputdir $basedir $basedir/example.html
python $basedir/../statuschecker.py $basedir/output.xml
rebot $basedir/output.xml
| Shell |
#!/bin/bash
dirname=robotframework-c-example
zipname=$dirname-$(date +%Y%m%d).zip
files="README.txt login.c LoginLibrary.py LoginTests.tsv Makefile"
rm -rf $dirname $zipname
mkdir $dirname
echo Copying...
for file in $files; do
cp -v $file $dirname
done
echo Zipping...
zip -r $zipname $dirname
rm -rf $dirname
ech... | Shell |
#!/bin/bash
base=`dirname $0`
ROBOT_SYSLOG_FILE=$base/tmp/syslog.txt python $base/src/robot/runner.py -P $base/atest/testresources/testlibs -P $base/tmp -L debug -d $base/tmp $*
| Shell |
#!/bin/bash
OUTPUTDIR=/opt/cruisecontrol/logs/robot-core
BACKUPDIR=$OUTPUTDIR/old/$(date +%Y%m%d-%H%M%S)
OUT=$OUTPUTDIR/output.txt
cd /opt/cruisecontrol/projects/robot-core
rm -rf atest/results
echo 'Running Robot Acceptance Tests' >$OUT
echo -n 'Date: ' >>$OUT
date -R >>$OUT
echo >>$OUT
echo '1) svn update' >>$OUT... | Shell |
#!/bin/bash
pybot --outputdir results --exclude parallel atest/ | Shell |
#!/bin/bash
python src/robot/rebot.py $1 >/dev/null &
#/usr/lib/jvm/java-6-sun/jre/bin/java -Xmx1024m -Xss1024k -classpath /home/jth/opt/jython2.5.1/jython.jar: -Dpython.home=/home/jth/opt/jython2.5.1 -Dpython.executable=/home/jth/opt/jython2.5.1/jython org.python.util.jython src/robot/rebot.py $1 >/dev/null &
rebotpid... | Shell |
#!/bin/bash
cd $1
rm *.xml *html
unzip outputs.zip
command="rebot --name Robot_Framework_Acceptance_Tests --splitoutputs 1 output.xml"
echo "Executing command: " $command
$command
exit $?
| Shell |
ROOTDIR=`dirname $0`/..
LIBPATH=$ROOTDIR/lib
SRCPATH=$ROOTDIR/src
TESTDATA=$ROOTDIR/atest/vacalc
CP=$LIBPATH/robotframework-2.5.4.1.jar:$LIBPATH/swinglibrary-1.1.1.jar:$ROOTDIR/bin/
CLASSPATH=$CP java org.robotframework.RobotFramework -P $SRCPATH -P $ROOTDIR/atest/libraries $* --outputdir $ROOTDIR/results --critical re... | Shell |
#!/bin/bash
#downloads the project dependencies to lib directory
wget -P lib http://robotframework.googlecode.com/files/robotframework-2.5.4.1.jar
wget -P lib http://robotframework-swinglibrary.googlecode.com/files/swinglibrary-1.1.1.jar
| Shell |
java -cp lib/robotframework-2.5.4.1.jar:bin/ -Dpython.path=src org.robotframework.vacalc.VacalcRunner
| Shell |
CLASSPATH=lib/robotframework-2.5.3.jar javac -d bin src/org/robotframework/vacalc/*java
| 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
ROOT=../..
CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar"
java -classpath $CLASSPATH \
com.pmstation.shared.soap.demo.BrowseFolderDemo $* | Shell |
#!/bin/sh
ROOT=../..
CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar"
java -classpath $CLASSPATH \
com.pmstation.shared.soap.demo.DownloadDemo $* | Shell |
#!/bin/sh
ROOT=../..
JARS=`ls ../../lib`
CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar"
for i in $JARS ; do
CLASSPATH="${CLASSPATH}:../../lib/${i}"
done
java -classpath $CLASSPATH \
com.pmstation.shared.soap.demo.UploadDemo $*
| Shell |
#!/bin/sh
ROOT=../..
JARS=`ls ../../lib`
CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar"
for i in $JARS ; do
CLASSPATH="${CLASSPATH}:../../lib/${i}"
done
java -classpath $CLASSPATH \
com.pmstation.shared.soap.demo.FolderSettingsDemo $*
| Shell |
#!/bin/sh
ROOT=../..
CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar"
java -classpath $CLASSPATH \
com.pmstation.shared.soap.demo.CreateFolderDemo $* | Shell |
#!/bin/sh
ROOT=../..
CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar"
java -classpath $CLASSPATH \
com.pmstation.shared.soap.demo.PreviewLinkDemo $* | Shell |
#!/bin/sh
ROOT=../..
CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar"
java -classpath $CLASSPATH \
com.pmstation.shared.soap.demo.BrowseRecycleBeanDemo $* | Shell |
#!/bin/sh
ROOT=../..
CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar"
java -classpath $CLASSPATH \
com.pmstation.shared.soap.demo.SignupDemo $* | 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 |
#!/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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.