code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh # # Copyright (c) 2005 Linus Torvalds # OPTIONS_KEEPDASHDASH= OPTIONS_SPEC="\ git repack [options] -- a pack everything in a single pack A same as -a, and turn unreachable objects loose d remove redundant packs, and run git-prune-packed f pass --no-reus...
Shell
#!/bin/sh USAGE='' SUBDIRECTORY_OK='Yes' OPTIONS_SPEC= . git-sh-setup echo "WARNING: '$0' is deprecated in favor of 'git fsck --lost-found'" >&2 if [ "$#" != "0" ] then usage fi laf="$GIT_DIR/lost-found" rm -fr "$laf" && mkdir -p "$laf/commit" "$laf/other" || exit git fsck --full --no-reflogs | while read dang...
Shell
#!/bin/sh bindir="$1" gitexecdir="$2" gitcmd="$3" if test "$bindir" != "$gitexecdir" -a -x "$gitcmd" then echo echo "!! You have installed git-* commands to new gitexecdir." echo "!! Old version git-* commands still remain in bindir." echo "!! Mixing two versions of Git will lead to problems." echo "!! Please remo...
Shell
#!/bin/sh USAGE='[help|start|bad|good|skip|next|reset|visualize|replay|log|run]' LONG_USAGE='git bisect help print this long help message. git bisect start [--no-checkout] [<bad> [<good>...]] [--] [<pathspec>...] reset bisect state and start bisection. git bisect bad [<rev>] mark <rev> a known-bad revision. git bis...
Shell
#!/bin/sh # # Copyright (c) 2010 Ævar Arnfjörð Bjarmason # # This is Git's interface to gettext.sh. See po/README for usage # instructions. # Export the TEXTDOMAIN* data that we need for Git TEXTDOMAIN=git export TEXTDOMAIN if test -z "$GIT_TEXTDOMAINDIR" then TEXTDOMAINDIR="@@LOCALEDIR@@" else TEXTDOMAINDIR="$GIT_T...
Shell
#!/bin/sh # # This program launch a web browser on the html page # describing a git command. # # Copyright (c) 2007 Christian Couder # Copyright (c) 2006 Theodore Y. Ts'o # # This file is heavily stolen from git-mergetool.sh, by # Theodore Y. Ts'o (thanks) that is: # # Copyright (c) 2006 Theodore Y. Ts'o # # This file ...
Shell
#!/bin/bash osmosis --rx file=input.xml --mw file=output.map bbox=-1,0,0,1 encoding=single
Shell
#!/bin/bash osmosis --rx file=input.xml --mw file=output.map bbox=-1,0,0,1 encoding=double
Shell
#!/bin/bash osmosis --rx file=input.xml --mw file=output.map bbox=0.99,0.99,1.01,1.01
Shell
#!/bin/bash osmosis --rx file=input.xml --mw file=output.map bbox=0.1,0.2,0.3,0.4 map-start-position=0.15,0.25 map-start-zoom=16 preferred-language=en comment=testcomment
Shell
#!/bin/bash osmosis --rx file=input.xml --mw file=output.map bbox=0,0,0.08,0.08 debug-file=true
Shell
#!/bin/bash cd empty/ ./generate.sh cd ../file_header/ ./generate.sh cd ../single_delta_encoding/ ./generate.sh cd ../double_delta_encoding/ ./generate.sh cd ../with_data/ ./generate.sh
Shell
#! /bin/sh NDK_DIRECTORY="/Users/ngramlich/SDKs/Android/ndk/r6b/" PROJECT_DIRECTORY="/Users/ngramlich/Workspace/GLES2/AndEngineMODPlayerExtension/" # Run build: cd ${PROJECT_DIRECTORY} ${NDK_DIRECTORY}ndk-build # Clean temporary files: rm -rf ${PROJECT_DIRECTORY}obj
Shell
#! /bin/sh NDK_DIRECTORY="/Users/ngramlich/SDKs/Android/ndk/r6b/" PROJECT_DIRECTORY="/Users/ngramlich/Workspace/GLES2/AndEngineMODPlayerExtension/" # Run build: cd ${PROJECT_DIRECTORY} ${NDK_DIRECTORY}ndk-build # Clean temporary files: rm -rf ${PROJECT_DIRECTORY}obj
Shell
#!/bin/bash NDK_DIRECTORY="/Users/ngramlich/SDKs/Android/ndk/r7b/" PROJECT_DIRECTORY="/Users/ngramlich/Workspace/gdk/graphic_engines/AndEngine/AndEngineScriptingExtension/" NDK_MODULE_PATH="/Users/ngramlich/Workspace/gdk/graphic_engines/AndEngine/AndEngineScriptingExtension" # Run build: pushd ${PROJECT_DIRECTORY} > ...
Shell
#!/bin/bash NDK_DIRECTORY="/Users/ngramlich/SDKs/Android/ndk/r7b/" PROJECT_DIRECTORY="/Users/ngramlich/Workspace/gdk/graphic_engines/AndEngine/AndEngineScriptingExtension/" NDK_MODULE_PATH="/Users/ngramlich/Workspace/gdk/graphic_engines/AndEngine/AndEngineScriptingExtension" # Run build: pushd ${PROJECT_DIRECTORY} > ...
Shell
#! /bin/sh NDK_DIRECTORY="/Users/ngramlich/SDKs/Android/ndk/r6b/" PROJECT_DIRECTORY="/Users/ngramlich/Workspace/gdk/graphic_engines/AndEngine/AndEnginePhysicsBox2DExtension/" # Run build: cd ${PROJECT_DIRECTORY} ${NDK_DIRECTORY}ndk-build # Clean temporary files: rm -rf ${PROJECT_DIRECTORY}obj find . -name gdbserver ...
Shell
#! /bin/sh NDK_DIRECTORY="/Users/ngramlich/SDKs/Android/ndk/r6b/" PROJECT_DIRECTORY="/Users/ngramlich/Workspace/gdk/graphic_engines/AndEngine/AndEnginePhysicsBox2DExtension/" # Run build: cd ${PROJECT_DIRECTORY} ${NDK_DIRECTORY}ndk-build # Clean temporary files: rm -rf ${PROJECT_DIRECTORY}obj find . -name gdbserver ...
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.website.project.spritesheets" SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src/org/websi...
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.website.project.spritesheets" SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src/org/websi...
Shell
#! /bin/bash # Binary of the Texturepacker: TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker # Shared TexturePack-Output-Definitions: TEXTUREPACK_OUTPUT_DIRECTORY="../assets/gfx/texturepacks/" TEXTUREPACK_OUTPUT_JAVAIDS_PACKAGE="org.website.project.texturepacks" TEXTUREPACK_OUTPUT_JAVAIDS_DIRECTORY="../src/org/websi...
Shell
#! /bin/bash # Binary of the Texturepacker: TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker # Shared TexturePack-Output-Definitions: TEXTUREPACK_OUTPUT_DIRECTORY="../assets/gfx/texturepacks/" TEXTUREPACK_OUTPUT_JAVAIDS_PACKAGE="org.website.project.texturepacks" TEXTUREPACK_OUTPUT_JAVAIDS_DIRECTORY="../src/org/websi...
Shell
#!/bin/bash NDK_DIRECTORY="/Users/ngramlich/SDKs/Android/ndk/r7b/" PROJECT_DIRECTORY="/Users/ngramlich/Workspace/gdk/graphic_engines/AndEngine/AndEngine/" # Run build: pushd ${PROJECT_DIRECTORY} ${NDK_DIRECTORY}ndk-build # Clean temporary files: # rm -rf ${PROJECT_DIRECTORY}obj # find . -name gdbserver -print0 | xar...
Shell
#!/bin/bash NDK_DIRECTORY="/Users/ngramlich/SDKs/Android/ndk/r7b/" PROJECT_DIRECTORY="/Users/ngramlich/Workspace/gdk/graphic_engines/AndEngine/AndEngine/" # Run build: pushd ${PROJECT_DIRECTORY} ${NDK_DIRECTORY}ndk-build # Clean temporary files: # rm -rf ${PROJECT_DIRECTORY}obj # find . -name gdbserver -print0 | xar...
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/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/bash # # This script checks the java version and bails if it's less # than Java6 (because we use @Override annotations on interface # overriding methods. It then proceeds to do a maven build that # first cleans, then builds the normal lifecycle through compilation # unit testing (if available) up to packaging. ...
Shell
#!/bin/sh # # This file is part of Apparat. # # Apparat is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Apparat is distribu...
Shell
#!/bin/sh # # This file is part of Apparat. # # Apparat is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Apparat is distribu...
Shell
#!/bin/sh # # This file is part of Apparat. # # Apparat is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Apparat is distribu...
Shell
#!/bin/sh # # This file is part of Apparat. # # Apparat is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Apparat is distribu...
Shell
#!/bin/sh # # This file is part of Apparat. # # Apparat is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Apparat is distribu...
Shell
#!/bin/sh # # This file is part of Apparat. # # Apparat is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Apparat is distribu...
Shell
#!/bin/sh # # This file is part of Apparat. # # Apparat is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Apparat is distribu...
Shell
#!/bin/sh # # This file is part of Apparat. # # Apparat is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Apparat is distribu...
Shell
#!/bin/sh # # This file is part of Apparat. # # Apparat is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Apparat is distribu...
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 # # Copyright 2013 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 # 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_BitmapCache VERBOSE
Shell
#!/bin/sh adb shell pm clear com.google.android.apps.iosched
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
#!/bin/bash if [ $# != 1 ] then echo "Usage: $0 emailAddress" exit 1 fi read -s -p "Password: " mypassword echo "" curl https://www.google.com/accounts/ClientLogin -d Email=$1 -d "Passwd=$mypassword" -d accountType=GOOGLE -d source=Google-cURL-Example -d service=ac2dm
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/sh # Need to run a full clean install when changing the request factory interfaces # Doing so deletes the local debug app engine database # This script backs that up first SRC=shuffle-app-engine/target/shuffle-app-engine-2.0.0-SNAPSHOT/WEB-INF/appengine-generated DEST=../db_backup rm -r $DEST mkdir $DEST cp -...
Shell
#!/bin/bash [ -n "$1" ] && cd $1 git rev-list HEAD | sort > config.git-hash LOCALVER=`wc -l config.git-hash | awk '{print $1}'` if [ $LOCALVER \> 1 ] ; then VER=`git rev-list origin/master | sort | join config.git-hash - | wc -l | awk '{print $1}'` VER_DIFF=$(($LOCALVER-$VER)) echo "#define X265_REV $VER" ...
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/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP versions 4 and 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright 2005-2011, Cake Software Foundation, Inc. # # Licensed under The ...
Shell
#!/bin/bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP versions 4 and 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright 2005-2011, Cake Software Foundation, Inc. # # Licensed under The ...
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 # # Copyright 2013 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 # 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_BitmapCache VERBOSE
Shell
#!/bin/sh adb shell pm clear com.google.android.apps.iosched
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
./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 mkdir dist mkdir dist/graphchi_v$1 cd dist/graphchi_v$1 hg clone https://code.google.com/p/graphchi/ #rm -rf src/Eigen find . -name '*.hg' -exec rm -rf {} \; find . -name '*.dSYM' -exec rm -fr {} \; cd .. tar -czf graphchi_src_v$1.tar.gz graphchi_v$1
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 [ ! -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/sh # script for merging the output of the rating application into a single sorted file # Written By Danny Bickson, CMU if [ $# -ne 1 ]; then echo "Usage: $0 <training file name>" exit 1 fi TRAINING=$1 pwd FOUND=0 rm -f *.sorted for i in `ls ${TRAINING}.out[0-9]*` do FOUND=1 echo "Sorting output file $i"...
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 #script for installing graphchi cf toolbox #written by Danny Bickson, CMU EIGEN_FILE=3.1.3.tar.bz2 EIGEN_DIST=http://bitbucket.org/eigen/eigen/get/$EIGEN_FILE test -z `which wget` if [ $? -eq 1 ]; then rm -fR $EIGEN_DIST wget --max-redirect 20 $EIGEN_DIST if [ $? -ne 0 ]; then echo "Failed to d...
Shell
# Following command makes the unittest.sh fail if any of the # commands fail. set -e function display_name { echo "****************************************************************************" echo -n "*******************" echo -n $1 echo "**********************" echo "**************************************...
Shell
#!/bin/sh # # Android Weather Notification. # Copyright (C) 2010 gelin, 2011 mihovilic # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at...
Shell
#!/bin/sh # # Android Weather Notification. # Copyright (C) 2012 gelin # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) an...
Shell
#!/bin/sh # # Android Weather Notification. # Copyright (C) 2010 gelin, 2011 mihovilic # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at...
Shell
#!/bin/sh # # Android Weather Notification. # Copyright (C) 2010 gelin, 2011 mihovilic # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at...
Shell
#!/bin/sh # # Android Weather Notification. # Copyright (C) 2012 gelin, 2011 mihovilic # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at...
Shell
#!/bin/sh # # Android Weather Notification. # Copyright (C) 2010 gelin, 2011 mihovilic # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at...
Shell
#!/bin/sh # # Android Weather Notification. # Copyright (C) 2010 Denis Nelubin aka Gelin # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # ...
Shell
#!/bin/sh TARGETS=$* buildin() { BASE_DIR=$(pwd) cd $1 ant $TARGETS cd $BASE_DIR } buildin core buildin skins/black-text buildin skins/white-text buildin skins/black-text-plus buildin skins/white-text-plus buildin skins/bigger-text
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 chmod ug+x $@
Shell
#!/bin/sh pserve development.ini --reload
Shell
#!/bin/bash phpdoc -d framework -t doc/api
Shell
#!/bin/bash phpdoc -d framework -t doc/api
Shell
#/bin/sh #Hi my naem is Kirt and I liek anime ulimit -Sc unlimited while [ 1 ] ; do if [ -f .stopserver ] ; then echo server marked down >> servlog.txt else echo restarting server at time at `date +"%m-%d-%H:%M-%S"`>> startlog.txt ./map-server fi sleep 5 done
Shell
#!/bin/bash ./athena-start start sleep 30 while [ true ] ; do if [ " 0" = "$(ps | grep -e login | wc -l)" ] || [ " 0" = "$(ps | grep -e char | wc -l)" ] || [ " 0" = "$(ps | grep -e map | wc -l)" ]; then printf "Error:" date sleep 10 printf "Checking:" date if [ " 0" = "$(ps | ...
Shell