code
stringlengths
1
1.96M
language
stringclasses
1 value
g++ test.cpp md5.cpp -I/usr/local/include/thrift/ -lthrift
Shell
#!/bin/sh DEF_VER=v0.0.0 LF=' ' # First see if there is a version file (included in release tarballs), # then try git-describe, then default. if test -f version then VN=$(cat version) || VN="$DEF_VER" elif test -d .git -o -f .git && VN=$(git describe --match "v[0-9]*" --abbrev=4 HEAD 2>/dev/null) && case "$VN" in...
Shell
#!/bin/bash mkdir -p Library/SDKs/CorePlotSDK mkdir -p Library/Frameworks mkdir -p Library/Developer/Shared/Documentation/DocSets mkdir -p CorePlot/Binaries/iOS/CorePlot unzip CorePlot/Binaries/iOS/CorePlot.zip -d CorePlot/Binaries/iOS/CorePlot cp -r CorePlot/Binaries/iOS/CorePlot/CorePlotSDK/* Library/SDKs/CorePlotS...
Shell
#!/bin/bash # # RunMacOSUnitTests.sh # Copyright 2008 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 require...
Shell
#!/bin/bash # RunIPhoneUnitTest.sh # Copyright 2008 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 ...
Shell
#!/bin/sh # BuildAllSDKs.sh # # This script builds both the Tiger and Leopard versions of the requested # target in the current basic config (debug, release, debug-gcov). This script # should be run from the same directory as the GTM Xcode project file. # # Copyright 2006-2008 Google Inc. # # Licensed under the Apache ...
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/bash #$ -S /bin/bash #$ -cwd #$ -j y #$ -pe impi48 48 #$ -q standard-long.q # source module . /etc/profile.d/modules.sh #module load sge gcc/4.3.4 module load sge intel/compiler/64/11.1/0 ./test
Shell
#!/bin/bash #$ -S /bin/bash #$ -cwd #$ -j y #$ -pe impi48 48 #$ -q standard-long.q # source module . /etc/profile.d/modules.sh #module load sge gcc/4.3.4 module load sge intel/compiler/64/11.1/0 ./test
Shell
<?php /** * @file * This script runs Drupal tests from command line. */ define('SIMPLETEST_SCRIPT_COLOR_PASS', 32); // Green. define('SIMPLETEST_SCRIPT_COLOR_FAIL', 31); // Red. define('SIMPLETEST_SCRIPT_COLOR_EXCEPTION', 33); // Brown. // Set defaults and get overrides. list($args, $count) = simpletest_script_par...
Shell
#!/bin/sh /usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
Shell
#!/bin/sh curl --silent --compressed http://example.com/cron.php
Shell
#!/bin/sh find . -name "*~" -type f | xargs rm -f find . -name ".#*" -type f | xargs rm -f find . -name "*.rej" -type f | xargs rm -f find . -name "*.orig" -type f | xargs rm -f find . -name "DEADJOE" -type f | xargs rm -f find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".t...
Shell
#!/bin/sh /usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
Shell
#!/bin/sh find . -name "*~" -type f | xargs rm -f find . -name ".#*" -type f | xargs rm -f find . -name "*.rej" -type f | xargs rm -f find . -name "*.orig" -type f | xargs rm -f find . -name "DEADJOE" -type f | xargs rm -f find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".t...
Shell
#!/bin/sh curl --silent --compressed http://example.com/cron.php
Shell
#!/bin/bash # Run this from the terminal inside a drupal root folder # i.e. DRUPAL_ROOT_DIR/sites/all/modules/contrib/ctools/tests/ctools.drush.sh function stamp { echo ============== echo timestamp : `date` echo ============== } DRUPAL_ROOT=`drush dd` MODULE_DIR="$DRUPAL_ROOT/sites/all/modules" MODULE_NAME="c...
Shell
#!/bin/bash # Run this from the terminal inside a drupal root folder # i.e. DRUPAL_ROOT_DIR/sites/all/modules/contrib/ctools/tests/ctools.drush.sh function stamp { echo ============== echo timestamp : `date` echo ============== } DRUPAL_ROOT=`drush dd` MODULE_DIR="$DRUPAL_ROOT/sites/all/modules" MODULE_NAME="c...
Shell
#!/bin/bash # This script is used by the MAINTAINERS to generate the CSS files from the Sass # files and make copies of the STARTERKIT stylesheets for the base Zen theme. ORIG=`pwd`; STARTERKIT=../STARTERKIT; # Change directory to the STARTERKIT and run compass with a custom config. cd $STARTERKIT; cp config.rb co...
Shell
#!/bin/bash # This script is used by the MAINTAINERS to generate the CSS files from the Sass # files and make copies of the STARTERKIT stylesheets for the base Zen theme. ORIG=`pwd`; STARTERKIT=../STARTERKIT; # Change directory to the STARTERKIT and run compass with a custom config. cd $STARTERKIT; cp config.rb co...
Shell
#!/bin/bash # This script is used by the MAINTAINERS to generate the CSS files from the Sass # files and make copies of the STARTERKIT stylesheets for the base Zen theme. ORIG=`pwd`; STARTERKIT=../STARTERKIT; # Change directory to the STARTERKIT and run compass with a custom config. cd $STARTERKIT; cp config.rb co...
Shell
#!/bin/bash # This script is used by the MAINTAINERS to generate the CSS files from the Sass # files and make copies of the STARTERKIT stylesheets for the base Zen theme. ORIG=`pwd`; STARTERKIT=../STARTERKIT; # Change directory to the STARTERKIT and run compass with a custom config. cd $STARTERKIT; cp config.rb co...
Shell
#! /bin/bash err_exit() { echo "err: $@" exit 1 } pts=$(readlink /proc/$$/fd/0) || err_exit "query pts fail" pts=${pts#/dev/} echo pts=$pts [ -z "$pts" -o -n "${pts##pts/*}" ] && err_exit "Only support pts." info=$(who | grep "$pts") echo info=$info ip=${info##* (} ip=${ip%)} echo ip=$ip echo Do mount from $ip o...
Shell
#!/bin/bash dmd -D -c -o- ../modules/*.d candydoc/candy.ddoc candydoc/modules.ddoc
Shell
#!/bin/bash gdc -fdoc -c -fsyntax-only ../modules/*.d -fdoc-inc=candydoc/candy.ddoc -fdoc-inc=candydoc/modules.ddoc -I ../modules
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
#!/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.sh' echo 'Requires Ubuntu 10.04 (LTS) 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 install python-software-properties add...
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 -f root=/Users/mac/dev/svn/ycoaweb/war/WEB-INF/lib/ export CLASSPATH=${root}/appengine-api-1.0-sdk-1.4.0.jar:${root}/appengine-api-labs-1.4.0.jar:${root}/commons-fileupload-1.2.2.jar:${root}/commons-io-2.0.1.jar:${root}/gaelyk-0.6.1.jar:${root}/groovy-all-1.7.6.jar:${root}/jdo-api-3.0.jar groovy -cp $CLAS...
Shell
#!/bin/bash -f root=/Users/mac/dev/svn/ycoaweb/war/WEB-INF/lib/ export CLASSPATH=${root}/appengine-api-1.0-sdk-1.4.0.jar:${root}/appengine-api-labs-1.4.0.jar:${root}/commons-fileupload-1.2.2.jar:${root}/commons-io-2.0.1.jar:${root}/gaelyk-0.6.1.jar:${root}/groovy-all-1.7.6.jar:${root}/jdo-api-3.0.jar groovy -cp $CLAS...
Shell
#!/bin/bash # # NAME=ydpd EXENAME=ydpd EXEPATH="/home/jacob/workspace/prj_doni/ydpd/trunk/srcs/" PIDFILE=/var/run/$NAME.pid case "$1" in start) # Start daemons. printf "%-20s" "Starting $NAME ..." PID=`$EXEPATH$EXENAME > /dev/null 2>&1` if [ -z $PID ]; then printf "%s\n" "Fail" else echo $PID > $PIDFIL...
Shell
#!/bin/bash # # NAME=ydpd EXENAME=ydpd EXEPATH="/home/jacob/workspace/prj_doni/ydpd/trunk/srcs/" PIDFILE=/var/run/$NAME.pid case "$1" in start) # Start daemons. printf "%-20s" "Starting $NAME ..." PID=`$EXEPATH$EXENAME > /dev/null 2>&1` if [ -z $PID ]; then printf "%s\n" "Fail" else echo $PID > $PIDFIL...
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 DIR="$( cd "$( dirname "$0" )" && pwd )" javac -target 1.5 -source 1.5 $DIR/testlibs/*.java if [ -n "$JYTHON_HOME" ] then javac -cp $JYTHON_HOME/jython.jar -target 1.5 -source 1.5 $DIR/listeners/*.java else echo set JYTHON_HOME to compile listeners fi
Shell
#!/bin/bash testdir=`dirname $0` pybot --loglevel DEBUG --log none --report none --outputdir $testdir $testdir/example.txt python $testdir/../statuschecker.py $testdir/output.xml rebot $testdir/output.xml echo "$? tests failed, 5 should have failed." echo "Check that tests starting with 'FAILURE:' have failed and other...
Shell
#!/bin/bash dirname=robotframework-c-example zipname=$dirname-$(date +%Y%m%d).zip files="README.txt login.c LoginLibrary.py LoginTests.tsv Makefile" rm -rf $dirname $zipname mkdir $dirname echo Copying... for file in $files; do cp -v $file $dirname done echo Zipping... zip -r $zipname $dirname rm -rf $dirname ech...
Shell
#!/bin/bash base=`dirname $0` ROBOT_SYSLOG_FILE=$base/tmp/syslog.txt python $base/src/robot/run.py -P $base/atest/testresources/testlibs -P $base/tmp -L debug -d $base/tmp "$@"
Shell
#!/bin/bash pybot --outputdir results --exclude parallel atest/
Shell
#!/bin/bash python src/robot/rebot.py $1 >/dev/null & #/usr/lib/jvm/java-6-sun/jre/bin/java -Xmx1024m -Xss1024k -classpath /home/jth/opt/jython2.5.1/jython.jar: -Dpython.home=/home/jth/opt/jython2.5.1 -Dpython.executable=/home/jth/opt/jython2.5.1/jython org.python.util.jython src/robot/rebot.py $1 >/dev/null & rebotpid...
Shell
java -cp ifmo.jar:log4j-1.2.15.jar ru.ifmo.network.skype.Launcher
Shell
#!/bin/sh # Copyright 2009 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
Shell
CP=$HOME/.m2/repository/org/slf4j/slf4j-simple/1.5.6/slf4j-simple-1.5.6.jar CP=$CP:$HOME/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar CP=$CP:$HOME/.m2/repository/org/antlr/antlr-runtime/3.1.1/antlr-runtime-3.1.1.jar CP=$CP:$HOME/.m2/repository/org/scala-lang/scala-library/2.7.5/scala-library-2.7.5.jar C...
Shell
#!/bin/sh for root in compiler core interpreter do for i in $(find $root -name "*.scala") do head -2 $i | tail -1 | grep -v Copyright && echo $i done done
Shell
#!/bin/sh set -x cmd_script=${0} cmd_args=${@} if [ ${#} -gt 0 ]; then if [ ${1} = -N ]; then shift cmd_args invoke ${cmd_args} fi fi orig_dir=`pwd` project_dir=${orig_dir}/`dirname ${cmd_script}` dirs=`find ${orig_dir} -name "pom.yml"` #for dir in ${raw_dirs}; do # dir=`dirname ${dir}` # dirs+=`echo "...
Shell
#!/bin/sh noop injection.Injection --server http://google.com
Shell
#!/usr/bin/sh # for this to work you need to have the following installed: # - Xcode: http://developer.apple.com/ # - git: http://help.github.com/mac-git-installation/ # - mercurial / hg: http://mercurial.berkwood.com/ # pull three20 cd .. git clone git://github.com/facebook/three20.git # pull mailcore hg clone http:...
Shell
#!/bin/bash # # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
Shell
#!/bin/bash # Copyright 2015 Google Inc. All Rights Reserved. # # 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 appli...
Shell
# Copyright 2013 Google Inc. All Rights Reserved. # # # This script sets up all build/test dependencies including Google App Engine, # WebTest, Selenium, Chromedriver, etc. All other scripts will include this # script to setup these dependencies. # # Force shell to fail on any errors. set -e shopt -s nullglob # Se...
Shell
#!/bin/bash # Copyright 2014 Google Inc. All Rights Reserved. # # Wrapper script for modules.py that sets up paths correctly. Usage from your # coursebuilder/ folder: # # sh scripts/modules.sh [args] set -e . "$(dirname "$0")/common.sh" python "$COURSEBUILDER_HOME/scripts/modules.py" "$@"
Shell
#!/bin/bash # Copyright 2012 Google Inc. All Rights Reserved. # # author: sll@google.com (Sean Lip) # Run this script from the Course Builder folder as follows: # sh ./scripts/test.sh --test_class <dotted test name> # E.g., # Run all tests in a module: # sh ./scripts/test.sh tests.unit.common_safe_dom # # ...
Shell
#! /bin/sh # Copyright 2012 Google Inc. All Rights Reserved. # # author: psimakov@google.com (Pavel Simakov) # # This script starts local developer Google AppEngine server for integration # tests and initializes it with a default data set. # # Run this script from the coursebuilder/ folder: # sh ./scripts/start_i...
Shell
#!/bin/bash # Copyright 2014 Google Inc. All Rights Reserved. # # Usage: # # Run this script from the Course Builder folder. It can be run with the # following arguments: # # Deploy Course Builder to the App Engine app named in app.yaml: # sh ./scripts/deploy.sh # # Deploy Course Builder to the given App Engine ap...
Shell
# Copyright 2012 Google Inc. All Rights Reserved. # # author: psimakov@google.com (Pavel Simakov) # # This script starts local developer Google AppEngine server and initializes it # with the default data set. # # Run this script from the coursebuilder/ folder: # sh ./scripts/start.sh # usage () { echo "Options: -...
Shell
#! /bin/bash # Copyright 2014 Google Inc. All Rights Reserved. # # Wrapper script to launch PyLint ( http://www.pylint.org/ ) against # CourseBuilder sources. This script is automatically run as part of # run_all_tests.py, and can be used on individual files; run with -h # option to get the "help" text on options and...
Shell
# Copyright 2014 Google Inc. All Rights Reserved. # # Set common config variables for developer runtime environment scripts. # NOTE: This file is also evaluated by Python scripts to get configurations # from environment variables. Do not add any non-idempotent side-effects # to this script. export SOURCE_DIR="$( cd "...
Shell
#!/bin/bash # Copyright 2015 Google Inc. All Rights Reserved. # # 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 appli...
Shell
#!/bin/bash # Copyright 2014 Google Inc. All Rights Reserved. # # Wrapper script for tools/etl/etl.py that sets up the environment correctly. # # Run this script as follows: # sh ./scripts/etl.sh <arguments> # # ETL's arguments are involved; pass --help for details. You will need to # provide credentials when usin...
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
#!/bin/bash CP=`ls lib/*.jar|tr '\n' ':'` # Tatoeba indexing uses quite a lot of memory on Linux 64bit JAVA_OPTS=-Xmx1024m java $JAVA_OPTS -cp $CP sk.baka.aedict.indexer.Main "$@"
Shell
#!/bin/bash cd .. # Index Edict # We need edict.gz to be present locally, for Tanaka/Tatoeba parsing wget http://ftp.monash.edu.au/pub/nihongo/edict.gz || exit 1 ./ai.sh -f edict.gz -g --upload || exit 1 # Index Kanjidic ./ai.sh -d -k --upload || exit 1 # Index Tanaka ./ai.sh -d -t --upload || exit 1 # Index Tatoeb...
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-sourc...
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 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/bash osmosis --rx file=input.xml --mw file=output.map bbox=0.1,0.2,0.3,0.4 map-start-position=0.15,0.25 map-start-zoom=16 preferred-language=en comment=testcomment
Shell
#!/bin/bash osmosis --rx file=input.xml --mw file=output.map bbox=0.99,0.99,1.01,1.01
Shell
#!/bin/bash osmosis --rx file=input.xml --mw file=output.map bbox=-1,0,0,1 encoding=double
Shell
#!/bin/bash cd empty/ ./generate.sh cd ../file_header/ ./generate.sh cd ../single_delta_encoding/ ./generate.sh cd ../double_delta_encoding/ ./generate.sh cd ../with_data/ ./generate.sh
Shell
#!/bin/bash osmosis --rx file=input.xml --mw file=output.map bbox=0,0,0.08,0.08 debug-file=true
Shell
#!/bin/bash osmosis --rx file=input.xml --mw file=output.map bbox=-1,0,0,1 encoding=single
Shell
#!/bin/bash #*************************************************************************** #* Copyright (C) 2011 by YunQiang Su * #* wzssyqa@gmail.com * #* * ...
Shell
#!/bin/sh # This script use find and xgettext command to generate the translation template file for openfetion find . -type f -iname "*.c" | xgettext --files-from=- --output=po/pidgin-ofetion.pot --from-code=utf-8 --sort-by-file --language=C --keyword=_ --keyword=gettext --keyword=i18n --keyword=N_ --add-comments --add...
Shell
#!/bin/sh #*************************************************************************** #* Copyright (C) 2011 by YunQiang Su * #* wzssyqa@gmail.com * #* * #*...
Shell
#!/bin/sh ADIUM_FRAMEWORKS_DIR="/Users/Evan/adium/build/Debug/Adium.app/Contents/Frameworks" rm -rf *.framework cp -r "$ADIUM_FRAMEWORKS_DIR"/AIUtilities.framework ./ cp -r "$ADIUM_FRAMEWORKS_DIR"/Adium.framework ./ cp -r "$ADIUM_FRAMEWORKS_DIR"/AdiumLibpurple.framework ./ cp -r "$ADIUM_FRAMEWORKS_DIR"/FriBidi.frame...
Shell