code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/bash dir=$(dirname "$0") exec "${dir}"/gbcemu "$@"
Shell
#!/bin/bash dir=$(dirname "$0") exec "${dir}"/pceemu "$@"
Shell
#!/bin/bash dir=$(dirname "$0") exec "${dir}"/msxemu "$@"
Shell
#!/bin/sh # Run this to set up the build system: configure, makefiles, etc. # (based on the version in enlightenment's cvs) package="vorbisdec" olddir=`pwd` srcdir=`dirname $0` test -z "$srcdir" && srcdir=. cd "$srcdir" DIE=0 echo "checking for autoconf... " (autoconf --version) < /dev/null > /dev/null 2>&1 || { ...
Shell
for arg in "$@" do case $arg in *=*) optarg=`expr "X$arg" : '[^=]*=\(.*\)'` ;; esac case "$arg" in --name=*) name=$optarg ;; --id=*) id=$optarg ;; --version=*) version=$optarg ;; --bundle-name=*) bundleName=$optarg ;; --exec=*) exec=$optarg ;; --vendor=*) vendor=$optarg ...
Shell
for arg in "$@" do case $arg in *=*) optarg=`expr "X$arg" : '[^=]*=\(.*\)'` ;; esac case "$arg" in --name=*) name=$optarg ;; --id=*) id=$optarg ;; --version=*) version=$optarg ;; --version-code=*) versionCode=$optarg ;; --vendor=*) vendor=$optarg ;; --min-sdk=*) minSDK=$op...
Shell
for arg in "$@" do case $arg in *=*) optarg=`expr "X$arg" : '[^=]*=\(.*\)'` ;; esac case "$arg" in --name=*) name=$optarg ;; --id=*) id=$optarg ;; --version=*) version=$optarg ;; --bundle-name=*) bundleName=$optarg ;; --exec=*) exec=$optarg ;; --vendor=*) vendor=$optarg ...
Shell
for arg in "$@" do case $arg in *=*) optarg=`expr "X$arg" : '[^=]*=\(.*\)'` ;; esac #echo $arg case "$arg" in --name=*) name=$optarg ;; --id=*) id=$optarg ;; --version=*) version=$optarg ;; --vendor=*) vendor=$optarg ;; --exec=*) exec=$optarg ;; --required-memory=*) req...
Shell
NEW= for def in $2; do NEW="${NEW}#define ${def/=/ } " done for inc in $3; do NEW="${NEW}#include $inc " done for inc in $4; do NEW="${NEW}#include_next $inc " done if [ -f $1 ]; then OLD=`cat $1`" " #echo -n "$NEW" #echo -n "$OLD" if [[ "$NEW" == "$OLD" ]]; then exit 0 fi fi #echo "writing config to $1" ...
Shell
#!/bin/bash dir=$(dirname "$0") exec "${dir}"/saturnemu "$@"
Shell
#!/bin/bash dir=$(dirname "$0") exec "${dir}"/neoemu "$@"
Shell
#!/bin/bash dir=$(dirname "$0") exec "${dir}"/s9xp "$@"
Shell
#!/bin/bash dir=$(dirname "$0") exec "${dir}"/s9xp "$@"
Shell
g++-4.5 -std=gnu++0x -I../../../.. -o generate generate.cpp
Shell
#!/bin/bash dir=$(dirname "$0") exec "${dir}"/ngpemu "$@"
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 argumen...
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 (the path t...
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 path to this...
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 repository) ...
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 (the 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 ordered #...
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 path to this...
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 # following...
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 repository) # ...
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 (the path...
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 argumen...
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 repository) ...
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 reposito...
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 reposito...
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 ordered #...
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 repository) # ...
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 # following...
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 (the path...
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 argumen...
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 (the path t...
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 path to this...
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 repository) ...
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 (the 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 ordered #...
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 path to this...
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 # following...
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 repository) # ...
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 (the path...
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 argumen...
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 repository) ...
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 reposito...
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 reposito...
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 ordered #...
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 repository) # ...
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 # following...
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 (the path...
Shell
#!/bin/sh # NOTE: requires coverage.py module coverage -e coverage -x geomath_test.py coverage -x geotypes_test.py coverage -x util_test.py coverage -x geocell_test.py coverage -r -m geomath.py geotypes.py util.py geocell.py
Shell
#!/bin/sh /usr/local/bin/Adobe_Flex_Builder/sdks/3.5.0/bin/asdoc -target-player="10.0.42" -locale en_US -define=CONFIG::debugging,false -define=CONFIG::release,false -define=CONFIG::standalone,true -source-path /home/zenyk/workspace/Projects/Flex/VectorViewerStandalone/src/ -source-path /home/zenyk/workspace/Projects/F...
Shell
#!/bin/sh /usr/local/bin/Adobe_Flex_Builder/sdks/3.5.0/bin/asdoc -target-player="10.0.42" -locale en_US -define=CONFIG::debugging,false -define=CONFIG::release,false -define=CONFIG::standalone,true -source-path /home/zenyk/workspace/Projects/Flex/VectorEditorStandalone/src/ -source-path /home/zenyk/workspace/Projects/F...
Shell
#!/bin/sh # ### $Id: run.sh abhayani@redhat.com $ ### # # Mobicents Media Server Control Script # # To use this script run it as root - it will switch to the specified user # # Here is a little (and extremely primitive) startup/shutdown script # for RedHat systems. It assumes that Mobicents Media Server lives in /usr/l...
Shell
#!/bin/sh ### ====================================================================== ### ## ## ## Mobicents SMSC Test Server Bootstrap Script ## ## ...
Shell
#!/bin/sh ### ====================================================================== ### ## ## ## Mobicents SS7 CLI Bootstrap Script ## ## ##...
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-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-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-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 # 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-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 # 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 # 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-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 # 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
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
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/sh # # San Angeles Observation OpenGL ES version example # # This shell script builds the demo application # with executable name "SanOGLES". # # Before running it, make sure that either libGLES_CM.so # or libGLES_CL.so is available in the library path. # Alternatively you can copy one of them to the same # dire...
Shell
#!/bin/ksh # launcher script for jsdoc # Author: Avi Deitcher # # This program is released under the MIT License as follows: # Copyright (c) 2008-2009 Atomic Inc <avi@jsorm.com> # #Permission is hereby granted, free of charge, to any person #obtaining a copy of this software and associated documentation #files (the "...
Shell
#!/bin/bash echo which g++ echo echo Compiling Source files....... #Compile files g++ ALFpackage.cpp -c -o ALFpackage.o; g++ AudioChannel.cpp -c -o AudioChannel.o; g++ CircularBuffer.cpp -c -o CircularBuffer.o g++ DSPFunctions.c -c -o DSPFunctions.o; g++ MathDoubleFuncs.c -c -o MathDoubleFuncs.o; g++ MathFloatFuncs....
Shell
#!/bin/bash echo which g++ echo echo Compiling Source files....... #Compile files g++ ALFpackage.cpp -c -o ALFpackage.o; g++ AudioChannel.cpp -c -o AudioChannel.o; g++ CircularBuffer.cpp -c -o CircularBuffer.o g++ DSPFunctions.c -c -o DSPFunctions.o; g++ MathDoubleFuncs.c -c -o MathDoubleFuncs.o; g++ MathFloatFuncs....
Shell
#!/bin/bash #************************************************# # alf_demo_install.sh # # written by Thomas Hartmann # # based on a Romain Guinots install scripts # # October 04, 2011 # # # #...
Shell
#!/bin/bash #************************************************# # alf_demo_install.sh # # written by Thomas Hartmann # # based on a Romain Guinots install scripts # # October 04, 2011 # # # #...
Shell
#!/bin/bash #extracting tomcat barebones echo "starting alfresco-global.properties configuration" # Contentstore location echo -n "store location configuration ..." sed -i ${TOMCAT_SHARED_DIR}/classes/alfresco-global.properties -e "/^#dir.root/a dir.root=$DIR_ROOT_ESCAPED" echo_outcome $? # Database configuration e...
Shell
#!/bin/bash echo_success() { echo -e "\\033[78G[\033[1;32mOK\033[0;39m]" } echo_failure() { echo -e "\\033[78G[\033[1;31mFAIL\033[0;39m]" } echo_outcome() { if test "$1" -ne "0" then echo_failure else echo_success fi } echo_usage() { echo -e "Usage\t\t: `basename $0` /path/to/war-or-zi...
Shell
#!/bin/bash #extracting tomcat barebones echo -n "extracting tomcat barebones into ${DEST_DIR} ..." tar zxf ${TOMCAT_BASE_ARCHIVE_LOCATION} -C ${DEST_DIR} echo_outcome $? # rename the apache-tomcat-* folder to tomcat if [ ! -d ${TOMCAT_ROOT} ]; then echo -n "renaming tomcat base directory to ${TOMCAT_ROOT}...
Shell
#!/bin/bash #extracting tomcat barebones echo "starting alfresco-global.properties configuration" # Contentstore location echo -n "store location configuration ..." sed -i ${TOMCAT_SHARED_DIR}/classes/alfresco-global.properties -e "/^#dir.root/a dir.root=$DIR_ROOT_ESCAPED" echo_outcome $? # Database configuration e...
Shell
#!/bin/bash echo_success() { echo -e "\\033[78G[\033[1;32mOK\033[0;39m]" } echo_failure() { echo -e "\\033[78G[\033[1;31mFAIL\033[0;39m]" } echo_outcome() { if test "$1" -ne "0" then echo_failure else echo_success fi } echo_usage() { echo -e "Usage\t\t: `basename $0` /path/to/war-or-zi...
Shell
#!/bin/bash echo "chosen database name : $ALF_DB_NAME" # copy setup and remove scripts to extras location echo -n "preparing the db_setup.sql and db_remove.sql scripts ... " if [[ ! -f ${DEST_DIR}/extras ]];then mkdir ${DEST_DIR}/extras fi cp ${SCRIPT_DIR}/sql/mysql/*.sql ${DEST_DIR}/extras # replace only the ...
Shell
#!/bin/bash RESOURCES=${SCRIPT_DIR}/resources # prepare correct JAVA_OPTS J_OPTS="-Xms512m -Xmx1024m -Xss1024k -XX:MaxPermSize=256m -XX:NewSize=256m -server -Dcom.sun.management.jmxremote -Duser.language=en -Duser.country=en -Duser.region=US" # copy windows batch scripts if we are in a windows environment ... skip ...
Shell
#!/bin/bash prepare_amps_dir() { # Usage: prepare_amps_dir <path_to_amp_file> <amps or amps-share> if [ $# -lt 2 ]; then echo "Usage: prepare_amps_dir <path_to_amp_file> <amps or amps-share>" fi echo -n "preparing amp modules ..." TEMP_DIR="/tmp/${ALF_VERSION}-AMPS-TEMP-$(date '+%s')" # make temp folder ...
Shell
#!/bin/bash echo "chosen database name : $ALF_DB_NAME" # copy setup and remove scripts to extras location echo -n "preparing the db_setup.sql and db_remove.sql scripts ... " if [[ ! -f ${DEST_DIR}/extras ]];then mkdir ${DEST_DIR}/extras fi cp ${SCRIPT_DIR}/sql/mysql/*.sql ${DEST_DIR}/extras # replace only the ...
Shell