code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh -e unset BCD_MATH cd gtk make cleaner make make clean make -e BCD_MATH=1 cd .. rm -rf Free42Linux mkdir Free42Linux cp gtk/README Free42Linux cp gtk/free42bin Free42Linux cp gtk/free42dec Free42Linux strip Free42Linux/free42bin strip Free42Linux/free42dec tar cvfz Free42Linux.tgz Free42Linux rm -rf Free42Lin...
Shell
#!/bin/sh rm -rf temp mkdir temp cd temp cvs checkout free42 for i in `cat ../remove` do rm -rf free42/$i done ( cd ../replace ; tar cf - . ) | ( cd free42 ; tar xf - ) find . -type d -name CVS -prune -exec rm -rf {} \; find . -type f -name .cvsignore -exec rm -f {} \; mkdir -p ../../packages PKGNAME=free42-nologo-...
Shell
#!/bin/sh -e # This script builds and packages everything except the Linux version. # It should be run in a Cygwin bash shell (under MS Windows, obviously). unset BCD_MATH mkdir -p packages # Rebuild PalmOS version, Conduit, and PalmOS skins cd palmos make cleaner make make clean make -e BCD_MATH=1 make clean make -...
Shell
#!/bin/sh -e mkdir -p packages cd mac rm -rf "build/Release Binary" rm -rf "build/Release Decimal" xcodebuild -project Free42.xcodeproj -target Free42 -configuration "Release Binary" build xcodebuild -project Free42.xcodeproj -target Free42 -configuration "Release Decimal" build mkdir tmp mv "build/Release Binary/Fre...
Shell
#!/bin/sh -x ./skin2prc -layout "$1" \ -gif "$2" \ -script tmp_skin.sh \ -rcp tmp_skin.rcp \ -skin_id $3 \ -bitmap_id $4 \ -depths $5 \ -density $6 \ -name $7 \ -dither $8 \ -sections $9 sh tmp_skin.sh pilrc -q -ro -o $7.prc -type Skin -creator Fk42 -name $7 tmp_skin.rc...
Shell
#!/bin/sh -e unset BCD_MATH cd gtk make cleaner make make clean make -e BCD_MATH=1 cd ../motif make cleaner make make clean make -e BCD_MATH=1 cd .. rm -rf Free42Linux mkdir Free42Linux mkdir Free42Linux/gtk mkdir Free42Linux/motif cp gtk/README Free42Linux/gtk cp gtk/free42bin Free42Linux/gtk cp gtk/free42dec Free42L...
Shell
#!/bin/bash # # gettext-singularity - gettext wrapper customized to Endgame: Singularity # # Copyright (C) 2012 Rodrigo Silva (MestreLion) <linux@rodrigosilva.com> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # ...
Shell
#!/bin/bash set -x base64 --decode -i butfly-adblock-plain.txt -o butfly-adblock.txt # refresh gfw-list, to be migrate to github. svn cat https://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt > proxy-gfw.txt base64 --decode -i proxy-gfw.txt -o proxy-gfw-plain.txt # encode bf-list. base64 -i butfly...
Shell
#!/bin/bash set -x base64 --decode -i butfly-adblock-plain.txt -o butfly-adblock.txt # refresh gfw-list, to be migrate to github. svn cat https://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt > proxy-gfw.txt base64 --decode -i proxy-gfw.txt -o proxy-gfw-plain.txt # encode bf-list. base64 -i butfly...
Shell
#!/bin/sh # # Usage example: ./generate.sh int Int Integer" # Args are: primitive type, capitalized primitive type, wrapper type # # To make changes to the .java files in this package, # 1. run this script to generate the templates, move the .gen files # somewhere else # 2. modify the template with your intended cha...
Shell
#!/bin/bash # # This script checks the java version and bails if it's less # than Java6 (because we use @Override annotations on interface # overriding methods. It then proceeds to do a maven build that # first cleans, then builds the normal lifecycle through compilation # unit testing (if available) up to packaging. ...
Shell
#!/bin/sh # ------------------------------------------------------------------------ # The phing build script for Unix based systems # $Id: pear-propel-gen,v 1.2 2004/10/17 13:24:09 hlellelid Exp $ # ------------------------------------------------------------------------ # Change this to reflect your environment if ...
Shell
#!/bin/sh # ------------------------------------------------------------------------ # The phing build script for Unix based systems # $Id: pear-propel-gen,v 1.2 2004/10/17 13:24:09 hlellelid Exp $ # ------------------------------------------------------------------------ # Change this to reflect your environment if ...
Shell
#!/bin/sh # # This script cleans up output from tests and examples # # @author Oak Nauhygon <ezpdo4php@gmail.com> # @version $Revision$ $Date: 2005-04-17 12:44:12 -0400 (Sun, 17 Apr 2005) $ # @package ezpdo # @subpackage script # directories to cleanup output_dir="output"; compiled_dir="compiled"; # Set up output d...
Shell
#!/bin/sh # # This script creates and sets permissions on output directories # for EZPDO testing and logging # # @author Oak Nauhygon <ezpdo4php@gmail.com> # @version $Revision$ $Date: 2005-04-17 12:44:12 -0400 (Sun, 17 Apr 2005) $ # @package ezpdo # @subpackage script # directories to setup output_dir="output"; lo...
Shell
#!/bin/sh # # This script cleans up output from tests and examples # # @author Oak Nauhygon <ezpdo4php@gmail.com> # @version $Revision$ $Date: 2005-04-17 12:44:12 -0400 (Sun, 17 Apr 2005) $ # @package ezpdo # @subpackage script # directories to cleanup output_dir="output"; compiled_dir="compiled"; # Set up output d...
Shell
#!/bin/sh # # This script creates and sets permissions on output directories # for EZPDO testing and logging # # @author Oak Nauhygon <ezpdo4php@gmail.com> # @version $Revision$ $Date: 2005-04-17 12:44:12 -0400 (Sun, 17 Apr 2005) $ # @package ezpdo # @subpackage script # directories to setup output_dir="output"; lo...
Shell
<?php // need to use epFilesInDir() in epUtils include_once(dirname(__FILE__) . "/../ezpdo.php"); include_once(EP_SRC_BASE . '/epUtils.php'); /** * Get EZPDO version * @return string */ function _getVersion() { return '1.0.4'; } /** * Recursively get all files under directory * (File names are relative to...
Shell
#!/bin/sh JQUERY_VERSION="1.10.2" STROPHE_VERSION="1.1.2" BOOTSTRAP_VERSION="1.4.0" ADHOC_COMMITISH="87bfedccdb91e2ff7cfb165e989e5259c155b513" cd www_files/js rm -f jquery-$JQUERY_VERSION.min.js wget http://code.jquery.com/jquery-$JQUERY_VERSION.min.js || exit 1 rm -f adhoc.js wget -O adhoc.js "http://git.babelmonke...
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
#! /usr/bin/env bash # :mode=shellscript: # short script for building Mobicents docs and ensuring # necessary files for JDocBook (all-*) are updated # for usage, call ./build_docs.bash without any arguments # EXAMPLES: # mkbk test # ...means: run xmllint on all books, looking for the first that does not build # ...
Shell
#!/bin/sh DT_VERSION=`cat inc/defines.h | awk 'BEGIN {i = 1} /#define DT_VERSION/ {ver[i++] = $3} END {printf("%d.%d.%d\n", ver[1], ver[2], ver[3])}'` SRC_DIR=dwarftherapist-$DT_VERSION TAR_FILE=../dwarftherapist-$DT_VERSION.tar.gz TAR_FILE_ORIG=../dwarftherapist_$DT_VERSION.orig.tar.gz rm -f $TAR_FILE mkdir $SRC_DI...
Shell
#!/bin/bash debuild -us -uc -S sudo pbuilder build ../*.dsc mkdir -p ../packages/lucid cp /var/cache/pbuilder/result/dwarftherapist_0.6.?_i386.deb ../packages/lucid
Shell
#!/bin/bash debuild -us -uc -S sudo pbuilder-dist maverick build ../*.dsc mkdir -p ../packages/maverick cp /home/ehlertjd/pbuilder/maverick_result/dwarftherapist_0.6.?_i386.deb ../packages/maverick
Shell
#!/bin/bash #Build source descriptor debuild -us -uc -S #Other dists in pbuilder for dist in "lucid" "maverick" "sid" "lenny" do #32-bit sudo rm -rf ~/pbuilder/${dist}-i386_result/* sudo pbuilder-dist $dist i386 build ../*.dsc mkdir -p ../packages/dists mkdir -p ../packages/dists/$dist mkdir -p ../packages/di...
Shell
#!/bin/bash # This bash is used to update linux vim from svn alexmajy-mis-rcs directory. SVN_DIR=$HOME/alexmajy-mis-rcs echo "Update svn repository..." svn update read -p "Update *$HOME/[.vimrc|.vim]* from $SVN_DIR, <y/n>" if [ "$REPLY" = "y" ]; then cp --force $SVN_DIR/_vimrc $HOME/.vimrc rm -rf $HOME/.vi...
Shell
#!/bin/bash # This bash is used to update linux vim from svn alexmajy-mis-rcs directory. SVN_DIR=$HOME/alexmajy-mis-rcs echo "Update svn repository..." svn update read -p "Update *$HOME/[.vimrc|.vim]* from $SVN_DIR, <y/n>" if [ "$REPLY" = "y" ]; then cp --force $SVN_DIR/_vimrc $HOME/.vimrc rm -rf $HOME/.vi...
Shell
#!/bin/bash #=============================================================================== # FILE: wrapper.sh # USAGE: ./wrapper.sh executable [cmd-line-args] # DESCRIPTION: Wraps the execution of a programm or script. # Use with xterm: xterm -e wrapper.sh executable cmd-line-ar...
Shell
#!/bin/bash #=============================================================================== # FILE: wrapper.sh # USAGE: ./wrapper.sh executable [cmd-line-args] # DESCRIPTION: Wraps the execution of a programm or script. # Use with xterm: xterm -e wrapper.sh executable cmd-line-ar...
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/sh # # Part of Gerrit Code Review (http://code.google.com/p/gerrit/) # # Copyright (C) 2009 The Android Open Source Project # # 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://w...
Shell
#!/bin/sh export JETTY_HOST=127.0.0.1 export JETTY_PORT=8081 export JETTY_USER=gerrit2 export JETTY_PID=/var/run/jetty$JETTY_PORT.pid export JETTY_HOME=/home/$JETTY_USER/jetty export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.07/jre JAVA_OPTIONS="" JAVA_OPTIONS="$JAVA_OPTIONS -Djetty.host=$JETTY_HOST" export JAVA_OPTION...
Shell
#!/bin/sh include_docs=-Dgerrit.include-documentation=1 while [ $# -gt 0 ] do case "$1" in --no-documentation|--without-documentation) include_docs= shift ;; *) echo >&2 "usage: $0 [--without-documentation]" exit 1 esac done git update-index -q --refresh if test -n "$(git diff-index --name-only HEAD -...
Shell
#!/bin/sh # Update all pom.xml with new build number # # TODO(sop) This should be converted to some sort of # Java based Maven plugin so its fully portable. # POM_FILES=$(git ls-files | grep pom.xml) case "$1" in --snapshot=*) V=$(echo "$1" | perl -pe 's/^--snapshot=//') if [ -z "$V" ] then echo >&2 "usage: $0 ...
Shell
#!/bin/sh set -e SRC=$(ls gerrit-plugin-api/target/gerrit-plugin-api-*-sources.jar) VER=${SRC#gerrit-plugin-api/target/gerrit-plugin-api-} VER=${VER%-sources.jar} type=release case $VER in *-SNAPSHOT) echo >&2 "fatal: Cannot deploy $VER" echo >&2 " Use ./tools/version.sh --release && mvn clean package" e...
Shell
#!/bin/sh # # Launch Gerrit Code Review as a daemon process. # To get the service to restart correctly on reboot, uncomment below (3 lines): # ======================== # chkconfig: 3 99 99 # description: Gerrit Code Review # processname: gerrit # ======================== # Configuration files: # # /etc/default/gerrit...
Shell
#!/bin/sh V=$(git describe HEAD) case "$V" in '') echo >&2 "fatal: no annotated tags, cannot determine version" exit 1 ;; *-g*) echo >&2 "fatal: snapshot $V, cannot determine version" exit 1 ;; v*) echo "$V" | perl -lne 'print $1 if /^v(\d+\.\d+(?:\.\d+)?)/' ;; esac
Shell
#!/bin/sh SYNTAX="Usage: $0 <base rev> <target rev>" if [ "$1" ] then BASEREV="$1" if [ "$2" ] then TARGETREV="$2" else echo "Missing target revision. $SYNTAX" exit 1 fi else echo "$SYNTAX" exit 1 fi hg diff -r $BASEREV -r $TARGETREV cstrike/cfg/* cstrike/addo...
Shell
#!/bin/sh # Note: Copy this script to the source code repository and execute it # from that location. # Program for printing date. PROJECT_DATEPATH='date' PROJECT_UNOFFICIAL=false if [ "$1" ] then if [ "$1" = "--unofficial" ] then PROJECT_UNOFFICIAL=true else PROJECT_DATEPATH=$1 ...
Shell
#!/bin/sh cd src/ echo "$(hg tip)\n" LINES_MAIN=`wc *.sp -l | cut -d ' ' -f1` LINES_OTHER=`wc project/*.* -l | tail -n1 | sed 's/^ *\(.*\) *$/\1/' | cut -d ' ' -f1` LINES_TOTAL="$(($LINES_MAIN + $LINES_OTHER))" echo "Number of lines:" echo "$LINES_MAIN\tmain sp" echo "$LINES_OTHER\tother" echo "\nTotal:" echo "$L...
Shell
#!/bin/sh VERSION="0_8_4" SYNTAX="Usage: $0 [--patch <base rev>]" # Source paths BUILDDIR=build PLUGINFILE=thc_rpg.smx PLUGINFILES="cstrike/*" SOURCEDIR="src/*" # Destination paths RELEASEDIR=release SOURCE_DEST=$RELEASEDIR/addons/sourcemod/scripting PLUGINDIR=$RELEASEDIR/addons/sourcemod/plugins ZIPFILE=thc_rpg_v$...
Shell
make clean
Shell
make HEEDS
Shell
#!/bin/sh # Runs pylint on all python files in codereview/ # # Skips over 'cpplint' which is a third part in the chromium branch. # ROOT=$(dirname $(readlink -f $0))/.. GAE=$ROOT/../google_appengine FILES=$(find codereview -iname "*.py" | grep -v "cpplint") IMPORTS=$GAE:$GAE/lib/django_1_2 PYTHONPATH=$IMPORTS:$PYTHONPA...
Shell
#!/bin/sh adb shell cat /data/data/com.google.android.apps.iosched/shared_prefs/com.google.android.apps.iosched_preferences.xml | xmllint --format -
Shell
#!/bin/sh # # Copyright 2013 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
Shell
#!/bin/sh adb shell pm clear 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_BitmapCache VERBOSE
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
#!/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/sh git log --pretty=format:"#define GIT_REVISION \"%H\\0\" %n#define GIT_REVISION_ABBR \"%h\\0\" %n#define GIT_COMMIT_ADATE \"%ai\\0\" %n#define GIT_COMMIT_AT %at" -1 > ./resources/revision.h
Shell
#/bin/sh lrelease ./resources/lcd-image-converter-ru.ts ./resources/lcd-image-converter-ru.qm
Shell
#!/bin/sh # compile translations lrelease resources/lcd-image-converter-ru.ts resources/lcd-image-converter-ru.qm # generate version info ./version-gen.sh qmake make
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi $ADB shell "echo '$*' | sqlite3 -header -column /data/data/com.google.android.apps.iosched/databases/schedule.db"
Shell
#!/bin/sh # Sessions list #adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/sessions # Vendors list #adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/vendors # Session detail #adb shell am start -a...
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi MAC_UNAME="Darwin" if [[ "`uname`" == ${MAC_UNAME} ]]; then DATE_FORMAT="%Y-%m-%dT%H:%M:%S" else DATE_FORMAT="%Y-%m-%d %H:%M:%S" fi if [ -z "$1" ]; then NOW_DATE=$(date "+${DATE_FORMAT}") echo Please provide a mock time in the format \"${NOW_DATE}\" or \"d\" to del...
Shell
#!/bin/sh adb shell cat /data/data/com.google.android.apps.iosched/shared_prefs/com.google.android.apps.iosched_preferences.xml | xmllint --format -
Shell
#!/bin/sh # # Copyright 2013 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
Shell
#!/bin/sh # Remember VERBOSE only works on debug builds of the app adb shell setprop log.tag.iosched_SyncHelper VERBOSE adb shell setprop log.tag.iosched_SessionsHandler VERBOSE adb shell setprop log.tag.iosched_BitmapCache VERBOSE
Shell
#!/bin/sh adb shell pm clear com.google.android.apps.iosched
Shell
#!/usr/bin/env bash ############################################################################## ## ## Gradle start up script for UN*X ## ############################################################################## # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to ...
Shell
#!/bin/sh cd SinglePassTests ./createTestData.sh cd ..
Shell
#!/bin/sh cd DirectoryStructureTests ./createTestData.sh cd ../FileNameTests ./createTestData.sh cd ../PermissionTests ./createTestData.sh cd ../FileVolumeTests ./createTestData.sh cd ../FileSizeTests ./createTestData.sh cd ..
Shell
#!/bin/sh echo "WARNING: this script will create 111,100 small files on your drive, and" echo " it will take quite a while to do so." read -p "Press any key to continue or Ctrl+C to quit..." echo "Creating 100 files..." mkdir -p 100files ./createFiles.sh 100 ./100files/ echo "Creating 1000 files..." mkdir -p...
Shell
#!/bin/bash # Validation if [ -z $1 ]; then echo "Please specify the number of files to create as the first command line parameter." >&2 exit 1 fi if [ -z $2 ]; then echo "Please specify the target directory in which to write the files as the second command line parameter." >&2 exit 1 fi if [ $1 -ge 0 ]; the...
Shell
#!/bin/sh echo "WARNING: this script will fail in unpleasant ways on non-Unicode filesystems." echo "Creating test files with spaces and long names..." echo "This file has space characters in its name." > "file with spaces in the name.txt" echo "This file has an exceptionally long name (longer than 128 characters). It...
Shell
#!/bin/sh mkdir -p sub1/1.1 mkdir -p sub1/1.2 mkdir -p sub1/1.3 mkdir -p sub1/1.4 mkdir -p sub1/1.5 mkdir -p sub1/1.6 mkdir -p sub1/1.7 mkdir -p sub1/1.8 mkdir -p sub1/1.9 mkdir -p sub1/1.10 mkdir -p sub2/sub2.1/sub2.1.1/sub2.1.1.1/sub2.1.1.1.1/sub2.1.1.1.1.1/sub2.1.1.1.1.1.1/sub2.1.1.1.1.1.1.1 mkdir -p sub3 mkdir -p d...
Shell
#!/bin/sh echo "Creating permissioned and non-permissioned files..." echo "The quick brown fox jumps over the lazy dogs." > readable.txt mkdir -p readableDirectory echo "The quick brown fox jumps over the lazy dogs." > unreadable.txt mkdir -p unreadableDirectory chmod ugo-rwx unreadable*
Shell
#!/bin/sh rm -rf readable* chmod u+rwx unreadable* rm -rf unreadable*
Shell
#!/bin/sh echo "WARNING: this script will create around 4.2GB of random data on your drive, and" echo " it will take quite a while to do so." read -p "Press any key to continue or Ctrl+C to quit..." echo "Creating small (KB) files..." touch zeroByte.bin dd if=/dev/urandom of=oneKilobyte.bin bs=1024 count=1 dd...
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 # # 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
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
Shell
#!/bin/bash # $Id$ base=`dirname $0`/.. cd $base VERSION=`grep 'VERSION =' setup.py | cut -d "'" -f2` # Source dists python setup.py sdist --formats=gztar,zip # Eggs python2.4 setup.py bdist_egg --exclude-source-files python2.5 setup.py bdist_egg --exclude-source-files python2.6 setup.py bdist_egg --exclude-source-...
Shell
#!/bin/bash # $Id:$ TOOLS=`dirname $0` BASE=$TOOLS/.. EPYDOC=$TOOLS/epydoc PYTHONPATH=$EPYDOC:$BASE:$PYTHONPATH export PYTHONPATH DOC=$BASE/doc DOC_HTML=$DOC/html DOC_HTML_API=$DOC_HTML/api DOC_HTML_GUIDE=$DOC_HTML/programming_guide DOC_HTML_TUTORIAL=$DOC_HTML/tutorial DOC_PDF=$DOC/pdf function clean() { # Clean...
Shell
#!/bin/bash # $Id:$ ROOT=`dirname $0`/../.. RES=`dirname $0`/res VERSION=`grep 'VERSION =' $ROOT/setup.py | cut -d "'" -f2` rm -rf $ROOT/build # Create AVbin files mkdir -p $ROOT/build/avbin rsync -a /usr/local/lib/libavbin.dylib $ROOT/build/avbin/ cp /usr/local/lib/`ls -l /usr/local/lib/libavbin.dylib | \ sed '...
Shell
#!/bin/bash # $Id:$ PYGLET_ORG=66.35.48.21 PYGLET_DIR=/home/pyglet/www rsync -rv website/dist/* $PYGLET_ORG:$PYGLET_DIR/ #rsync -rv doc/html/* $PYGLET_ORG:$PYGLET_DIR/doc/ #rsync -rv doc/pdf/* $PYGLET_ORG:$PYGLET_DIR/doc/
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/bash # (C) Copyright 2014, 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 to in wr...
Shell
#!/bin/bash if [ $# -ne 1 ] then echo "Usage:$0 scantype" echo "UNLV data comes in several scan types:" echo "3B=300 dpi binary" echo "3A=adaptive thresholded 300 dpi" echo "3G=300 dpi grey" echo "4B=400dpi binary" echo "2B=200dpi binary" echo "For now we only use 3B" exit 1 fi ext=...
Shell
#!/bin/bash # File: runalltests.sh # Description: Script to run a set of UNLV test sets. # Author: Ray Smith # Created: Thu Jun 14 08:21:01 PDT 2007 # # (C) Copyright 2007, Google Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with...
Shell
#!/bin/bash # File: runtestset.sh # Description: Script to run tesseract on a single UNLV set. # Author: Ray Smith # Created: Wed Jun 13 10:13:01 PDT 2007 # # (C) Copyright 2007, Google Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in complianc...
Shell
#!/bin/bash # File: counttestset.sh # Description: Script to count the errors on a single UNLV set. # Author: Ray Smith # Created: Wed Jun 13 11:58:01 PDT 2007 # # (C) Copyright 2007, Google Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in comp...
Shell
#-*- mode: shell-script;-*- # # bash completion support for tesseract # # Copyright (C) 2009 Neskie A. Manuel <neskiem@gmail.com> # Distributed under the Apache License, Version 2.0. # _tesseract_languages() { local TESSDATA="/usr/share/tesseract-ocr/tessdata/" local langs="$(ls $TESSDATA | grep traineddata | cut -...
Shell
#!/bin/bash # # File: generate_manpages.sh # Description: Converts .asc files into man pages, etc. for Tesseract. # Author: eger@google.com (David Eger) # Created: 9 Feb 2012 # # (C) Copyright 2012 Google Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this f...
Shell
#!/bin/sh # This is a simple script which is meant to help developers # better deal with the GNU autotools, specifically: # # aclocal # autoheader # autoconf # automake # # The whole thing is quite complex... # # The idea is to run this collection of tools on a single platform, # typically the main development...
Shell
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
Shell
#!/bin/sh if [ -f Makefile ]; then echo "Making disclean..." make distclean fi echo "Removing autogenned files..." rm -rf aclocal.m4 config.guess config.h.in config.sub configure depcomp install-sh Makefile.in missing */Makefile.in mkinstalldirs ltmain.sh stamp-h.in ltconfig stamp-h config.h.in~ autom4te.cache ec...
Shell
#!/bin/sh if [ -f Makefile ]; then echo "Making disclean..." make distclean fi echo "Removing autogenned files..." rm -rf aclocal.m4 config.guess config.h.in config.sub configure depcomp install-sh Makefile.in missing */Makefile.in mkinstalldirs ltmain.sh stamp-h.in ltconfig stamp-h config.h.in~ autom4te.cache ec...
Shell
#!/bin/sh autoreconf -f -i echo "Now you can do ./configure, make, make install " exit $?
Shell
#!/bin/sh autoreconf -f -i echo "Now you can do ./configure, make, make install " exit $?
Shell
cd /cygdrive/c/workspace/AndEnginePhysicsBox2DExtension/ /cygdrive/c/workspace/sdk/android-ndk-r6/ndk-build
Shell
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
Shell
#!/bin/bash dir=$(dirname "$0") exec "${dir}"/gbaemu "$@"
Shell
#!/bin/bash dir=$(dirname "$0") exec "${dir}"/nesemu "$@"
Shell
#!/bin/bash dir=$(dirname "$0") exec "${dir}"/2600emu "$@"
Shell
#!/bin/bash dir=$(dirname "$0") exec "${dir}"/mdemu "$@"
Shell