code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/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
if [ ! -e Versioning/set_version ]; then
gcc -o Versioning/set_version -w -framework Foundation Versioning/set_version.m
fi
REV="`/usr/local/subversion/bin/svn info | grep Revision | cut -f 2 -d ':' | cut -f 2 -d ' '`"
Versioning/set_version Info.plist Info.plist CFBundleVersion $REV
| Shell |
#!/bin/sh
g++ -g -lglut -lGLU -lGL -I../ $1 ../matplotpp.a
exit
| Shell |
#!/bin/sh
exec java -jar `rospack find rosjava`/dist/rosjava.jar org.ros.SlaveApiTestNode $@
| Shell |
#!/bin/sh
exec java -jar `rospack find rosjava`/dist/rosjava.jar org.ros.ParameterServerTestNode $@
| Shell |
#!/bin/sh
exec java -jar `rospack find rosjava`/dist/rosjava.jar org.ros.PassthroughTestNode $@
| 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/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org)
# Copyright 2005-2010, Cake Software Foundation, Inc.
#
# Licensed under ... | Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org)
# Copyright 2005-2010, Cake Software Foundation, Inc.
#
# Licensed under ... | Shell |
#!/system/bin/sh
#DIR=/data/data/org.gaeproxy
case $1 in
add)
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cat /etc/hosts > $DIR/hosts
echo "127.0.0.1 localhost" > /etc/hosts
echo "$2 $3" >> /etc/hosts
echo "" >> /etc/hosts
mount -o ro,remount -t yaffs2... | Shell |
#!/system/bin/sh
DIR=/data/data/org.gaeproxy
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-rel... | Shell |
#!/system/bin/sh
export PYTHONPATH=/data/data/org.gaeproxy/python:/data/data/org.gaeproxy/python/lib/python2.6:/data/data/org.gaeproxy/python/lib/python2.6/lib-dynload:/data/data/org.gaeproxy/python/lib:/sdcard/python-extras
export LD_LIBRARY_PATH=/data/data/org.gaeproxy/python/lib
export PYTHONHOME=$PYTHONHOME:/data/... | Shell |
spawn-fcgi -u www-data -g www-data -d /var/www/simplecd/ -f /var/www/simplecd/code.py -a 127.0.0.1 -p 9001 -F 2
| Shell |
#!/bin/sh
# gcodeup is a copy of $GOROOT/misc/dashboard/googlecode_upload.py.
. ./setup
user=$(sed -n 's/^re2.username = //' ~/.hgrc)
password=$(sed -n 's/^re2\.password = //' ~/.hgrc)
upload() {
goos=$(echo $1 | sed "s/codesearch-$version-//; s/-.*//")
goarch=$(echo $1 | sed "s/codesearch-$version-//; s/[a-z0-9]*... | Shell |
#!/bin/bash
. ./setup
for i in {5,6,8}{c,g,a,l}
do
gomake -C $GOROOT/src/cmd/$i install
done
build() {
echo "# $1"
goos=$(echo $1 | sed 's;/.*;;')
goarch=$(echo $1 | sed 's;.*/;;')
GOOS=$goos GOARCH=$goarch CGO_ENABLED=0 \
go install -a code.google.com/p/codesearch/cmd/{cgrep,cindex,csearch}
rm -rf codesearc... | 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
# Copyright 2014 Google Inc. All rights reserved.
#
# 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 applica... | Shell |
#!/bin/sh
DIR="$( cd "$( dirname "$0" )" && pwd )"
javac -target 1.5 -source 1.5 $DIR/testlibs/*.java
if [ -n "$JYTHON_HOME" ]
then
javac -cp $JYTHON_HOME/jython.jar -target 1.5 -source 1.5 $DIR/listeners/*.java
else
echo set JYTHON_HOME to compile listeners
fi
| Shell |
#!/bin/sh
testdir=`dirname $0`
rm -f $testdir/output.*
export PYTHONPATH=$testdir/../../../src
python -m robot.run -l none -r none -d $testdir $testdir/test.txt
python $testdir/../times2csv.py $testdir/output.xml
echo "------------------------------ results ------------------------------"
cat $testdir/output.csv
echo "... | Shell |
#!/bin/bash
testdir=`dirname $0`
pybot --loglevel DEBUG --log none --report none --outputdir $testdir $testdir/example.txt
python $testdir/../statuschecker.py $testdir/output.xml
rebot $testdir/output.xml
echo "$? tests failed, 5 should have failed."
echo "Check that tests starting with 'FAILURE:' have failed and other... | 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/run.py -P $base/atest/testresources/testlibs -P $base/tmp -L debug -d $base/tmp "$@"
| Shell |
#!/bin/bash
pybot --outputdir results --exclude parallel atest/ | Shell |
#!/bin/bash
#python src/robot/rebot.py $* &> /dev/null &
python src/robot/run.py $* &> /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.jyt... | Shell |
#!/bin/bash
ThreadsForMake=4
Prefix=/my
BaseDir=/my/src
#===============================================================================
ScriptDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
ColorRed='\e[1;31m'
ColorGreen='\e[0;32m'
ColorNone='\e[00m'
HandleStatus () {
if [[ $1 != 0 ]]; then... | Shell |
#!/bin/bash
#============================= Start user config ===============================
### Do not use spaces in any of the paths! ###
# Qmake, Mercurial and Inno Setup compiler commands
QmakeCmd=qmake
MakeCmd=make
HgCmd=hg
IsscCmd=/c/bin32/InnoSetup/ISCC
# Zip program for creating the troubleshoot... | Shell |
#!/bin/bash
cpDestOpts=--preserve=timestamps
if [[ "$PhotivoRepoPath" == "" ]]; then printf "PhotivoRepoPath not set!\n" ; exit 1 ; fi
if [[ "$PhotivoBuildPath" == "" ]]; then printf "PhotivoBuildPath not set!\n" ; exit 1 ; fi
if [[ "$GccArch" == "" ]]; then print... | Shell |
#!/bin/bash
if [[ "$1" == "" ]]; then
printf "Unset Photivo repo."
unset PhotivoRepoPath
unset PhotivoBuildPath
export PhotivoRepoId=none
else
if [[ "$1" == "def" ]]; then
ptTempPath=$ProjectsBasePath/Photivo/$RepoDefaultDir
else
if [[ -e $ProjectsBasePath/Photivo/b... | Shell |
#!/bin/bash
if [[ "$PhotivoRepoPath" == "" ]]; then printf "PhotivoRepoPath not set!\n" ; exit 1 ; fi
if [[ "$PhotivoBuildPath" == "" ]]; then printf "PhotivoBuildPath not set!\n" ; exit 1 ; fi
if [[ "$GccArch" == "" ]]; then printf "GccArch not set!\n" ; ... | Shell |
#!/bin/sh
################################################################################
##
## photivo
##
## Copyright (C) 2011 Bernd Schoeler <brother.john@photivo.org>
## Copyright (C) 2011 Michael Munzert <mail@mm-log.com>
##
## This file is part of photivo.
##
## photivo is free software: you can redist... | Shell |
#!/bin/bash
# Download ufRaw whitebalance settings from
# http://ufraw.cvs.sourceforge.net/viewvc/ufraw/ufraw/wb_presets.c
# and process them to the corresponding file for Photivo
MYDATE=$(date +%Y%m%d)
rm wb_presets_reference_ufraw*
wget http://ufraw.cvs.sourceforge.net/viewvc/ufraw/ufraw/wb_presets.c -O "wb_pres... | Shell |
#!/bin/bash
# Download dcraw.c
# and process it to simplify Photivo update.
# To check against former versions of dcraw, get the dcraw.c,v file
# and use 'co -r1.439 dcraw.c,v'.
# The Adobe coefficients go into ptAdobeTable.h.
# Static variables go into class DcRaw, this is currently not fully done.
wget http://www.c... | Shell |
#!/bin/sh
include_docs=-Dgerrit.include-documentation=1
while [ $# -gt 0 ]
do
case "$1" in
--no-documentation|--without-documentation)
include_docs=
shift
;;
*)
echo >&2 "usage: $0 [--without-documentation]"
exit 1
esac
done
git update-index -q --refresh
if test -n "$(git diff-index --name-only HEAD -... | Shell |
#!/bin/sh
# Update all pom.xml with new build number
#
# TODO(sop) This should be converted to some sort of
# Java based Maven plugin so its fully portable.
#
POM_FILES=$(git ls-files | grep pom.xml)
case "$1" in
--snapshot=*)
V=$(echo "$1" | perl -pe 's/^--snapshot=//')
if [ -z "$V" ]
then
echo >&2 "usage: $0 ... | Shell |
#!/bin/sh
export JETTY_HOST=127.0.0.1
export JETTY_PORT=8081
export JETTY_USER=gerrit2
export JETTY_PID=/var/run/jetty$JETTY_PORT.pid
export JETTY_HOME=/home/$JETTY_USER/jetty
export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.07/jre
JAVA_OPTIONS=""
JAVA_OPTIONS="$JAVA_OPTIONS -Djetty.host=$JETTY_HOST"
export JAVA_OPTION... | Shell |
#!/bin/sh
#
# Part of Gerrit Code Review (http://code.google.com/p/gerrit/)
#
# Copyright (C) 2009 The Android Open Source Project
#
# 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://w... | Shell |
#!/bin/sh
V=$(git describe HEAD)
case "$V" in
'')
echo >&2 "fatal: no annotated tags, cannot determine version"
exit 1
;;
*-g*)
echo >&2 "fatal: snapshot $V, cannot determine version"
exit 1
;;
v*)
echo "$V" | perl -lne 'print $1 if /^v(\d+\.\d+(?:\.\d+)?)/'
;;
esac
| Shell |
#!/bin/sh
#
# Launch Gerrit Code Review as a daemon process.
# To get the service to restart correctly on reboot, uncomment below (3 lines):
# ========================
# chkconfig: 3 99 99
# description: Gerrit Code Review
# processname: gerrit
# ========================
# Configuration files:
#
# /etc/default/gerrit... | Shell |
#!/bin/sh
#
# Detects OS we're compiling on and outputs a file specified by the first
# argument, which in turn gets read while processing Makefile.
#
# The output will set the following variables:
# CC C Compiler path
# CXX C++ Compiler path
# PLATFORM_LDFLAGS ... | Shell |
#!/bin/sh
# Create a backup tar gzip file of the cwd with the date appended
# located in the parent directory.
FILENAME=../`pwd|xargs basename`-`date -j "+%Y-%m-%d"`.tgz
echo Will create $FILENAME
tar cfz $FILENAME .
echo Done.
| Shell |
#!/bin/bash
# 打开apache.http调试信息
adb shell setprop log.tag.org.apache.http VERBOSE
adb shell setprop log.tag.org.apache.http.wire VERBOSE
adb shell setprop log.tag.org.apache.http.headers VERBOSE
echo "Enable Debug"
| Shell |
#!/bin/bash
if [ $# != 1 ]; then
echo "usage: $0 <unittest file>"
exit
fi
today=`date +%Y%m%d`
log="./"$today".log"
old_logs=`ls . | grep -v "$log" | wc -l`
if [ $old_logs -gt 0 ]; then
ls . | grep "\.log" | grep -v "$log" | xargs rm
fi
cat /dev/null > "$log"
cat /dev/null > /home/david/soft/nginx/logs/a... | Shell |
#!/bin/bash
if [ $# != 1 ]; then
echo "usage: $0 <unittest file>"
exit
fi
today=`date +%Y%m%d`
log="./"$today".log"
old_logs=`ls . | grep -v "$log" | wc -l`
if [ $old_logs -gt 0 ]; then
ls . | grep "\.log" | grep -v "$log" | xargs rm
fi
cat /dev/null > "$log"
cat /dev/null > /home/david/soft/nginx/logs/a... | Shell |
#!/bin/sh
#
# Detects OS we're compiling on and outputs a file specified by the first
# argument, which in turn gets read while processing Makefile.
#
# The output will set the following variables:
# CC C Compiler path
# CXX C++ Compiler path
# PLATFORM_LDFLAGS ... | Shell |
#Thu Dec 8 06:30:17 2011./inv cohendiv 229229 56439
./inv cohendiv 102031 19229
./inv cohendiv 590452 450204
./inv cohendiv 573656 403030
./inv cohendiv 165043 78404
./inv cohendiv 603505 47638
./inv cohendiv 42043 40213
./inv cohendiv 562915 355633
./inv cohendiv 668543 291075
./inv cohendiv 439152 59848
./inv cohend... | Shell |
#Thu Dec 8 06:30:17 2011./inv lcm1 23000 1021
./inv lcm1 59086 5737
./inv lcm1 16587 6036
./inv lcm1 4300 5630
./inv lcm1 66888 4392
./inv lcm1 99066 8218
./inv lcm1 36792 1373
./inv lcm1 23497 2349
./inv lcm1 89186 2202
./inv lcm1 75776 7419
./inv lcm1 92303 5318
./inv lcm1 2345 2780
./inv lcm1 45590 3536
./inv lcm1 ... | Shell |
#Thu Dec 8 06:30:17 2011./inv freire2 2292
./inv freire2 1020
./inv freire2 5905
./inv freire2 5737
./inv freire2 1650
./inv freire2 6035
./inv freire2 420
./inv freire2 5629
./inv freire2 6686
./inv freire2 4391
./inv freire2 9907
./inv freire2 8218
./inv freire2 3673
./inv freire2 1372
./inv freire2 2342
./inv freir... | Shell |
#Thu Dec 8 06:30:17 2011./inv ps3 30
./inv ps3 19
./inv ps3 63
./inv ps3 62
./inv ps3 25
./inv ps3 64
./inv ps3 13
./inv ps3 61
./inv ps3 70
./inv ps3 49
./inv ps3 100
./inv ps3 84
./inv ps3 43
./inv ps3 22
./inv ps3 31
./inv ps3 91
./inv ps3 78
./inv ps3 77
./inv ps3 93
./inv ps3 58
./inv ps3 12
./inv ps3 35
./inv ps... | Shell |
#Thu Dec 8 06:30:17 2011./inv freire1 2292
./inv freire1 1020
./inv freire1 5905
./inv freire1 5737
./inv freire1 1650
./inv freire1 6035
./inv freire1 420
./inv freire1 5629
./inv freire1 6686
./inv freire1 4391
./inv freire1 9907
./inv freire1 8218
./inv freire1 3673
./inv freire1 1372
./inv freire1 2342
./inv freir... | Shell |
#Thu Dec 8 06:30:17 2011./inv hard 229229 56439
./inv hard 102031 19229
./inv hard 590452 450204
./inv hard 573656 403030
./inv hard 165043 78404
./inv hard 603505 47638
./inv hard 42043 40213
./inv hard 562915 355633
./inv hard 668543 291075
./inv hard 439152 59848
./inv hard 990643 533501
./inv hard 821782 65171
./i... | Shell |
#Thu Dec 8 06:30:17 2011./inv sqrt1 2292
./inv sqrt1 1020
./inv sqrt1 5905
./inv sqrt1 5737
./inv sqrt1 1650
./inv sqrt1 6035
./inv sqrt1 420
./inv sqrt1 5629
./inv sqrt1 6686
./inv sqrt1 4391
./inv sqrt1 9907
./inv sqrt1 8218
./inv sqrt1 3673
./inv sqrt1 1372
./inv sqrt1 2342
./inv sqrt1 2349
./inv sqrt1 8918
./inv s... | Shell |
#Thu Dec 8 06:35:07 2011./inv dijkstra 2622
./inv dijkstra 3271
./inv dijkstra 3368
./inv dijkstra 5553
./inv dijkstra 7835
./inv dijkstra 4719
./inv dijkstra 4559
./inv dijkstra 4216
./inv dijkstra 239
./inv dijkstra 4005
./inv dijkstra 4342
./inv dijkstra 2155
./inv dijkstra 3822
./inv dijkstra 1674
./inv dijkstra 5... | Shell |
#Thu Dec 8 06:30:17 2011./inv euclidex1 22923 1021
./inv euclidex1 59046 5737
./inv euclidex1 16505 6036
./inv euclidex1 4205 5630
./inv euclidex1 66855 4392
./inv euclidex1 99065 8218
./inv euclidex1 36730 1373
./inv euclidex1 23421 2349
./inv euclidex1 89176 2202
./inv euclidex1 75752 7419
./inv euclidex1 92295 5318... | Shell |
#Thu Dec 8 06:30:17 2011./inv z3sqrt 1.7 0.1
./inv z3sqrt 2.8 0.35
./inv z3sqrt 1.5 0.35
./inv z3sqrt 1.1 0.35
./inv z3sqrt 3.0 0.25
./inv z3sqrt 4.0 0.45
./inv z3sqrt 2.1 0.15
./inv z3sqrt 1.7 0.2
./inv z3sqrt 3.7 0.15
./inv z3sqrt 3.3 0.4
./inv z3sqrt 3.8 0.3
./inv z3sqrt 1.0 0.2
./inv z3sqrt 2.4 0.25
./inv z3sqrt 2... | Shell |
#Thu Dec 8 06:30:17 2011./inv lcm2 23000 1021
./inv lcm2 59086 5737
./inv lcm2 16587 6036
./inv lcm2 4300 5630
./inv lcm2 66888 4392
./inv lcm2 99066 8218
./inv lcm2 36792 1373
./inv lcm2 23497 2349
./inv lcm2 89186 2202
./inv lcm2 75776 7419
./inv lcm2 92303 5318
./inv lcm2 2345 2780
./inv lcm2 45590 3536
./inv lcm2 ... | Shell |
#Thu Dec 8 06:30:17 2011./inv mannadiv 229 57
./inv mannadiv 102 20
./inv mannadiv 590 450
./inv mannadiv 573 403
./inv mannadiv 165 79
./inv mannadiv 603 48
./inv mannadiv 42 41
./inv mannadiv 562 356
./inv mannadiv 668 291
./inv mannadiv 439 60
./inv mannadiv 990 534
./inv mannadiv 821 66
./inv mannadiv 367 36
./inv... | Shell |
#Thu Dec 8 06:30:17 2011./inv euclidex2 22923 1021
./inv euclidex2 59046 5737
./inv euclidex2 16505 6036
./inv euclidex2 4205 5630
./inv euclidex2 66855 4392
./inv euclidex2 99065 8218
./inv euclidex2 36730 1373
./inv euclidex2 23421 2349
./inv euclidex2 89176 2202
./inv euclidex2 75752 7419
./inv euclidex2 92295 5318... | Shell |
#Thu Dec 8 06:33:09 2011./inv cohencu 0
./inv cohencu 1
./inv cohencu 2
./inv cohencu 3
./inv cohencu 4
./inv cohencu 5
./inv cohencu 6
./inv cohencu 7
./inv cohencu 8
./inv cohencu 9
./inv cohencu 10
./inv cohencu 11
./inv cohencu 12
./inv cohencu 13
./inv cohencu 14
./inv cohencu 15
./inv cohencu 16
./inv cohencu 17... | Shell |
#Thu Dec 8 06:30:17 2011./inv geo2 5 1
./inv geo2 12 5
./inv geo2 4 5
./inv geo2 1 5
./inv geo2 14 4
./inv geo2 20 7
./inv geo2 8 2
./inv geo2 5 2
./inv geo2 18 2
./inv geo2 16 6
./inv geo2 19 5
./inv geo2 1 3
./inv geo2 10 3
./inv geo2 9 5
./inv geo2 7 7
./inv geo2 1 8
./inv geo2 2 3
./inv geo2 3 1
./inv geo2 7 5
./i... | Shell |
#Thu Dec 8 06:30:17 2011./inv geo3 2 1 6
./inv geo3 5 1 7
./inv geo3 0 6 7
./inv geo3 4 10 9
./inv geo3 3 1 3
./inv geo3 2 9 3
./inv geo3 7 8 10
./inv geo3 5 0 3
./inv geo3 4 3 5
./inv geo3 6 3 8
./inv geo3 0 10 1
./inv geo3 3 4 7
./inv geo3 1 1 4
./inv geo3 5 10 6
./inv geo3 4 7 3
./inv geo3 5 8 5
./inv geo3 6 1 9
./... | Shell |
#Thu Dec 8 06:30:17 2011./inv knuth 23000 103
./inv knuth 59086 574
./inv knuth 16587 604
./inv knuth 4300 563
./inv knuth 66888 440
./inv knuth 99066 822
./inv knuth 36792 138
./inv knuth 23497 235
./inv knuth 89186 221
./inv knuth 75776 742
./inv knuth 92303 532
./inv knuth 2345 278
./inv knuth 45590 354
./inv knuth... | Shell |
#Thu Dec 8 06:30:17 2011./inv prodbin 2293 1021
./inv prodbin 5905 5737
./inv prodbin 1651 6036
./inv prodbin 421 5630
./inv prodbin 6686 4392
./inv prodbin 9907 8218
./inv prodbin 3673 1373
./inv prodbin 2343 2349
./inv prodbin 8918 2202
./inv prodbin 7576 7419
./inv prodbin 9230 5318
./inv prodbin 225 2780
./inv pro... | Shell |
#Thu Dec 8 06:30:17 2011./inv ps4 30
./inv ps4 19
./inv ps4 63
./inv ps4 62
./inv ps4 25
./inv ps4 64
./inv ps4 13
./inv ps4 61
./inv ps4 70
./inv ps4 49
./inv ps4 100
./inv ps4 84
./inv ps4 43
./inv ps4 22
./inv ps4 31
./inv ps4 91
./inv ps4 78
./inv ps4 77
./inv ps4 93
./inv ps4 58
./inv ps4 12
./inv ps4 35
./inv ps... | Shell |
#Thu Dec 8 06:30:17 2011./inv prod4br 2293 1021
./inv prod4br 5905 5737
./inv prod4br 1651 6036
./inv prod4br 421 5630
./inv prod4br 6686 4392
./inv prod4br 9907 8218
./inv prod4br 3673 1373
./inv prod4br 2343 2349
./inv prod4br 8918 2202
./inv prod4br 7576 7419
./inv prod4br 9230 5318
./inv prod4br 225 2780
./inv pro... | Shell |
#Thu Dec 8 06:30:17 2011./inv wensley0 25 1965 0.04
./inv wensley0 71 4803 0.01
./inv wensley0 96 6355 0.25
./inv wensley0 14 5432 0.01
./inv wensley0 10 7898 0.35
./inv wensley0 97 9923 0.45
./inv wensley0 12 9840 0.5
./inv wensley0 31 8223 0.02
./inv wensley0 64 4161 0.35
./inv wensley0 18 4513 0.25
./inv wensley0 8... | Shell |
#Thu Dec 8 06:30:17 2011./inv ps2 30
./inv ps2 19
./inv ps2 63
./inv ps2 62
./inv ps2 25
./inv ps2 64
./inv ps2 13
./inv ps2 61
./inv ps2 70
./inv ps2 49
./inv ps2 100
./inv ps2 84
./inv ps2 43
./inv ps2 22
./inv ps2 31
./inv ps2 91
./inv ps2 78
./inv ps2 77
./inv ps2 93
./inv ps2 58
./inv ps2 12
./inv ps2 35
./inv ps... | Shell |
#Thu Dec 8 06:30:17 2011./inv divbin 229229 56439
./inv divbin 102031 19229
./inv divbin 590452 450204
./inv divbin 573656 403030
./inv divbin 165043 78404
./inv divbin 603505 47638
./inv divbin 42043 40213
./inv divbin 562915 355633
./inv divbin 668543 291075
./inv divbin 439152 59848
./inv divbin 990643 533501
./inv... | Shell |
#Thu Dec 8 06:30:17 2011./inv euclidex3 22923 1021
./inv euclidex3 59046 5737
./inv euclidex3 16505 6036
./inv euclidex3 4205 5630
./inv euclidex3 66855 4392
./inv euclidex3 99065 8218
./inv euclidex3 36730 1373
./inv euclidex3 23421 2349
./inv euclidex3 89176 2202
./inv euclidex3 75752 7419
./inv euclidex3 92295 5318... | Shell |
#Thu Dec 8 06:30:17 2011./inv wensley 0.23 0.42 0.05
./inv wensley 0.11 0.79 0.04
./inv wensley 0.59 0.79 0.1
./inv wensley 0.57 0.99 0.04
./inv wensley 0.17 0.54 0.1
./inv wensley 0.6 0.82 0.1
./inv wensley 0.05 0.15 0.4
./inv wensley 0.56 0.82 0.5
./inv wensley 0.67 1.0 0.4
./inv wensley 0.44 0.51 0.5
./inv wensley ... | Shell |
#Thu Dec 8 06:30:17 2011./inv fermat2 2293 1021
./inv fermat2 5905 5737
./inv fermat2 1651 6036
./inv fermat2 421 5630
./inv fermat2 6686 4392
./inv fermat2 9907 8218
./inv fermat2 3673 1373
./inv fermat2 2343 2349
./inv fermat2 8918 2202
./inv fermat2 7576 7419
./inv fermat2 9230 5318
./inv fermat2 225 2780
./inv fer... | Shell |
#Thu Dec 8 06:30:17 2011./inv fermat1 2293 1021
./inv fermat1 5905 5737
./inv fermat1 1651 6036
./inv fermat1 421 5630
./inv fermat1 6686 4392
./inv fermat1 9907 8218
./inv fermat1 3673 1373
./inv fermat1 2343 2349
./inv fermat1 8918 2202
./inv fermat1 7576 7419
./inv fermat1 9230 5318
./inv fermat1 225 2780
./inv fer... | Shell |
echo "For these to work properly, set your SAGE_PATH to this directory!"
#Test all the unit tests from files for Invariant Generators
sage -t check_requirements.py
sage -t common.py
sage -t miscs.py
sage -t iexp.py
sage -t smt_z3py.py
sage -t refine.py
sage -t inv_polynomials.py
sage -t inv_arrays.py
sage -t invgen.py... | Shell |
#!/bin/sh
if [ "${1}" == "x64" ]; then
arch=x86_64
archdir=x64
else
arch=x86
archdir=Win32
fi
make_dirs() (
if [ ! -d bin_${archdir}/lib ]; then
mkdir -p bin_${archdir}/lib
fi
if [ ! -d bin_${archdir}d/lib ]; then
mkdir -p bin_${archdir}d/lib
fi
)
copy_libs() (
cp lib*/*-lav-*.dll ../bin_$... | Shell |
#!/bin/sh
debugFlag=$1
if [ x"$debugFlag" = x"--debug" ]
then
qemuOpts="-s -S -D qemu.log -d exec,ioport,unimp"
else
# qemuOpts="-S -serial none -monitor stdio"
qemuOpts=""
fi
qemu-system-arm -M versatilepb $qemuOpts -kernel kernel-qemu.img
| 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 |
#!/usr/bin/env bash
##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to ... | Shell |
spawn-fcgi -u www-data -g www-data -d /var/www/simplecd/ -f /var/www/simplecd/code.py -a 127.0.0.1 -p 9001 -F 2
| Shell |
#!/bin/sh
set -x
aclocal
autoheader
automake --foreign --add-missing --copy
autoconf
| Shell |
#!/bin/sh
set -x
aclocal
autoheader
automake --foreign --add-missing --copy
autoconf
| Shell |
#!/bin/sh
mkdir dist
mkdir dist/graphchi_v$1
cp -r src example_apps toolkits conf docs README.txt graphchi_xcode Makefile dist/graphchi_v$1
cd dist
#rm -rf src/Eigen
find . -name '*.hg' -exec rm -rf {} \;
find . -name '*.dSYM' -exec rm -fr {} \;
tar -czf graphchi_src_v$1.tar.gz graphchi_v$1
| Shell |
./toolkits/collaborative_filtering/gensgd --training=rec_log_train.txt --val_pos=2 --rehash=1 --limit_rating=1000000 --max_iter=10 --gensgd_mult_dec=0.999999 --minval=-1 --maxval=1 --quiet=1 --calc_error=1 --file_columns=4
./toolkits/collaborative_filtering/gensgd --training=rec_log_train.txt --val_pos=2 --rehash=1 --... | Shell |
#!/bin/sh -e
#script for installing graphchi cf toolbox
#written by Danny Bickson, CMU
wget http://bitbucket.org/eigen/eigen/get/3.1.1.tar.bz2
tar -xjf 3.1.1.tar.bz2
mv eigen-eigen-*/Eigen ./src
cd toolkits/collaborative_filtering
make
cd ../../
| Shell |
# Following command makes the unittest.sh fail if any of the
# commands fail.
set -e
rm -f smallnetflix_mm.*
echo "TESTING BASELINE"
./toolkits/collaborative_filtering/baseline --training=smallnetflix_mm --validation=smallnetflix_mm --minval=1 --maxval=5 --quiet=1 --algorithm=user_mean
echo "TESTING ALS"
./toolki... | Shell |
#!/bin/bash
export GRAPHCHI_ROOT=$PWD/../../
stdoutfname=$PWD/stdout.log
rm -f $stdoutfname
echo | tee -a $stdoutfname
echo "Running application tests"| tee -a $stdoutfname
echo "========================="| tee -a $stdoutfname
echo "GraphChi collaborative filtering library"| tee -a $stdoutfname
somefailed=0
echo "--... | Shell |
#!/bin/sh
if [ $# -ne 1 ]; then
echo "Usage: $0 <training file name>"
exit 1
fi
TRAINING=$1
FOUND=0
rm -f *.sorted
for i in `ls $TRAINING.out[0-9]*`1
do
FOUND=1
echo "Sorting output file $i"
sort -r -g -u -k 1,1 -k 3,3 $i > $i.sorted
done
if [ $FOUND -eq 0 ]; then
echo "Error: No input file found. Run ite... | Shell |
#!/bin/sh
if [ ! -d "../../src/Eigen/" ]; then
echo "********************************************************************************"
echo "Failed to find Eigen linear algebra package!"
echo "Please follow step 3 of the instructions here: "
echo "http://bickson.blogspot.co.il/2012/08/collaborative-filterin... | Shell |
#!/bin/bash
# script for visualizing a subgraph
# Written by Danny Bickson, CMU
cd ../../
GRAPHCHI_ROOT=`pwd`
cd -
CURPATH=`pwd`
NUM_EDGES=0
FILENAME=""
SEEDS=""
HOPS=2
NODES=0;
EDGES=0;
PROGRAM_OPTIONS="f:h:n:o:r:s:"
HELP_STRING="-f Graph_file [-h hops] [-n edge_num] [-o nodes] [-s seeds] [-r multiple files regexp]\... | Shell |
#!/bin/sh
#change the website path to point to your website dir, and then run "sh refresh_website.sh" when you
#want to view your graph
cp index.html *.css *.js graph*.csv logo.gif settingA file.txt *csv.txt /afs/cs.cmu.edu/user/bickson/www/graphchi/
| Shell |
#!/bin/bash
./build.sh && ./package.sh
| Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.