code
stringlengths
1
1.96M
language
stringclasses
1 value
#/bin/sh export CLASSPATH=$CLASSPATH:./jars/boss.jar export CLASSPATH=$CLASSPATH:./jars/junit-4.4.jar export CLASSPATH=$CLASSPATH:./jars/org.json.jar export CLASSPATH=$CLASSPATH:./bin/ java -cp $CLASSPATH launcher.CommandLine
Shell
echo "This script clones twitter bootsrap, compiles it with lessc and lessphp," echo "cleans up results with csstidy, and outputs diff. To run it, you need to" echo "have git, csstidy and lessc installed." echo "" csstidy_params="--allow_html_in_templates=false --compress_colors=false --compress_font-weight=false --di...
Shell
#!/bin/bash # Uncomment to try using some common Autosys environment variables #export AUTOSYS_COMPAT=1 export ADSHOST=localhost export ADSUSER=ads export ADSPASSWD=ads export ADSDB=ads export ADSROOT=/home/dave/dev/advancedscheduler export ADSNAMESPACE=$USERNAME export ADSLOG=$ADSROOT/log export ADSJOBLOG=$ADSLOG/jo...
Shell
#!/bin/bash # Uncomment to try using some common Autosys environment variables #export AUTOSYS_COMPAT=1 export ADSHOST=localhost export ADSUSER=ads export ADSPASSWD=ads export ADSDB=ads export ADSROOT=/home/dave/dev/advancedscheduler export ADSNAMESPACE=$USERNAME export ADSLOG=$ADSROOT/log export ADSJOBLOG=$ADSLOG/jo...
Shell
#!/bin/sh # Start/stop the Advanced Distributed Scheduler Agent daemon. # ### BEGIN INIT INFO # Provides: agent.pl # Required-Start: $syslog $time $postgresql-8.2 # Required-Stop: $syslog $time # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Advanced Distributed Scheduler Da...
Shell
#!/bin/sh # Start/stop the Advanced Distributed Scheduler Agent daemon. # ### BEGIN INIT INFO # Provides: agent.pl # Required-Start: $syslog $time $postgresql-8.2 # Required-Stop: $syslog $time # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Advanced Distributed Scheduler Da...
Shell
#!/bin/bash . etc/ads_setupenv.sh cat <<SYMLNKPATH This installer can create symbolic links in another directory for you, if you are unable to modify your PATH environment variable. Note that the best approach is to simply include $ADSROOT/bin in your \$PATH variable. If you'd like to create symbolic links, pleas...
Shell
#!/bin/bash . etc/ads_setupenv.sh cat <<SYMLNKPATH This installer can create symbolic links in another directory for you, if you are unable to modify your PATH environment variable. Note that the best approach is to simply include $ADSROOT/bin in your \$PATH variable. If you'd like to create symbolic links, pleas...
Shell
sed -i "s/@copyright 2012/@Copyright (C) 2012/" `find . -name *.java` sed -i "s/@copyright (C) 2012/@Copyright (C) 2012/" `find . -name *.java` sed -i "s/@copyright 2011/@Copyright (C) 2012/" `find . -name *.java`
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # # Copyright 2011 Carl Anderson # # 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...
Shell
#!/bin/bash # # # Copyright 2011 Carl Anderson # # 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...
Shell
#!/bin/bash # # # Copyright 2012 Carl Anderson # # 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...
Shell
#!/bin/bash # # # Copyright 2012 Carl Anderson # # 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...
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # # Copyright 2011 Carl Anderson # # 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...
Shell
#!/bin/bash # # # Copyright 2011 Carl Anderson # # 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...
Shell
#!/bin/bash # # # Copyright 2012 Carl Anderson # # 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...
Shell
#!/bin/bash # # # Copyright 2012 Carl Anderson # # 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...
Shell
#!/bin/bash # # # Copyright 2012 Carl Anderson # # 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...
Shell
#!/bin/bash # # # Copyright 2012 Carl Anderson # # 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...
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # # Copyright 2011 Carl Anderson # # 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...
Shell
#!/bin/bash # # # Copyright 2011 Carl Anderson # # 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...
Shell
#!/bin/bash # # # Copyright 2012 Carl Anderson # # 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...
Shell
#!/bin/bash # # # Copyright 2012 Carl Anderson # # 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...
Shell
#!/bin/bash # # # Copyright 2012 Carl Anderson # # 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...
Shell
#!/bin/bash # # # Copyright 2012 Carl Anderson # # 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...
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # # Copyright 2011 Carl Anderson # # 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...
Shell
#!/bin/bash # # # Copyright 2011 Carl Anderson # # 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...
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # Copyright 2011 Carl Anderson # # 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 l...
Shell
#!/bin/bash # # # Copyright 2012 Carl Anderson # # 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...
Shell
#!/bin/bash # # # Copyright 2012 Carl Anderson # # 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...
Shell
#!/bin/bash # # # Copyright 2012 Carl Anderson # # 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...
Shell
#!/bin/bash # # # Copyright 2012 Carl Anderson # # 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...
Shell
#!/usr/bin/ksh ###################################################################### # $Id:$ # $Url:$ # $Revision: $ # $Author: $ # $Date: $ ###################################################################### FS_LIST="$*" set -o nounset INFO=" INFO:" ERROR="ERROR:" WARN=" WARN:" BLANK=" " NOTE=" NOTE:" ...
Shell
#!/usr/bin/ksh ###################################################################### # $Id:$ # $Url:$ # $Revision: $ # $Author: $ # $Date: $ ###################################################################### FS_LIST="$*" set -o nounset INFO=" INFO:" ERROR="ERROR:" WARN=" WARN:" BLANK=" " NOTE=" NOTE:" ...
Shell
#!/bin/bash -x SOURCEDIR=../datasoul-src DISTDIR=$SOURCEDIR/dist DSVERSION=$(awk -F= '/version/{ print $2 }' $SOURCEDIR/src/datasoul/version.properties) if [[ "$USER" != "root" ]] then echo "Please run this script as root" exit 0 fi ################################################## # Clean up and build rm -Rf in...
Shell
#!/bin/sh -e update-mime-database /usr/share/mime update-desktop-database
Shell
#!/bin/sh -e update-mime-database /usr/share/mime update-desktop-database
Shell
#!/bin/bash mysql --host=$1 --port=$2 --user=$3 --password=$4 <$5
Shell
#!/bin/bash mysql --host=$1 --port=$2 --user=$3 --password=$4 <$5
Shell
#!/bin/sh ~/IzPack/bin/compile install.xml -b . -o install.jar -k standard
Shell
#!/bin/sh ~/IzPack/bin/compile install.xml -b . -o install.jar -k standard
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 JAVA_HOME=/home/scott/Compilers/java5 export JAVA_HOME PATH=$JAVA_HOME/bin:$PATH export PATH echo $JAVA_HOME echo echo $PATH mvn assembly:assembly
Shell
#!/bin/sh JAVA_HOME=/home/scott/Compilers/java5 export JAVA_HOME PATH=$JAVA_HOME/bin:$PATH export PATH echo $JAVA_HOME echo echo $PATH mvn assembly:assembly
Shell
#!/bin/bash rm -fr problem3_output.txt rm -fr problem3_performance_output.txt echo "problem3:" echo "#cores time" >>problem3_performance_output.txt mpirun n0-19 -ssi pri usysv ./copy -d /proj/spear1/cse411/ for nodes in `seq 19` do echo " testing with `expr $nodes + 1 ` nodes" echo " testing with `expr $nodes + ...
Shell
#!/bin/bash rm -fr problem3_output.txt rm -fr problem3_performance_output.txt echo "problem3:" echo "#cores time" >>problem3_performance_output.txt mpirun n0-19 -ssi pri usysv ./copy -d /proj/spear1/cse411/ for nodes in `seq 19` do echo " testing with `expr $nodes + 1 ` nodes" echo " testing with `expr $nodes + ...
Shell
#!/bin/bash rm -fr problem2_output.txt rm -fr problem2_performance_output.txt echo "problem2:" echo "#cores time" >>problem2_performance_output.txt for nodes in `seq 19` do echo " testing with `expr $nodes + 1 ` nodes" echo " testing with `expr $nodes + 1 ` nodes" >>problem2_output.txt mpirun n0-$nodes -ssi rpi ...
Shell
#!/bin/bash rm -fr problem2_output.txt rm -fr problem2_performance_output.txt echo "problem2:" echo "#cores time" >>problem2_performance_output.txt for nodes in `seq 19` do echo " testing with `expr $nodes + 1 ` nodes" echo " testing with `expr $nodes + 1 ` nodes" >>problem2_output.txt mpirun n0-$nodes -ssi rpi ...
Shell
#!/bin/bash rm -fr problem4_output.txt rm -fr problem4_performance_output.txt echo "problem4:" echo "#cores time" >>problem4_performance_output.txt for nodes in `seq 19` do echo " testing with `expr $nodes + 1 ` nodes" echo " testing with `expr $nodes + 1 ` nodes" >>problem4_output.txt mpirun n0-$nodes -ssi rpi u...
Shell
#!/bin/bash rm -fr problem4_output.txt rm -fr problem4_performance_output.txt echo "problem4:" echo "#cores time" >>problem4_performance_output.txt for nodes in `seq 19` do echo " testing with `expr $nodes + 1 ` nodes" echo " testing with `expr $nodes + 1 ` nodes" >>problem4_output.txt mpirun n0-$nodes -ssi rpi u...
Shell
#!/bin/sh export QTDIR=/installer/arch/ export PATH=$QTDIR/bin:$PATH exec kdevelop $*
Shell
#!/bin/sh export QTDIR=/installer/arch/ export PATH=$QTDIR/bin:$PATH exec kdevelop $*
Shell
#!/bin/sh # Fill in these environment variables. # I have tested this code with CUDA 4.0, 4.1, and 4.2. # Only use Fermi-generation cards. Older cards won't work. # If you're not sure what these paths should be, # you can use the find command to try to locate them. # For example, NUMPY_INCLUDE_PATH contains the fil...
Shell
#!/bin/sh # Fill in these environment variables. # I have tested this code with CUDA 4.0, 4.1, and 4.2. # Only use Fermi-generation cards. Older cards won't work. # If you're not sure what these paths should be, # you can use the find command to try to locate them. # For example, NUMPY_INCLUDE_PATH contains the fil...
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/bash # Copyright 2009 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...
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
for ((i=$4;i<=$5;i++)) do bin/render $1 $2 $3 $i #echo $1 $2 $3 $4 $5 $i done
Shell
#!/bin/sh SEARCH_BASE=bin JAR_DIR=lib JAVACLASSPATH=$JAR_DIR/SuperCSV-1.52.jar: # Association Rule Mining # Usage: run.sh <filename> <min support> <min confidence> #echo /usr/bin/java -classpath $JAVACLASSPATH:$SEARCH_BASE Main "${1}" $2 "${3}" 1 2 0 $SEARCH_BASE /usr/bin/java -classpath $JAVACLASSPATH:$SEARCH_BASE M...
Shell
#!/bin/sh SEARCH_BASE=bin JAR_DIR=lib JAVACLASSPATH=$JAR_DIR/SuperCSV-1.52.jar: # Association Rule Mining # Usage: run.sh <filename> <min support> <min confidence> #echo /usr/bin/java -classpath $JAVACLASSPATH:$SEARCH_BASE Main "${1}" $2 "${3}" 1 2 0 $SEARCH_BASE /usr/bin/java -classpath $JAVACLASSPATH:$SEARCH_BASE M...
Shell
#!/bin/sh SEARCH_BASE=bin JAR_DIR=lib JAVACLASSPATH=$JAR_DIR/json.jar: # Yahoo! Search API # Usage: run.sh <query> <precision> <yahoo appId> #echo /usr/bin/java -classpath $JAVACLASSPATH:$SEARCH_BASE Main "${1}" $2 "${3}" "${4}" 1 2 0 $SEARCH_BASE /usr/bin/java -classpath $JAVACLASSPATH:$SEARCH_BASE Main "${1}" $2 "$...
Shell
#!/bin/sh SEARCH_BASE=bin JAR_DIR=lib JAVACLASSPATH=$JAR_DIR/json.jar: # Yahoo! Search API # Usage: run.sh <query> <precision> <yahoo appId> #echo /usr/bin/java -classpath $JAVACLASSPATH:$SEARCH_BASE Main "${1}" $2 "${3}" "${4}" 1 2 0 $SEARCH_BASE /usr/bin/java -classpath $JAVACLASSPATH:$SEARCH_BASE Main "${1}" $2 "$...
Shell
#!/bin/bash rm -rf output_images/ mkdir output_images for exposure in {1..9} do for gamma in 1.5 1.8 2.2 2.5 3.0 do ./hdr $exposure $gamma output_images/output-$exposure-$gamma.ppm done done
Shell
#!/bin/bash rm -rf output_images/ mkdir output_images for exposure in {1..9} do for gamma in 1.5 1.8 2.2 2.5 3.0 do ./hdr $exposure $gamma output_images/output-$exposure-$gamma.ppm done done
Shell
#!/bin/sh nxjc -cp src -d bin src/org/vu/aso/next/nxt/MindstormsBrains.java echo Compiled... nxjlink org.vu.aso.next.nxt.MindstormsBrains -cp bin -v -o bin/MindstormsBrains.nxj > debug.txt echo Linked... nxjupload -r -b -n $1 bin/MindstormsBrains.nxj
Shell
#!/bin/sh nxjc -cp src -d bin src/org/vu/aso/next/nxt/MindstormsBrains.java echo Compiled... nxjlink org.vu.aso.next.nxt.MindstormsBrains -cp bin -v -o bin/MindstormsBrains.nxj > debug.txt echo Linked... nxjupload -r -b -n $1 bin/MindstormsBrains.nxj
Shell
#!/bin/bash pdflatex $1.tex $1.pdf rm $1.log rm $1.aux rm $1.toc rm $1.out
Shell
#!/bin/bash pdflatex $1.tex $1.pdf rm $1.log rm $1.aux rm $1.toc rm $1.out
Shell
#!/bin/bash getLangsForFiles () { echo "en" # default language for F in "$@" do find res/ -name "$F" done \ | sed -n 's/.*res.[a-z]*-\(..\(-...\)*\).*/\1/p' } getLangsForDicts () { ls ../Dicts \ | sed 's/.*-//; s/.dict//' } makeStrings () { Name="$1" shift echo " private static final String[] $Name =...
Shell
#!/bin/bash Res=res/ Alt=donottranslate-altchars.xml Map=donottranslate-keymap.xml for Dir in res/values-* do [ -f $Dir/$Map -o -f $Dir/$Alt ] || continue Args="$Res/values/$Alt" [ -f $Dir/$Alt ] && Args="$Args $Dir/$Alt" Args="$Args $Res/values/$Map" [ -f $Dir/$Map ] && Args="$Args $Dir/$Map" echo -n "$D...
Shell
#!/bin/bash # # Compile ADVRP and create a user and group called 'advrp' for privilege # dropping. EXTRA_CFLAGS="" # Compile and link echo '/*' echo ' * Compiling advrp.' gcc $EXTRA_CFLAGS -o advrp advrp.c debug.c hash.c holddown.c init.c kroute.c receiver.c sender.c verify.c -lpthread -g # Check gcc's exit status r...
Shell