code
stringlengths
1
1.96M
language
stringclasses
1 value
#! /bin/sh ### BEGIN INIT INFO # startup script for Ubuntu and Debian Linux servers # # To use this file # cp ubuntu.sh /etc/init.d/web2py # # To automatitcally start at reboot # sudo update-rc.d web2py defaults # # Provides: web2py # Required-Start: $local_fs $remote_fs # Required-Stop: $local_fs $remo...
Shell
#!/bin/sh # # Author: Tyrone Hattingh # web2py issue: http://code.google.com/p/web2py/issues/detail?id=867 # # 1) vi web2py-scheduler # 2) Paste in the above # 3) Add in the following 2 lines in the web2py-scheduler file # (required for centos i believe): # # # chkconfig: 2345 90 10 # # description: web2py-schedul...
Shell
echo "This script will: 1) install all modules need to run web2py on Ubuntu/Debian 2) install web2py in /home/www-data/ 3) create a self signed sll certificate 4) setup web2py with mod_wsgi 5) overwrite /etc/apache2/sites-available/default 6) restart apache. You may want to read this cript before running it. Press a ...
Shell
echo "This script will: 1) Install modules needed to run web2py on Fedora and CentOS/RHEL 2) Install Python 2.6 to /opt and recompile wsgi if not provided 2) Install web2py in /opt/web-apps/ 3) Configure SELinux and iptables 5) Create a self signed ssl certificate 6) Setup web2py with mod_wsgi 7) Create virtualhost ent...
Shell
#!/bin/bash # # update-web2py.sh # 2009-12-16 # # install in web2py/.. or web2py/ or web2py/scripts as update-web2py.sh # make executable: chmod +x web2py.sh # # save a snapshot of current web2py/ as web2py/../web2py-version.zip # download the current stable version of web2py # unzip downloaded version over web2...
Shell
# run from web2py root folder because of autodoc & web2py import behaviour!!!! sphinx-build -b html -w doc/sphinx-build.log -Ea doc/source applications/examples/static/sphinx #sphinx-build -b html -w sphinx-build.log -Ea source ../applications/examples/static/sphinx
Shell
#grant all privileges on *.* to beaver@localhost identified by 'angry' with grant option; drop database studentsdb; create database studentsdb; use studentsdb; create table students(sid int NOT NULL AUTO_INCREMENT PRIMARY KEY , name varchar(25), reg_no varchar(10) UNIQUE, year_of_study int); create table courses(cid ...
Shell
#!/bin/sh sh ant/bin/ant $*
Shell
#!/bin/sh sh ant/bin/ant $*
Shell
#!/bin/bash set -e echo -n "Enter the version for this release: " read ver if [ ! $ver ]; then echo "Invalid version." exit fi name="select2" js="$name.js" mini="$name.min.js" css="$name.css" release="$name-$ver" tag="$ver" branch="build-$ver" curbranch=`git branch | grep "*" | sed "s/* //"` timestamp=$(date) tok...
Shell
#!/bin/bash set -e echo -n "Enter the version for this release: " read ver if [ ! $ver ]; then echo "Invalid version." exit fi name="select2" js="$name.js" mini="$name.min.js" css="$name.css" release="$name-$ver" tag="$ver" branch="build-$ver" curbranch=`git branch | grep "*" | sed "s/* //"` timestamp=$(date) tok...
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 # 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 echo "Installing zlib" installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads PREFIX=`pwd`/../system/i386-mingw32msvc/ # We need the headers/libraries, zlib.net only provides a dll or source which is more wor...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads if [ ""$1"" = "" ];then targetPlatform="Windows" else targetPlatform=$1 fi if [ ""$2"" = "" ];then targetArchitecture="i386" else targetArchitectu...
Shell
#!/bin/sh echo "Installing libxml2" ./install_zlib.sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads PREFIX=/Developer/Cocotron/1.0/Windows/i386/ $scriptResources/downloadFilesIfNeeded.sh $downloadFolder "ftp:/...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads SSLVERSION=0.9.8h-1 PREFIX=`pwd`/../system/i386-mingw32msvc/openssl-$SSLVERSION INCLUDE=$PREFIX/include BIN=$PREFIX/bin LIB=$PREFIX/lib $scriptResources...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads PREFIX=`pwd`/../system/i386-mingw32msvc/hunspell-1.3.1 BUILD=/tmp/build_hunspell $scriptResources/downloadFilesIfNeeded.sh $downloadFolder http://download...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads if [ ""$1"" = "" ];then targetPlatform="Windows" else targetPlatform=$1 fi if [ ""$2"" = "" ];then targetArchitecture="i386" else targetArchitectu...
Shell
#!/bin/sh #Copyright (c) 2006 Christopher J. W. Lloyd # #Permission is hereby granted, free of charge, to any person obtaining a copy of this #software and associated documentation files (the "Software"), to deal in the Software #without restriction, including without limitation the rights to use, copy, modify, #merge,...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads PREFIX=/Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/i386-mingw32msvc/ $scriptResources/downloadFilesIfNeeded.sh $downloadFolder "http://www.opengl.org/r...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads/pthread PREFIX=/Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/i386-mingw32msvc/ INCLUDE=$PREFIX/include BIN=$PREFIX/bin LIB=$PREFIX/lib mkdir -p $downloa...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads PREFIX=/Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/i386-mingw32msvc/ INCLUDE=$PREFIX/include BIN=$PREFIX/bin LIB=$PREFIX/lib $scriptResources/downloadF...
Shell
#!/bin/sh ./install_FreeType.sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads if [ ""$1"" = "" ];then AGG_VERSION=2.4 else AGG_VERSION=$1 fi PREFIX=`pwd`/../system/i386-mingw32msvc/agg-$AGG_VERSION BUILD=/tm...
Shell
#!/bin/sh ./install_zlib.sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads PREFIX=`pwd`/../system/i386-mingw32msvc/freetype-2.3.5 $scriptResources/downloadFilesIfNeeded.sh $downloadFolder "http://downloads.sour...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads if [ ""$1"" = "" ];then targetPlatform="Windows" else targetPlatform=$1 fi if [ ""$2"" = "" ];then targetArchitecture="i386" else targetArchitectu...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads if [ ""$1"" = "" ];then targetPlatform="Windows" else targetPlatform=$1 fi if [ ""$2"" = "" ];then targetArchitecture="i386" else targetArchitectu...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads if [ ""$1"" = "" ];then targetPlatform="Windows" else targetPlatform=$1 fi if [ ""$2"" = "" ];then targetArchitecture="i386" else targetArchitectu...
Shell
#!/bin/sh #Copyright (c) 2006 Christopher J. W. Lloyd # #Permission is hereby granted, free of charge, to any person obtaining a copy of this #software and associated documentation files (the "Software"), to deal in the Software #without restriction, including without limitation the rights to use, copy, modify, #merge,...
Shell
#!/bin/sh #Copyright (c) 2006 Christopher J. W. Lloyd # #Permission is hereby granted, free of charge, to any person obtaining a copy of this #software and associated documentation files (the "Software"), to deal in the Software #without restriction, including without limitation the rights to use, copy, modify, #merge,...
Shell
#/bin/sh #Copyright (c) 2006 Christopher J. W. Lloyd # #Permission is hereby granted, free of charge, to any person obtaining a copy of this #software and associated documentation files (the "Software"), to deal in the Software #without restriction, including without limitation the rights to use, copy, modify, #merge, ...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads PREFIX=/Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/i386-mingw32msvc/ $scriptResources/downloadFilesIfNeeded.sh $downloadFolder "http://cocotron.googlec...
Shell
#!/bin/bash # the name of the server on which we test export TESTING_SERVER=192.168.2.102 # the directory under which our build directory is available on the _server_ export TESTING_DIR=/Tests # specifies if files should be linked or copied to the test harness folder export TESTING_LINK_FILES=YES
Shell
#!/bin/sh sh ant/bin/ant $*
Shell
#!/bin/sh sh ant/bin/ant $*
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 if [[ -z $ADB ]]; then ADB=adb; fi ./kill_process.sh $ADB shell rm -r /data/data/com.google.android.apps.iosched/*
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 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 adb shell pm clear 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 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 # 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 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/bash echo "Looking for orkut-os-client-*.jar..." # Look for the orkut-os-client bin package in .. or ../dist CANDIDATES=`echo orkut-os-client-*.jar ../orkut-os-client-*.jar ../dist/orkut-os-client-*.jar` JAR="" for i in $CANDIDATES; do if [ -f "$i" ]; then echo "Found: $i" JAR="$i" break...
Shell
#!/bin/sh # # run unit tests under nose if available, # optionally with coverage # # test.sh [cover [gluon.rewrite]] # # easy_install nose # easy_install coverage # NOSETESTS=nosetests COVER=gluon # change to (eg) gluon.rewrite to collect coverage stats on a single module PROCESSES=4 WHICH=`which $NOSETESTS` if ...
Shell
# # Author: Christopher Steel # Organization: Voice of Access # Date: 2010-11-24 # License: Same as Web2py, MIT / GNU # Email: Christopher DOT Steel AT Voice of Access DOT org # # This script will : # download and install virtualenv # start a virtual environment # move into the virtual environment # download a...
Shell
#!/bin/bash # the script should be run # from WEB2PY root directory prog=`basename $0` cd `pwd` chmod +x $prog function web2py_start { nohup ./$prog -a "<recycle>" 2>/dev/null & pid=`pgrep $prog | tail -1` if [ $pid -ne $$ ] then echo "WEB2PY has been started." fi } function web2py_stop { kill -15 `p...
Shell
echo "This script will: 1) Install modules needed to run web2py on Fedora and CentOS/RHEL 2) Install Python 2.6 to /opt and recompile wsgi if not provided 2) Install web2py in /opt/web-apps/ 3) Configure SELinux and iptables 5) Create a self signed ssl certificate 6) Setup web2py with mod_wsgi 7) Create virtualhost ent...
Shell
#!/bin/bash # # /etc/rc.d/init.d/web2pyd # # Starts the Web2py Daemon on Fedora (Red Hat Linux) # # To execute automatically at startup # # sudo chkconfig --add web2pyd # # chkconfig: 2345 90 10 # description: Web2py Daemon # processname: web2pyd # pidfile: /var/lock/subsys/web2pyd source /etc/rc.d/init.d/fun...
Shell
#! /bin/sh ### BEGIN INIT INFO # startup script for Ubuntu and Debian Linux servers # # To use this file # cp ubuntu.sh /etc/init.d/web2py # # To automatitcally start at reboot # sudo update-rc.d web2py defaults # # Provides: web2py # Required-Start: $local_fs $remote_fs # Required-Stop: $local_fs $remo...
Shell
echo "This script will: 1) Install modules needed to run web2py on Fedora and CentOS/RHEL 2) Install Python 2.6 to /opt and recompile wsgi if not provided 2) Install web2py in /opt/web-apps/ 3) Configure SELinux and iptables 5) Create a self signed ssl certificate 6) Setup web2py with mod_wsgi 7) Create virtualhost ent...
Shell
# install virtualenv easy_install virtualenv python virtualenv.py w2env # install missing modules w2env/bin/easy_install -U pysqlite hashlib # donwload web2py and unpack wget http://web2py.com/examples/static/web2py_src.zip unzip web2py_src.zip cd web2py # start web2py using command-line script w2env/bin/python web2py....
Shell
#!/bin/bash echo 'setup-web2py-nginx-uwsgi-ubuntu-precise.sh' echo 'Requires Ubuntu 12.04 and installs Nginx + uWSGI + Web2py' # Get Web2py Admin Password echo -e "Web2py Admin Password: \c " read PW # Upgrade and install needed software apt-get update apt-get -y upgrade apt-get -y dist-upgrade apt-get...
Shell
#!/bin/sh # # Author: Tyrone Hattingh # web2py issue: http://code.google.com/p/web2py/issues/detail?id=867 # # 1) vi web2py-scheduler # 2) Paste in the above # 3) Add in the following 2 lines in the web2py-scheduler file # (required for centos i believe): # # # chkconfig: 2345 90 10 # # description: web2py-schedul...
Shell
#!/bin/bash # # update-web2py.sh # 2009-12-16 # # install in web2py/.. or web2py/ or web2py/scripts as update-web2py.sh # make executable: chmod +x web2py.sh # # save a snapshot of current web2py/ as web2py/../web2py-version.zip # download the current stable version of web2py # unzip downloaded version over web2...
Shell
echo "This script will: 1) install all modules need to run web2py on Ubuntu/Debian 2) install web2py in /home/www-data/ 3) create a self signed sll certificate 4) setup web2py with mod_wsgi 5) overwrite /etc/apache2/sites-available/default 6) restart apache. You may want to read this cript before running it. Press a ...
Shell
chown -R nobody:nobody *.py chown -R nobody:nobody gluon chown -R nobody:nobody scripts chown -R nobody:nobody applications/*/modules/ chown -R nobody:nobody applications/*/models/ chown -R nobody:nobody applications/*/controllers/ chown -R nobody:nobody applications/*/views/ chown -R nobody:nobody applications/*/stati...
Shell
# run from web2py root folder because of autodoc & web2py import behaviour!!!! sphinx-build -b html -w doc/sphinx-build.log -Ea doc/source applications/examples/static/sphinx #sphinx-build -b html -w sphinx-build.log -Ea source ../applications/examples/static/sphinx
Shell
#!/bin/bash curl -O https://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.02.tar.gz curl -O http://leptonica.googlecode.com/files/leptonica-1.69.tar.gz tar -zxvf tesseract-ocr-3.02.02.tar.gz tar -zxvf leptonica-1.69.tar.gz rm -f tesseract-ocr-3.02.02.tar.gz rm -f leptonica-1.69.tar.gz mv tesseract-ocr jni/com_g...
Shell
#!/bin/bash curl -O http://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.eng.tar.gz tar -zxvf tesseract-ocr-3.02.eng.tar.gz rm -f tesseract-ocr-3.02.eng.tar.gz mkdir data mv tesseract-ocr data/tesseract adb push data/ /sdcard/ adb shell sync
Shell
#!/bin/bash treedir=$1 treeprefix=$2 input_reads=$3 max_occurences=$4 if [ $# == 4 ]; then time(./sortReads $input_reads $input_reads.sortReads) time(./blindSearch $treedir $treeprefix $input_reads.sortReads $max_occurences) time(./validateMatches $treedir $treeprefix $input_reads.sortReads.blindSearch $input_rea...
Shell
fastadir=$1 fastaname=$2 tempdir=$3 outputdir=$4 treenameprefix=$5 memforinputbuffers=300000000 maxsubtree=$6 ./fastatotext $fastadir $fastaname $tempdir $treenameprefix $outputdir 0 10000 1000000 ./texttodna $tempdir $treenameprefix $outputdir $treenameprefix 1 ./encodeFolder $outputdir $treenameprefix $tempdir $tree...
Shell
treedir=$1 treeprefix=$2 time(./search $treedir $treeprefix attaagacatggagtctgcaaacaggggccaaaaaccttgccctctctgtaacacgagatcaatctatgctggctggagggatgttaaagtgcttggtgg 100 1) time(./search $treedir $treeprefix atctaggcacagaaaggtcagagagcaccaaacagtttcaacccaaacaagactacctcaaggcatataataagcaaaatctcaaaggtcaaggacaaac 100 1) time(./s...
Shell
treedir=$1 treeprefix=$2 time(./search $treedir $treeprefix tgattctcgt 10 1) time(./search $treedir $treeprefix ctgagcctgc 10 1) time(./search $treedir $treeprefix cgtgcaccat 10 1) time(./search $treedir $treeprefix gtggagccat 10 1) time(./search $treedir $treeprefix aaaaaaaaaa 10 1) time(./search $treedir $treeprefi...
Shell
#!/bin/bash treedir=$1 treeprefix=$2 input_reads=$3 max_occurences=$4 if [ $# == 4 ]; then time(./sortReads $input_reads $input_reads.sortReads) time(./blindSearch $treedir $treeprefix $input_reads.sortReads $max_occurences) time(./validateMatches $treedir $treeprefix $input_reads.sortReads.blindSearch $input_rea...
Shell
#!/bin/bash macdeployqt YACReader.app macdeployqt YACReaderLibrary.app cp -R ./utils ./YACReader.app/Contents/MacOS/ cp -R ./utils ./YACReaderLibrary.app/Contents/MacOS/ cp -R ./release/server ./YACReaderLibrary.app/Contents/MacOS/ cp -R ./release/languages ./YACReader.app/Contents/MacOS/ cp -R ./release/languages ./YA...
Shell
#!/bin/bash rm -R *.app rm -R YACReader-* cd YACReader make clean rm -R YACReader.app cd .. cd YACReaderLibrary make clean rm -R YACReaderLibrary.app cd ..
Shell
#! /bin/bash if [ $2 == "clean" ]; then ./cleanOSX.sh fi echo "Compiling YACReader" cd ./YACReader qmake -spec macx-g++ make cd .. echo "Compiling YACReaderLibrary" cd ./YACReaderLibrary qmake -spec macx-g++ make cd .. echo "Configuring release apps" cp -R ./YACReader/YACReader.app ./YACReader.app cp -R ./YACReader...
Shell
#! /bin/bash echo "Compiling YACReader" cd ./YACReader qmake make cd .. echo "Compiling YACReaderLibrary" cd ./YACReaderLibrary qmake make cd .. echo "Copying to destination folder" dest='YACReader-'$1' X11-'$2'-qt4' mkdir "$dest" cp ./YACReader/YACReader "./${dest}/YACReader" cp ./YACReaderLibrary/YACReaderLibrary ...
Shell
#!/bin/sh PYTHONPATH=./lib python -3 -W ignore pgn2ecodb.py
Shell
#!/bin/sh PYTHONPATH=./lib python -3 -W ignore create_theme_preview.py
Shell
#!/bin/sh PYTHONPATH=../lib python "$@"
Shell
#!/bin/sh python setup.py --command-packages=stdeb.command sdist_dsc --workaround-548392=False bdist_deb
Shell
#!/bin/sh xgettext -o lang/template.po glade/*.glade lib/pychess/Main.py lib/pychess/*/*.py lib/pychess/*/*/*.py sidepanel/*.py sidepanel/*.glade
Shell
#!/bin/bash getLangsForFiles () { echo "en" # default language for F in "$@" do find res/ -name "$F" done \ | sed -n ' s/.*res.[a-z]*-\(..\)-r\(..\).*/\1_\2/p; # yy-rXX => yy_XX s/.*res.[a-z]*-\(..\)\/.*/\1/p; # yy => yy ' } getLangsForDicts () { ls ../Dicts \ | sed 's/.*-//;...
Shell
#!/bin/bash Res=res/ Alt=donottranslate-altchars.xml Map=donottranslate-keymap.xml Out=assets/kbd/ mkdir -p "$Out" for Dir in res/values res/values-* do [ -f $Dir/$Map ] || continue # -o -f $Dir/$Alt ] || continue Args="$Res/values/$Alt" [ -f $Dir/$Alt ] && Args="$Args $Dir/$Alt" Args="$Args $Res/values/$Map...
Shell
#!/bin/bash # # Copyright (c) 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/bash curl -O https://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.02.tar.gz curl -O http://leptonica.googlecode.com/files/leptonica-1.69.tar.gz tar -zxvf tesseract-ocr-3.02.02.tar.gz tar -zxvf leptonica-1.69.tar.gz rm -f tesseract-ocr-3.02.02.tar.gz rm -f leptonica-1.69.tar.gz mv tesseract-ocr jni/com_g...
Shell
#!/bin/bash curl -O http://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.eng.tar.gz tar -zxvf tesseract-ocr-3.02.eng.tar.gz rm -f tesseract-ocr-3.02.eng.tar.gz mkdir data mv tesseract-ocr data/tesseract adb push data/ /sdcard/ adb shell sync
Shell
#!/bin/sh SCRIPTDIR=`dirname $0` cd $SCRIPTDIR/.. RED="0.5 0.5 0.5 0 0 0 0 0 0" GREEN="0 0 0 0.5 0.5 0.5 0 0 0" for x in btn_zoom_down_disabled.9 btn_zoom_down_disabled_focused.9 btn_zoom_down_normal.9 btn_zoom_up_disabled.9 btn_zoom_up_disabled_focused.9 btn_zoom_up_normal.9 btn_zoom_width_normal ; do conv...
Shell
#!/bin/sh SCRIPTDIR=`dirname $0` cd $SCRIPTDIR/.. for x in upfolder folder home recent1 recent2 recent3 recent4 recent5 ; do convert res/drawable-hdpi/$x.png -resize 66.7% res/drawable-mdpi/$x.png convert res/drawable-hdpi/$x.png -resize 50% res/drawable-ldpi/$x.png done
Shell
#!/bin/sh # make sure ndk-build is in path SCRIPTDIR=`dirname $0` MUPDF_FILE=mupdf-snapshot-20111207.tar.gz MUPDF=mupdf #MUPDF_FILE=mupdf-0.9-source.tar.gz #MUPDF=mupdf-0.9 FREETYPE=freetype-2.4.6 OPENJPEG=openjpeg_v1_4_sources_r697 JBIG2DEC=jbig2dec-0.11 JPEGSRC=jpegsrc.v8a.tar.gz JPEGDIR=jpeg-8a cd $SCRIPTDIR/../de...
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 BASE_DIR=`dirname $0` PORT=9877 echo "Starting JsTestDriver Server (http://code.google.com/p/js-test-driver/)" echo "Please open the following url and capture one or more browsers:" echo "http://localhost:$PORT" java -jar "$BASE_DIR/../test/lib/jstestdriver/JsTestDriver.jar" \ --port $PORT \ --...
Shell
#!/bin/bash BASE_DIR=`dirname $0` java -jar "$BASE_DIR/../test/lib/jstestdriver/JsTestDriver.jar" \ --config "$BASE_DIR/../config/jsTestDriver-scenario.conf" \ --basePath "$BASE_DIR/.." \ --tests all --reset
Shell
#!/bin/bash BASE_DIR=`dirname $0` java -jar "$BASE_DIR/../test/lib/jstestdriver/JsTestDriver.jar" \ --config "$BASE_DIR/../config/jsTestDriver.conf" \ --basePath "$BASE_DIR/.." \ --tests all
Shell
#!/bin/bash BASE_DIR=`dirname $0` PORT=9876 echo "Starting JsTestDriver Server (http://code.google.com/p/js-test-driver/)" echo "Please open the following url and capture one or more browsers:" echo "http://localhost:$PORT" java -jar "$BASE_DIR/../test/lib/jstestdriver/JsTestDriver.jar" \ --port $PORT \ --...
Shell
#!/bin/bash curl -O https://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.02.tar.gz curl -O http://leptonica.googlecode.com/files/leptonica-1.69.tar.gz tar -zxvf tesseract-ocr-3.02.02.tar.gz tar -zxvf leptonica-1.69.tar.gz rm -f tesseract-ocr-3.02.02.tar.gz rm -f leptonica-1.69.tar.gz mv tesseract-ocr jni/com_g...
Shell
#!/bin/bash curl -O http://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.eng.tar.gz tar -zxvf tesseract-ocr-3.02.eng.tar.gz rm -f tesseract-ocr-3.02.eng.tar.gz mkdir data mv tesseract-ocr data/tesseract adb push data/ /sdcard/ adb shell sync
Shell
#!/bin/bash INSTALLDIR=/usr/lib/duplicati export LD_LIBRARY_PATH="${INSTALLDIR}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" export MONO_PATH=$MONO_PATH:${INSTALLDIR} EXE_FILE=${INSTALLDIR}/Duplicati.GUI.TrayIcon.exe APP_NAME=Duplicati exec -a "$APP_NAME" mono "$EXE_FILE" "$@"
Shell
#!/bin/bash INSTALLDIR=/usr/lib/duplicati export LD_LIBRARY_PATH="${INSTALLDIR}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" export MONO_PATH=$MONO_PATH:${INSTALLDIR} EXE_FILE=${INSTALLDIR}/Duplicati.CommandLine.exe APP_NAME=Duplicati.CommandLine exec -a "$APP_NAME" mono "$EXE_FILE" "$@"
Shell
#!/bin/bash INSTALLDIR=/usr/lib/duplicati export LD_LIBRARY_PATH="${INSTALLDIR}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" export MONO_PATH=$MONO_PATH:${INSTALLDIR} EXE_FILE=${INSTALLDIR}/Duplicati.Server.exe APP_NAME=DuplicatiServer exec -a "$APP_NAME" mono "$EXE_FILE" "$@"
Shell
#!/bin/bash if [ -e ../oem.js ]; then echo "Installing OEM script" cp ../oem.js build/lib/duplicati/webroot/scripts/ fi if [ -e ../oem.css ]; then echo "Installing OEM stylesheet" cp ../oem.css build/lib/duplicati/webroot/stylesheets/ fi
Shell
#!/bin/sh # # This is a stub script that allows .apps to be relocatable on OSX but still # find the managed assembly. # # This is copied from the Mono macpack tool and modified to fit Duplicati # # The Mono Version Check is from here: # http://mjhutchinson.com/journal/2010/01/24/creating_mac_app_bundle_for_gtk_app #...
Shell
#!/bin/sh # # This is a stub script that allows .apps to be relocatable on OSX but still # find the managed assembly. # # This is copied from the Mono macpack tool and modified to fit Duplicati # # The Mono Version Check is from here: # http://mjhutchinson.com/journal/2010/01/24/creating_mac_app_bundle_for_gtk_app #...
Shell
#!/bin/sh # # DMG building script adopted from: # http://el-tramo.be/git/fancy-dmg/plain/Makefile # WC_DMG=wc.dmg WC_DIR=wc TEMPLATE_DMG=template.dmg SOURCE_FILES=Duplicati.app OUTPUT=Duplicati.dmg UNWANTED_FILES="AlphaVSS.Common.dll AlphaFS.dll AlphaFS.dll.config AlphaVSS.Common.dll.config appindicator-sharp.dll SQ...
Shell
#!/bin/bash DATE=`date +%Y%m%d` git pull bash duplicati-make-git-snapshot.sh mv duplicati-$DATE.tar.bz2 ~/rpmbuild/SOURCES/ cp *.sh ~/rpmbuild/SOURCES/ cp *.patch ~/rpmbuild/SOURCES/ if [ -e ./oem.js ]; then cp ./oem.js ~/rpmbuild/SOURCES/ fi if [ -e ./oem.css ]; then cp ./oem.css ~/rpmbuild/SOURCES/ fi rp...
Shell
#!/bin/sh # Usage: ./duplicati-make-git-snapshot.sh [COMMIT] [DATE] # # to make a snapshot of the given tag/branch. Defaults to HEAD. # Point env var REF to a local duplicati repo to reduce clone time. if [ -z $2 ]; then DATE=`date +%Y%m%d` else DATE=$2 fi DIRNAME="duplicati-$DATE" echo REF ${REF:+--reference ...
Shell