code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh # POST-UNLOCK HOOK # # The post-unlock hook runs after a path is unlocked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-unlock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this...
Shell
#!/bin/sh # POST-UNLOCK HOOK # # The post-unlock hook runs after a path is unlocked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-unlock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this...
Shell
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
Shell
#!/bin/sh # POST-LOCK HOOK # # The post-lock hook is run after a path is locked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-lock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this repos...
Shell
#!/bin/sh # POST-REVPROP-CHANGE HOOK # # The post-revprop-change hook is invoked after a revision property # has been added, modified or deleted. Subversion runs this hook by # invoking a program (script, executable, binary, etc.) named # 'post-revprop-change' (for which this file is a template), with the # f...
Shell
#!/bin/sh # PRE-UNLOCK HOOK # # The pre-unlock hook is invoked before an exclusive lock is # destroyed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-unlock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH ...
Shell
#!/bin/bash wget -O easymock-3.0.zip http://sourceforge.net/projects/easymock/files/EasyMock/3.0/easymock-3.0.zip/download unzip easymock-3.0.zip rm easymock-3.0.zip
Shell
#!/bin/bash wget -O easymock-3.0.zip http://sourceforge.net/projects/easymock/files/EasyMock/3.0/easymock-3.0.zip/download unzip easymock-3.0.zip rm easymock-3.0.zip
Shell
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
Shell
#!/bin/bash echo "Generating ORMlite resources" java -classpath lib/ormlite-core-4.31.jar:lib/ormlite-android-4.31.jar:bin/res:bin/classes com.j256.ormlite.android.apptools.OrmLiteConfigUtil ormlite_config.txt echo "done."
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 package='aiaa-latex' class='aiaa-tc.cls' set -e if test $# -ne 1; then echo "usage: $0 VERSION" exit 1 fi version=$1 if ! echo $version | grep -E "^[0-9]+\.[0-9]+\.[0-9]+$" then echo "VERSION should be of the form 1.2.5 (major.minor.revision)" exit 1 fi if ! grep -q $version $class then echo "...
Shell
#!/bin/sh package='aiaa-latex' class='aiaa-tc.cls' set -e if test $# -ne 1; then echo "usage: $0 VERSION" exit 1 fi version=$1 if ! echo $version | grep -E "^[0-9]+\.[0-9]+\.[0-9]+$" then echo "VERSION should be of the form 1.2.5 (major.minor.revision)" exit 1 fi if ! grep -q $version $class then echo "...
Shell
#!/bin/sh package='aiaa-latex' class='aiaa-tc.cls' set -e if test $# -ne 1; then echo "usage: $0 VERSION" exit 1 fi version=$1 if ! echo $version | grep -E "^[0-9]+\.[0-9]+\.[0-9]+$" then echo "VERSION should be of the form 1.2.5 (major.minor.revision)" exit 1 fi if ! grep -q $version $class then echo "...
Shell
#!/bin/sh package='aiaa-latex' class='aiaa-tc.cls' set -e if test $# -ne 1; then echo "usage: $0 VERSION" exit 1 fi version=$1 if ! echo $version | grep -E "^[0-9]+\.[0-9]+\.[0-9]+$" then echo "VERSION should be of the form 1.2.5 (major.minor.revision)" exit 1 fi if ! grep -q $version $class then echo "...
Shell
#!/bin/sh package='aiaa-latex' class='aiaa-tc.cls' set -e if test $# -ne 1; then echo "usage: $0 VERSION" exit 1 fi version=$1 if ! echo $version | grep -E "^[0-9]+\.[0-9]+\.[0-9]+$" then echo "VERSION should be of the form 1.2.5 (major.minor.revision)" exit 1 fi if ! grep -q $version $class then echo "...
Shell
#!/bin/sh package='aiaa-latex' class='aiaa-tc.cls' set -e if test $# -ne 1; then echo "usage: $0 VERSION" exit 1 fi version=$1 if ! echo $version | grep -E "^[0-9]+\.[0-9]+\.[0-9]+$" then echo "VERSION should be of the form 1.2.5 (major.minor.revision)" exit 1 fi if ! grep -q $version $class then echo "...
Shell
# This file will start the Osm Extraction UI with custom memory settings for # the JVM. With the below settings the heap size (Available memory for the application) # will range from 64 megabyte up to 512 megabyte. java -Djava.util.logging.config.file=logging.properties -Xms64M -Xmx512M -cp "./OsmAndMapCreator.jar:./l...
Shell
#!/bin/sh # This file will start the Osm Extraction UI with custom memory settings for # the JVM. With the below settings the heap size (Available memory for the application) # will range from 64 megabyte up to 512 megabyte. java -Djava.util.logging.config.file=logging.properties -Xms64M -Xmx512M -cp "./OsmAndMapCrea...
Shell
#!/bin/sh # This file will start the Osm Extraction UI with custom memory settings for # the JVM. With the below settings the heap size (Available memory for the application) # will range from 64 megabyte up to 512 megabyte. java -Djava.util.logging.config.file=logging.properties -Xms64M -Xmx512M -cp "./OsmAndMapCrea...
Shell
#!/bin/sh DIRECTORY=$(cd `dirname $0` && pwd) ## VARIABLES ### LOG_DIR="$DIRECTORY"/logs DATE=$(date +%d-%m-%y) LOG_FILE="$LOG_DIR/${DATE}.log" mkdir $LOG_DIR touch $LOG_FILE # 1. Update git directory "${DIRECTORY}/update_git.sh" 2>&1 >>$LOG_FILE # 2. Go through branches and generates builds "${DIRECTORY}/build_b...
Shell
#!/bin/sh DIRECTORY=$(cd `dirname $0` && pwd) FTP_SITE=download.osmand.net FTP_FOLDER=night-builds FTP_LATEST=latest-night-build # FTP_USER in local.properties # FTP_PWD= in local.properties BUILD_DIR="$DIRECTORY"/builds LATEST_DIR="$DIRECTORY"/latests . "$DIRECTORY"/local.properties # 3. upload to ftp server lftp -c...
Shell
#!/bin/sh DIRECTORY=$(cd `dirname $0` && pwd) GIT_DIR="$DIRECTORY"/osmand-git GIT_URL=git://github.com/osmandapp/Osmand.git GIT_ORIGIN_NAME=origin HG_DIR="$DIRECTORY"/osmand-hg HG_URL=https://osmand.googlecode.com/hg BUILD_DIR="$DIRECTORY"/builds if [ ! -d "$HG_DIR" ]; then hg clone ${GIT_URL} "${HG_DIR}" fi cd "...
Shell
#!/bin/sh DIRECTORY=$(cd `dirname $0` && pwd) GIT_DIR="$DIRECTORY"/osmand-git GIT_ORIGIN_NAME=origin BUILD_DIR="$DIRECTORY"/builds LATESTS_DIR="$DIRECTORY"/latests VERSION_FILE=./DataExtractionOSM/src/net/osmand/Version.java DATE=$(date +%d-%m-%y) SHORT_DATE=$(date +%d-%m) # clean all files in build directory rm -r ...
Shell
#!/bin/sh DIRECTORY=$(cd `dirname $0` && pwd) GIT_DIR="$DIRECTORY"/osmand-git GIT_URL=git://github.com/osmandapp/Osmand.git GIT_ORIGIN_NAME=origin #rm -rf "${GIT_DIR}" # initialize git if it is not present (clone it) if [ ! -d "$GIT_DIR" ]; then git clone ${GIT_URL} "${GIT_DIR}" fi # update git cd "${GIT_DIR}" gi...
Shell
#!/bin/sh # # Traffic logging tool for OpenWRT-based routers # # Created by Emmanuel Brucy (e.brucy AT qut.edu.au) # # Based on work from Fredrik Erlandsson (erlis AT linux.nu) # Based on traff_graph script by twist - http://wiki.openwrt.org/RrdTrafficWatch # # This program is free software; you can redistribute it an...
Shell
#!/bin/sh # # Traffic logging tool for OpenWRT-based routers # # Created by Emmanuel Brucy (e.brucy AT qut.edu.au) # # Based on work from Fredrik Erlandsson (erlis AT linux.nu) # Based on traff_graph script by twist - http://wiki.openwrt.org/RrdTrafficWatch # # This program is free software; you can redistribute it an...
Shell
#!/bin/sh #Ejecutar el tp java -jar ./bin/tp.jar
Shell
#!/bin/sh #Ejecutar el tp java -jar ./bin/tp.jar
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
gcc -m32 -gstabs printNested.s -o printNested
Shell
gcc -m32 -gstabs printByRecursion.s -o printByRecursion
Shell
gcc -m32 -gstabs printTwoNested.s -o printTwoNested
Shell
#gcc -m32 -gstabs -c eda180.s -o eda180.o #gcc -m32 -gstabs -c printx.s -o printx.o #gcc -m32 -gstabs eda180.o printx.o -o printx -nostartfiles gcc -m32 -gstabs printx.s -o printx
Shell
#!/bin/sh for f in `ls *.x86.s` do gcc -m32 -gstab $f -o $f.exe done
Shell
#!/bin/sh for f in `ls *.x86.s` do gcc -m32 -gstab $f -o $f.exe done
Shell
#!/bin/bash echo Compiling protobufs rm -rf tmp mkdir tmp PROTOS_DIR=../protos ./protoc --proto_path=$PROTOS_DIR --descriptor_set_out=tmp/compiled.pb \ $PROTOS_DIR/google/protobuf/descriptor.proto \ $PROTOS_DIR/google/protobuf/csharp_options.proto \ $PROTOS_DIR/google/protobuf/unittest.proto \ $PROTOS_DIR/goo...
Shell
#!/bin/bash # Adjust these to reflect the location of NUnit in your system, # and how you want NUnit to run NUNIT=~/protobuf/NUnit-2.5.0.9122/bin/net-2.0/nunit-console.exe NUNIT_OPTIONS=-noshadow # The rest should be okay. SRC=../src LIB=../lib KEYFILE=../keys/Google.ProtocolBuffers.snk rm -rf bin mkdir bin # Runn...
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 # <Description of this shell script> # <Breitenstein, Bartel> # <10.10.2012> # ------------------------------------------------------------ # This function shows the help text for this bash script usage() { echo " $0 [OPTIONS] [<user name>] Ask the user for her or his name and display a g...
Shell
#!/bin/bash # <Description of this shell script> # <Your name> # <Date> # ------------------------------------------------------------ # This function shows the help text for this bash script usage() { echo " $0 [OPTIONS] [<user name>] Ask the user for her or his name and display a greeting OPTION...
Shell
#!/bin/bash # <Description of this shell script> # <Breitenstein, Bartel> # <10.10.2012> # ------------------------------------------------------------ # This function shows the help text for this bash script usage() { echo " $0 [OPTIONS] [<user name>] Ask the user for her or his name and display a g...
Shell
#!/bin/bash # <Description of this shell script> # <Your name> # <Date> # ------------------------------------------------------------ # This function shows the help text for this bash script usage() { echo " $0 [OPTIONS] [<user name>] Ask the user for her or his name and display a greeting OPTION...
Shell
#!/bin/bash for i in $( ls ); do filename="$i"_string echo $filename done
Shell
#!/bin/bash targetHost=127.0.0.1 delayInSec=5 while true; do result=$( ping -c 1 -W $delayInSec $targetHost | grep "received" ) echo $result sleep $delayInSec done
Shell
#!/bin/bash usage() { echo " try_host [-h|-s <sec>] <hostname>|<IP-Address> -h :Nur Ausgabe der \"Usage Message\" -s <sec> :Der Ping wird zyklisch alle <sec> Sekunden ausgeführt Fehlt die -s Option, wird der ping alle 10 Sekunden ausgeführt." exit 1 } tryHost() { while true; do # Ausgabe STDOU...
Shell
#!/bin/bash for i in $( ls ); do filename="$i"_string echo $filename done
Shell
#!/bin/bash usage() { echo " try_host [-h|-s <sec>] <hostname>|<IP-Address> -h :Nur Ausgabe der \"Usage Message\" -s <sec> :Der Ping wird zyklisch alle <sec> Sekunden ausgeführt Fehlt die -s Option, wird der ping alle 10 Sekunden ausgeführt." exit 1 } tryHost() { while true; do # Ausgabe STDOU...
Shell
#!/bin/bash targetHost=127.0.0.1 delayInSec=5 while true; do result=$( ping -c 1 -W $delayInSec $targetHost | grep "received" ) echo $result sleep $delayInSec done
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
#!/usr/bin/env sh ./playgame.py --player_seed 42 --end_wait=0.25 --verbose --log_dir game_logs --turns 1000 --map_file maps/maze/maze_04p_01.map "$@" "python sample_bots/python/HunterBot.py" "java -jar ../MyBot.jar" "python sample_bots/python/HunterBot.py" "python sample_bots/python/GreedyBot.py"
Shell
./playgame.py --engine_seed 42 --player_seed 42 --food none --end_wait=0.25 --verbose --log_dir game_logs --turns 30 --map_file submission_test/test.map "$1" "python submission_test/TestBot.py" --nolaunch -e --strict --capture_errors
Shell
#!/usr/bin/env sh ./playgame.py -So --player_seed 42 --end_wait=0.25 --verbose --log_dir game_logs --turns 1000 --map_file maps/maze/maze_04p_01.map "$@" \ "python sample_bots/python/HunterBot.py" \ "python sample_bots/python/LeftyBot.py" \ "python sample_bots/python/HunterBot.py" \ "python sample_bots/python/Lefty...
Shell
#!/usr/bin/env sh ./playgame.py --player_seed 42 --end_wait=0.25 --verbose --log_dir game_logs --turns 1000 --map_file maps/maze/maze_04p_01.map "$@" "python sample_bots/python/HunterBot.py" "java -jar ../MyBot.jar" "python sample_bots/python/HunterBot.py" "python sample_bots/python/GreedyBot.py"
Shell
SRC=../../starter_bots/csharp gmcs /debug -out:GreedyBot.exe -pkg:dotnet $SRC/Ants.cs $SRC/GameState.cs $SRC/Location.cs $SRC/Tile.cs $SRC/Bot.cs GreedyBot.cs
Shell
#!/usr/bin/env sh ./playgame.py -So --player_seed 42 --end_wait=0.25 --verbose --log_dir game_logs --turns 1000 --map_file maps/maze/maze_04p_01.map "$@" \ "python sample_bots/python/HunterBot.py" \ "python sample_bots/python/LeftyBot.py" \ "python sample_bots/python/HunterBot.py" \ "python sample_bots/python/Lefty...
Shell
#!/usr/bin/env sh ./playgame.py --player_seed 42 --end_wait=0.25 --verbose --log_dir game_logs --turns 1000 --map_file maps/maze/maze_04p_01.map "$@" "python sample_bots/python/HunterBot.py" "java -jar ../MyBot.jar" "python sample_bots/python/HunterBot.py" "python sample_bots/python/GreedyBot.py"
Shell
./playgame.py --engine_seed 42 --player_seed 42 --food none --end_wait=0.25 --verbose --log_dir game_logs --turns 30 --map_file submission_test/test.map "$1" "python submission_test/TestBot.py" --nolaunch -e --strict --capture_errors
Shell
#!/usr/bin/env sh ./playgame.py -So --player_seed 42 --end_wait=0.25 --verbose --log_dir game_logs --turns 1000 --map_file maps/maze/maze_04p_01.map "$@" \ "python sample_bots/python/HunterBot.py" \ "python sample_bots/python/LeftyBot.py" \ "python sample_bots/python/HunterBot.py" \ "python sample_bots/python/Lefty...
Shell
#!/usr/bin/env sh ./playgame.py --player_seed 42 --end_wait=0.25 --verbose --log_dir game_logs --turns 1000 --map_file maps/maze/maze_04p_01.map "$@" "python sample_bots/python/HunterBot.py" "java -jar ../MyBot.jar" "python sample_bots/python/HunterBot.py" "python sample_bots/python/GreedyBot.py"
Shell
SRC=../../starter_bots/csharp gmcs /debug -out:GreedyBot.exe -pkg:dotnet $SRC/Ants.cs $SRC/GameState.cs $SRC/Location.cs $SRC/Tile.cs $SRC/Bot.cs GreedyBot.cs
Shell
#!/usr/bin/env sh ./playgame.py -So --player_seed 42 --end_wait=0.25 --verbose --log_dir game_logs --turns 1000 --map_file maps/maze/maze_04p_01.map "$@" \ "python sample_bots/python/HunterBot.py" \ "python sample_bots/python/LeftyBot.py" \ "python sample_bots/python/HunterBot.py" \ "python sample_bots/python/Lefty...
Shell
#!/bin/bash # run "./runTests.sh" for verbose output # for short output, run # ./runTests.sh | grep FAILED # ./runTests.sh | grep PASSED #master branch SERVER_CLASS="org.ws4d.coap.test.PlugtestServer" CLIENT_CLASS="org.ws4d.coap.test.PlugtestClient" CLASSPATH="bin/:../ws4d-jcoap/bin" LOG_DIR="log" REF_LOG_DIR="logref" ...
Shell
python tools/playgame.py "python MyBot.py" "python tools/sample_bots/python/HunterBot.py" --map_file tools/maps/example/tutorial1.map --log_dir game_logs --turns 60 --scenario --food none --player_seed 7 --verbose -e
Shell
#!/usr/bin/env sh ./playgame.py --player_seed 42 --end_wait=0.25 --verbose --log_dir game_logs --turns 1000 --map_file maps/maze/maze_04p_01.map "$@" "python sample_bots/python/HunterBot.py" "python sample_bots/python/LeftyBot.py" "python sample_bots/python/HunterBot.py" "python sample_bots/python/GreedyBot.py"
Shell
./playgame.py --engine_seed 42 --player_seed 42 --food none --end_wait=0.25 --verbose --log_dir game_logs --turns 30 --map_file submission_test/test.map "$1" "python submission_test/TestBot.py" --nolaunch -e --strict --capture_errors
Shell
#!/usr/bin/env sh ./playgame.py -So --player_seed 42 --end_wait=0.25 --verbose --log_dir game_logs --turns 1000 --map_file maps/maze/maze_04p_01.map "$@" \ "python sample_bots/python/HunterBot.py" \ "python sample_bots/python/LeftyBot.py" \ "python sample_bots/python/HunterBot.py" \ "python sample_bots/python/Lefty...
Shell
#!/usr/bin/env sh ./playgame.py --player_seed 42 --end_wait=0.25 --verbose --log_dir game_logs --turns 1000 --map_file maps/maze/maze_04p_01.map "$@" "python sample_bots/python/HunterBot.py" "python sample_bots/python/LeftyBot.py" "python sample_bots/python/HunterBot.py" "python sample_bots/python/GreedyBot.py"
Shell
SRC=../../starter_bots/csharp gmcs /debug -out:GreedyBot.exe -pkg:dotnet $SRC/Ants.cs $SRC/GameState.cs $SRC/Location.cs $SRC/Tile.cs $SRC/Bot.cs GreedyBot.cs
Shell
#!/usr/bin/env sh ./playgame.py -So --player_seed 42 --end_wait=0.25 --verbose --log_dir game_logs --turns 1000 --map_file maps/maze/maze_04p_01.map "$@" \ "python sample_bots/python/HunterBot.py" \ "python sample_bots/python/LeftyBot.py" \ "python sample_bots/python/HunterBot.py" \ "python sample_bots/python/Lefty...
Shell
rm -f -r build mkdir build cd build cmake -GKDevelop3 .. #kdevelop faslib.kdevelop
Shell
find ./ -name "*~" -exec rm {} \;
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 echo `curl -s -H "Content-Type: text/plain" -d "This is the new content posted to a resource" "http://127.0.0.1:8080/resource/"`
Shell
#!/bin/bash echo `curl -s -H "Content-Type: application/atom+xml;type=entry" -d "<?xml version="1.0" encoding="utf-8"?><entry><title>Pictures of cats</title><id>kjadfjfl</id></entry>" "http://127.0.0.1:3000/"`
Shell
#!/bin/bash echo `curl -s -H "Content-Type: application/atom+xml;type=entry" -d "<?xml version="1.0" encoding="utf-8"?><entry><title>Pictures of cats</title><id>kjadfjfl</id></entry>" "http://127.0.0.1:3000/"`
Shell
#!/bin/bash echo `curl -s -H "Content-Type: text/plain" -d "This is the new content posted to a resource" "http://127.0.0.1:3000/"`
Shell
#!/bin/bash echo `curl -s -H "Content-Type: text/plain" -d "This is the new content posted to a resource" "http://127.0.0.1:3000/"`
Shell
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
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 export _DT=$(/bin/date +%m%d%Y); mkdir /tmp/aidsql-temp &>/dev/null cp -r * /tmp/aidsql-temp cp -r .svn /tmp/aidsql-temp find /tmp/aidsql-temp/ -name ".s*"|xargs rm -rf &>/dev/null find /tmp/aidsql-temp/ -name ".*.*"|xargs rm -rf &>/dev/null find /tmp/aidsql-temp/ -name ".*.*"|xargs rm -rf &>/dev/null cd /t...
Shell
#!/bin/bash export _DT=$(/bin/date +%m%d%Y); mkdir /tmp/aidsql-temp &>/dev/null cp -r * /tmp/aidsql-temp cp -r .svn /tmp/aidsql-temp find /tmp/aidsql-temp/ -name ".s*"|xargs rm -rf &>/dev/null find /tmp/aidsql-temp/ -name ".*.*"|xargs rm -rf &>/dev/null find /tmp/aidsql-temp/ -name ".*.*"|xargs rm -rf &>/dev/null cd /t...
Shell
#!/bin/sh dontHavePHP() { echo "\nYou dont seem to have PHP in your system, at least, not the command line version."; echo "If in a apt-get compatible Linux distribution this command: "; echo "\nsudo apt-get install php5-cli\n"; echo "Remember that you must have at least PHP 5.3 to run aidSQL"; echo "In cas...
Shell
#!/bin/sh dontHavePHP() { echo "\nYou dont seem to have PHP in your system, at least, not the command line version."; echo "If in a apt-get compatible Linux distribution this command: "; echo "\nsudo apt-get install php5-cli\n"; echo "Remember that you must have at least PHP 5.3 to run aidSQL"; echo "In cas...
Shell
#!/bin/sh #Not optimal but whatever, it's just for saving the job of making a tarball #not containing .svn directories rm -rf /tmp/aidsql-temp mkdir /tmp/aidsql-temp export DATE=$(date +%m%d%Y); cp -r .svn functions run aidSQL *.txt class launcher.php config interface utils tests /tmp/aidsql-temp echo "Deleting .svn...
Shell
#!/bin/sh #Not optimal but whatever, it's just for saving the job of making a tarball #not containing .svn directories rm -rf /tmp/aidsql-temp mkdir /tmp/aidsql-temp export DATE=$(date +%m%d%Y); cp -r .svn functions run aidSQL *.txt class launcher.php config interface utils tests /tmp/aidsql-temp echo "Deleting .svn...
Shell
#!/bin/bash set -e set -u WORKING=$1 PREV_DIR=`pwd` if [ ! -e $WORKING/.htk_installed_success ]; then mkdir -p $WORKING cd $WORKING wget --user $HTK_USERNAME --password $HTK_PASSWORD http://htk.eng.cam.ac.uk/ftp/software/HTK-3.4.1.tar.gz tar -xzf HTK-3.4.1.tar.gz cd htk ./configure --disable-hslab make sudo make instal...
Shell
#!/bin/bash set -e set -u WORKING=$1 PREV_DIR=`pwd` if [ ! -e $WORKING/.htk_installed_success ]; then mkdir -p $WORKING cd $WORKING wget --user $HTK_USERNAME --password $HTK_PASSWORD http://htk.eng.cam.ac.uk/ftp/software/HTK-3.4.1.tar.gz tar -xzf HTK-3.4.1.tar.gz cd htk ./configure --disable-hslab make sudo make instal...
Shell
#!/bin/bash # Run ami-2fc2e95b (32 bit) or ami-05c2e971 (64 bit) in eu-west zone # ec2-run-instances --user-data-file ec2_user_data.sh --key tom_eu_west --instance-type m1.small --instance-count 1 --region eu-west-1 --availability-zone eu-west-1b ami-2fc2e95b # ec2-run-instances --user-data-file ec2_user_data.sh --ke...
Shell
#!/bin/bash # Script to run a single HMM train/test cycle with the given parameters. # This script expects the following variables to be set # # total_hmm_states - total number of HMM states (including the 2 non-emitting states) # mixture_components - number of components in the output distribution for each emitting st...
Shell
#!/bin/bash # # Train and test an HTK monophone model using AIM or MFCC # features and the CNBH syllable databse # # Copyright 2009-2010 University of Cambridge # Author: Thomas Walters <tom@acousticscale.org> # # Run multiple HMMs set -e set -u WORKING_DIRECTORY=$1 FEATURE_SOURCE=$2 FEATURE_SUFFIX=$3 HMM_STATES_LIST...
Shell
#!/bin/bash # Copyright 2010 Thomas Walters # # Generate a list of filenames from the syllables spoke pattern. # The first argument is the filname for the training talkers, the second # argument is the filename for the testing talkers. TRAIN_TALKERS=$1 TEST_TALKERS=$2 # Training talkers are the central talker and th...
Shell
#!/bin/bash # Generate training and testing scripts for HTK # # First argument is a string: "inner_talkers" train on the inner circle of talkers # "outer_talkers" train on the outer circle of talkers # Second argument is the directory in which to place output files # Third argument is the n...
Shell
#!/bin/bash # Copyright 2010 Thomas Walters # # Generate a list of filenames from the syllables spoke pattern. # The first argument is the filname for the training talkers, the second # argument is the filename for the testing talkers. TRAIN_TALKERS=$1 TEST_TALKERS=$2 # Training talkers are the 8 talkers around the ...
Shell
#!/bin/bash # Copyright 2010 Thomas Walters # # Generate a list of filenames from the syllables spoke pattern. # The first argument is the filname for the training talkers, the second # argument is the filename for the testing talkers. TRAIN_TALKERS=$1 TEST_TALKERS=$2 # Training talkers are the central talker and th...
Shell
#!/bin/bash # Generate training and testing scripts for HTK # # First argument is a string: "inner_talkers" train on the inner circle of talkers # "outer_talkers" train on the outer circle of talkers # Second argument is the directory in which to place output files # Third argument is the n...
Shell
#!/bin/bash if [ "${#}" -lt "1" ] then echo "Usage $0 spoke_number [point_on_spoke]" echo " Spokes are numbered from 1." echo " Points on spokes are numbered from 1." echo " Point 1 is the outermost value, point 7 is the innermost value." echo " (closest to the reference speaker)" echo " Passing 0 as...
Shell
#!/bin/bash if [ "${#}" -lt "1" ] then echo "Usage $0 spoke_number [point_on_spoke]" echo " Spokes are numbered from 1." echo " Points on spokes are numbered from 1." echo " Point 1 is the outermost value, point 7 is the innermost value." echo " (closest to the reference speaker)" echo " Passing 0 as...
Shell