code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh # Create a backup tar gzip file of the cwd with the date appended # located in the parent directory. FILENAME=../`pwd|xargs basename`-`date -j "+%Y-%m-%d"`.tgz echo Will create $FILENAME tar cfz $FILENAME . echo Done.
Shell
#!/usr/bin/env bash # Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. # For licensing, see LICENSE.html or http://ckeditor.com/license # Use this file to quickly run the sample under Linux. adl application.xml ../../
Shell
#!/usr/bin/env bash # Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. # For licensing, see LICENSE.html or http://ckeditor.com/license # Use this file to quickly run the sample under Linux. adl application.xml ../../
Shell
#!/bin/sh branch="master" trap exit ERR rm -rf _tmp git clone git://github.com/pixhawk/mavlink.git -b $branch _tmp rm -rf _tmp/.git rsync -av _tmp/* . rm -rf _tmp svn add --force *
Shell
#!/bin/bash # # Starts a basic web server on the port specified. # # ./serve.sh 3000 -> http://localhost:3000 # # Copyright 2012 Eric Bidelman <ebidel@gmail.com> port=$1 if [ $# -ne 1 ] then port=8000 fi open http://localhost:$port/template.html && python -m SimpleHTTPServer $port;
Shell
#! /bin/sh # libpng-config # provides configuration info for libpng. # Copyright (C) 2002, 2004, 2006, 2007 Glenn Randers-Pehrson # This code is released under the libpng license. # For conditions of distribution and use, see the disclaimer # and license in png.h # Modeled after libxml-config. version...
Shell
#!/bin/sh echo " There is no \"configure\" script in this distribution of libpng-1.4.4. Instead, please copy the appropriate makefile for your system from the \"scripts\" directory. Read the INSTALL file for more details. Update, July 2004: you can get a \"configure\" based distribution from the...
Shell
#! /bin/sh # libpng-config # provides configuration info for libpng. # Copyright (C) 2002, 2004, 2006, 2007 Glenn Randers-Pehrson # This code is released under the libpng license. # For conditions of distribution and use, see the disclaimer # and license in png.h # Modeled after libxml-config. version...
Shell
#! /bin/sh # libpng-config # provides configuration info for libpng. # Copyright (C) 2002 Glenn Randers-Pehrson # This code is released under the libpng license. # For conditions of distribution and use, see the disclaimer # and license in png.h # Modeled after libxml-config. version=1.4.4 prefix="" ...
Shell
#! /bin/sh # libpng-config # provides configuration info for libpng. # Copyright (C) 2002 Glenn Randers-Pehrson # This code is released under the libpng license. # For conditions of distribution and use, see the disclaimer # and license in png.h # Modeled after libxml-config. version=1.4.4 prefix="" ...
Shell
#!/bin/sh make -f makefile.std sh png2pnm.sh sh pnm2png.sh
Shell
#!/bin/sh # -- grayscale ./png2pnm -noraw ../pngsuite/basn0g01.png basn0g01.pgm ./png2pnm -noraw ../pngsuite/basn0g02.png basn0g02.pgm ./png2pnm -noraw ../pngsuite/basn0g04.png basn0g04.pgm ./png2pnm -noraw ../pngsuite/basn0g08.png basn0g08.pgm ./png2pnm -noraw ../pngsuite/basn0g16.png basn0g16.pgm # -- full-col...
Shell
#!/bin/sh # -- grayscale ./pnm2png basn0g01.pgm basn0g01.png ./pnm2png basn0g02.pgm basn0g02.png ./pnm2png basn0g04.pgm basn0g04.png ./pnm2png basn0g08.pgm basn0g08.png ./pnm2png basn0g16.pgm basn0g16.png # -- full-color ./pnm2png basn2c08.ppm basn2c08.png ./pnm2png basn2c16.ppm basn2c16.png # -- palletted ....
Shell
#!/bin/sh # -- grayscale ./png2pnm -noraw ../pngsuite/basn0g01.png basn0g01.pgm ./png2pnm -noraw ../pngsuite/basn0g02.png basn0g02.pgm ./png2pnm -noraw ../pngsuite/basn0g04.png basn0g04.pgm ./png2pnm -noraw ../pngsuite/basn0g08.png basn0g08.pgm ./png2pnm -noraw ../pngsuite/basn0g16.png basn0g16.pgm # -- full-col...
Shell
#!/bin/sh make -f makefile.std sh png2pnm.sh sh pnm2png.sh
Shell
#!/bin/sh # -- grayscale ./pnm2png basn0g01.pgm basn0g01.png ./pnm2png basn0g02.pgm basn0g02.png ./pnm2png basn0g04.pgm basn0g04.png ./pnm2png basn0g08.pgm basn0g08.png ./pnm2png basn0g16.pgm basn0g16.png # -- full-color ./pnm2png basn2c08.ppm basn2c08.png ./pnm2png basn2c16.ppm basn2c16.png # -- palletted ....
Shell
cp ../../gregbook/rpng2-x.c ../../gregbook/readpng2.[ch] . cp ../../gregbook/COPYING ../../gregbook/LICENSE . cp ../../../*.h . cp ../../../*.c . rm example.c pngtest.c pngw*.c # change the following 2 lines if zlib is somewhere else cp ../../../../zlib/*.h . cp ../../../../zlib/*.c . rm minigzip.c example.c co...
Shell
cp ../../pngminus/png2pnm.c pngm2pnm.c cp ../../../*.h . cp ../../../*.c . rm example.c pngtest.c pngpread.c pngw*.c # change the following 2 lines if zlib is somewhere else cp ../../../../zlib/*.h . cp ../../../../zlib/*.c . rm minigzip.c example.c compress.c deflate.c gz*
Shell
cp ../../pngminus/pnm2png.c pnm2pngm.c cp ../../../*.h . cp ../../../*.c . rm example.c pngtest.c pngr*.c pngpread.c # Change the next 2 lines if zlib is somewhere else. cp ../../../../zlib/*.h . cp ../../../../zlib/*.c . rm inf*.[ch] rm uncompr.c minigzip.c example.c gz*
Shell
#!/bin/sh # configure script for zlib. # # Normally configure builds both a static and a shared library. # If you want to build just a static library, use: ./configure --static # # To impose specific compiler or flags or install directory, use for example: # prefix=$HOME CC=cc CFLAGS="-O4" ./configure # or for csh/t...
Shell
# Generated from ltmain.m4sh. # ltmain.sh (GNU libtool) 2.2.6b # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2009-04-28.21; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free # Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of t...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2009-04-28.21; # UTC # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, # 2008, 2009 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is f...
Shell
#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 # Free Software Foundation, Inc. timestamp='2009-11-20' # This file is (in principle) common to ALL GNU software. # The p...
Shell
#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 # Free Software Foundation, Inc. timestamp='2009-11-20' # This file is free software; you can redistribute it and/or modify ...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2009-04-28.21; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free # Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of t...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2009-04-28.21; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Per...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2009-04-28.21; # UTC # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, # 2008, 2009 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is f...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2009-04-28.21; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Per...
Shell
#!/bin/sh # # dex2jar - Tools to work with android .dex and java .class files # Copyright (c) 2009-2012 Panxiaobo # # 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...
Shell
export CLASSPATH=~/develop/antlr4/dist/antlr-4.0ea-complete.jar:$CLASSPATH java -Xmx500M org.antlr.v4.Tool -parse-listener -visitor $*
Shell
svn co https://gwtupload.googlecode.com/svn/site/gwtupload-gae target/gwtupload-gae find target/gwtupload-gae -type f -name "*html" | xargs svn propset svn:mime-type text/html find target/gwtupload-gae -type f -name "*css" | xargs svn propset svn:mime-type text/css find target/gwtupload-gae -type f -name "*html" -exe...
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 # # Copyright 2010-present Facebook. # # 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 agr...
Shell
#!/bin/sh # # Copyright 2010-present Facebook. # # 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 agr...
Shell
#!/bin/bash set -e # fail early VERS="$1" [ -n "$VERS" ] && VERS="${VERS}_" function die() { echo "Error: " $* echo echo "USage: $0 <version>" echo "Automatically sign [A-Z].apk" exit 1 } [ -z "$1" ] && die shopt -s extglob # extended glob pattern function process() { SRC="$1" BASE="${SRC/.apk/}" ...
Shell
#!/bin/bash echo "## Step 00: initialize" ( if ! [ -d build ]; then mkdir build mkdir build/src mkdir build/src/trunk fi ) fetch() { ( cd src if ! [ -f "${2}/.svn/entries" ]; then mkdir "${2}" cd "${2}" svn co --non-interactive --trust-server-cert "${1}" "." else cd "${2}" sv...
Shell
#!/bin/bash find org/jivesoftware -name '*.java' -exec sed -i 's:import org.xmlpull.mxp1.MXParser:import org.xmlpull.v1.XmlPullParserFactory:' '{}' ';' find org/jivesoftware -name '*.java' -exec sed -i 's:new MXParser():XmlPullParserFactory.newInstance().newPullParser():g' '{}' ';'
Shell
#!/bin/bash rm org/xbill/DNS/spi/DNSJavaNameServiceDescriptor.java
Shell
#!/bin/bash rm -rf org/ietf/ rm -rf org/apache/harmony/auth rm -rf org/apache/harmony/javax/security/auth/kerberos/ rm -rf org/apache/harmony/javax/security/auth/x500/ rm org/apache/harmony/javax/security/auth/Policy.java
Shell
#!/bin/bash find -name '*.java' -exec sed -i 's:import org.apache.harmony.javax.security.sasl.Sasl;:import de.measite.smack.Sasl;:g' '{}' ';'
Shell
#!/bin/bash find org/apache/harmony -name '*.java' -exec sed -i 's:import org.apache.harmony.auth.internal.nls.Messages;::' '{}' ';' find org/apache/harmony -name '*.java' -exec sed -i 's:Messages.getString(\("[^"]*"\)):\1:g' '{}' ';'
Shell
#!/bin/bash rm org/jivesoftware/smack/debugger/LiteDebugger.java rm org/jivesoftware/smackx/debugger/EnhancedDebugger.java rm org/jivesoftware/smackx/debugger/EnhancedDebuggerWindow.java
Shell
#!/bin/bash mkdir -p org/apache/harmony/ mv javax org/apache/harmony/ find org/apache/harmony/ -name '*.java' -exec sed -i 's:package javax:package org.apache.harmony.javax:g' '{}' ';' find -name '*.java' -exec sed -i 's:import javax.security.sasl:import org.apache.harmony.javax.security.sasl:g' '{}' ';' find -name '*...
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 # Source: https://groups.google.com/forum/#!topic/antizapret/lAebxVcPGc8 wget https://raw.github.com/msva/antizapret/master/list.txt BLOCK_LIST=list.txt if [ ! -f $BLOCK_LIST ] then echo "Unable to add blocks to IPTABLES because file $BLOCK_LIST is missing" exit fi CURRENT_RULES=`iptables -...
Shell
#!/usr/bin/env sh ACT="" case "$1" in start) ACT="A" ;; stop) ACT="D" ;; restart) "$0" stop && "$0" start || ( echo "Filed to stop while restarting"; exit 1 ) ;; *) echo "Usage: $0 {start|stop|restart}" >&2 exit 1 ;; esac #TODO: переделать на AWK (?) grep -vE '^$|^#' list.txt | whi...
Shell
#!/bin/bash LIST='/etc/nginx/conf.d/govblock.conf' BLOCKER='/etc/nginx/block_gov' REDIRECT_URL='http://pastebin.com/raw.php?i=9pabJfqB' SITES=/etc/nginx/sites-available/* # create config file with rules LIST_PARENT=`dirname $LIST` mkdir -p $LIST_PARENT echo '# WARNING! This file was generated. Do not change!' > $LIST...
Shell
#!/bin/bash echo "Generating ORMlite resources" java -classpath lib/ormlite-core-4.31.jar:lib/ormlite-android-4.31.jar:bin/res:bin/classes com.j256.ormlite.android.apptools.OrmLiteConfigUtil ormlite_config.txt echo "done."
Shell
#!/bin/sh export LD_LIBRARY_PATH=$(dirname $0)/lib $(dirname $0)/pyew.py "$@"
Shell
#!/bin/bash # # This script allows to execute the org.antlr.Tool class and to pass the # command line arguments to it # ANTLRPATH=`realpath \`dirname $0\`` CLASSPATH="${ANTLRPATH}/lib/antlr-3.2.jar:${ANTLRPATH}/lib/antlr-2.7.7.jar:${ANTLRPATH}/lib/gunit.jar:${ANTLRPATH}/lib/stringtemplate-3.2.jar:${ANTLRPATH}/lib/antl...
Shell
#!/bin/bash # # This script allows to execute the org.antlr.Tool class and to pass the # command line arguments to it # ANTLRPATH=`realpath \`dirname $0\`` CLASSPATH="${ANTLRPATH}/lib/antlr-3.2.jar:${ANTLRPATH}/lib/antlr-2.7.7.jar:${ANTLRPATH}/lib/gunit.jar:${ANTLRPATH}/lib/stringtemplate-3.2.jar:${ANTLRPATH}/lib/antl...
Shell
#!/bin/bash export ANTLR_LIB=`pwd`/lib export CLASSPATH=$CLASSPATH:$ANTLR_LIB/antlr-3.1.3-php.jar:$ANTLR_LIB/antlr-2.7.7.jar:$ANTLR_LIB/antlr-runtime-3.1.3.jar:$ANTLR_LIB/gunit.jar:$ANTLR_LIB/stringtemplate-3.2.jar rm test/t0*.tokens rm test/t0*.php for file in test/*.g do java org.antlr.Tool -make -fo test ${fil...
Shell
#!/bin/bash file=test if [[ $1 ]]; then file=test/$1 fi export PROJ_PATH=`pwd` phpunit --include-path="${PROJ_PATH}:${PROJ_PATH}/runtime/Php/" --verbose ${file}
Shell
#!/bin/bash export ANTLR_LIB=`pwd`/lib export CLASSPATH=$CLASSPATH:$ANTLR_LIB/antlr-3.1.3-php.jar:$ANTLR_LIB/antlr-2.7.7.jar:$ANTLR_LIB/antlr-runtime-3.1.3.jar:$ANTLR_LIB/gunit.jar:$ANTLR_LIB/stringtemplate-3.2.jar rm test/t0*.tokens rm test/t0*.php for file in test/*.g do java org.antlr.Tool -make -fo test ${fil...
Shell
#!/bin/bash file=test if [[ $1 ]]; then file=test/$1 fi export PROJ_PATH=`pwd` phpunit --include-path="${PROJ_PATH}:${PROJ_PATH}/runtime/Php/" --verbose ${file}
Shell
#! /bin/bash # Binary of the Texturepacker: TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker # Shared Spritesheet-Output-Definitions: SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/" SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets" SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src...
Shell
#!/bin/bash # # Starts a basic web server on the port specified. # # ./serve.sh 3000 -> http://localhost:3000 # # Copyright 2012 Eric Bidelman <ebidel@gmail.com> port=$1 if [ $# -ne 1 ] then port=8000 fi if [ $(uname -s) == "Darwin" ] then open=open else open=xdg-open fi $open http://localhost:$port/templat...
Shell
#!/bin/bash PYTHON=${PYTHON:-python} TESTDIR=`dirname "$0"` GPROF2DOT=$TESTDIR/../gprof2dot.py FORCE= if [ "$1" == "-f" ] then FORCE=y shift fi if [ "$1" ] then FORMATS=$@ else FORMATS=" prof pstats oprofile shark callgrind hprof perf " fi for FORMAT in $FORMATS do for PROFILE in $T...
Shell
#!/bin/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 this scr...
Shell
#!/bin/bash #todo make this an Ant task! #OS X #set JAVA_HOME=/usr #solaris JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/ #set PATH=$PATH:$JAVA_HOME/bin export PATH export JAVA_HOME export ANT_OPTS=-Xmx640m set CLASSPATH=.:unversioned/lib/build/buildtasks.jar java com.nurflugel.buildtasks.W...
Shell
#!/bin/bash #OS X #set JAVA_HOME=/usr #solaris JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/ #set PATH=$PATH:$JAVA_HOME/bin export PATH export JAVA_HOME export ANT_OPTS=-Xmx640m #apache-ant-1.7.0/bin/ant -buildfile build/build.xml $* ant -buildfile build/build.xml $*
Shell
#!/bin/bash #todo make this an Ant task! #OS X #set JAVA_HOME=/usr #solaris JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/ #set PATH=$PATH:$JAVA_HOME/bin export PATH export JAVA_HOME export ANT_OPTS=-Xmx640m set CLASSPATH=.:unversioned/lib/build/buildtasks.jar java com.nurflugel.buildtasks.W...
Shell
#!/bin/bash #OS X #set JAVA_HOME=/usr #solaris JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/ #set PATH=$PATH:$JAVA_HOME/bin export PATH export JAVA_HOME export ANT_OPTS=-Xmx640m #apache-ant-1.7.0/bin/ant -buildfile build/build.xml $* ant -buildfile build/build.xml $*
Shell
#!/bin/bash PYTHON=${PYTHON:-python} TESTDIR=`dirname "$0"` GPROF2DOT=$TESTDIR/../gprof2dot.py FORCE= if [ "$1" == "-f" ] then FORCE=y shift fi if [ "$1" ] then FORMATS=$@ else FORMATS=" prof pstats oprofile shark callgrind hprof perf " fi for FORMAT in $FORMATS do for PROFILE in $T...
Shell
#!/bin/bash # # Starts a basic web server on the port specified. # # ./serve.sh 3000 -> http://localhost:3000 # # Copyright 2012 Eric Bidelman <ebidel@gmail.com> port=$1 if [ $# -ne 1 ] then port=8000 fi open http://localhost:$port/template.html && python -m SimpleHTTPServer $port;
Shell
#!/bin/sh # ./test_run.sh orig_main ../orig # ./test_run.sh new_main ../new # ./test_run.sh orig_main ../new cd $1 java -cp $2: Test exit 0
Shell
#!/bin/sh # ./test_run.sh orig_main ../orig # ./test_run.sh new_main ../new # ./test_run.sh orig_main ../new cd $1 java -cp $2: Demo1Main exit 0
Shell
#!/bin/sh javac Util.java javac Registry.java javac Properties.java exit 0
Shell
#!/bin/sh javac -cp ../orig: Demo1Main.java exit 0
Shell
#!/bin/sh # ./test_run.sh orig_main ../orig # ./test_run.sh new_main ../new # ./test_run.sh orig_main ../new cd $1 java -cp $2: TCMain exit 0
Shell
#!/bin/sh # ./test_run.sh orig_main ../orig # ./test_run.sh new_main ../new # ./test_run.sh orig_main ../new cd $1 java -cp $2:../libs/GMC.jar:./ -Djava.library.path=../libs/ TCMain exit 0
Shell
#!/bin/bash rm ~/.blender/2.60/config/scripts/blender2ogre.pickle ## hacks for Tundra1 ## # sudo chmod 777 /opt/realxtend-tundra/pymodules # sudo apt-get install ogre-tools ########### Tundra2 - not working yet ######## # 1. sudo add-apt-repository ppa:ogre-team/ogre # 2. sudo apt-get update # 3. apt-get install li...
Shell
#!/bin/sh -e set -x cd $(dirname $0) home=$(pwd) name=$(basename $home) name_and_date=${name}-$(date --iso) TMPDIR=`mktemp -d /tmp/dist.XXXXXXXXXX` cleanup() { cd rm -rf $TMPDIR } trap cleanup exit make -C doc git tag -f $name_and_date git archive --prefix=$name_and_date/ $name_and_date | \ ( cd $TMPDIR...
Shell
#!/bin/sh -e set -x cd $(dirname $0) home=$(pwd) name=$(basename $home) name_and_date=${name}-$(date --iso) TMPDIR=`mktemp -d /tmp/dist.XXXXXXXXXX` cleanup() { cd rm -rf $TMPDIR } trap cleanup exit make -C doc git tag -f $name_and_date git archive --prefix=$name_and_date/ $name_and_date | \ ( cd $TMPDIR...
Shell
rsync -a -t --progress --delete --exclude *.sh --exclude *.svn ./* naddeoa@umcs.maine.edu:~/public_html/profile
Shell
#!/bin/sh source _locals.sh javadoc -linkoffline http://developer.android.com/reference ${ANDROID_SDK}/docs/reference \ -sourcepath ../src \ -classpath ${ANDROID_SDK}/platforms/android-17/android.jar:${ANDROID_SDK}/tools/support/annotations.jar \ -d ../../out/javadoc/ \ -notree -nonavbar...
Shell
#!/bin/sh # To use this script install the Google App Engine SDK for Java in the directory # /usr/local/appengine-java-sdk /usr/local/appengine-java-sdk/bin/dev_appserver.sh --address=0.0.0.0 web-app
Shell
#!/bin/sh /usr/local/appengine-java-sdk/bin/appcfg.sh update web-app
Shell
/* -*- Engage Auth Widget -*- Copyright (c) 2012, Janrain, Inc. All rights reserved. Version: 2013.1_ws_widgets_rc9 */ "object"!==typeof window.janrain&&(window.janrain={});janrain.apps={}; janrain.apps=function(){var $a,Ca,ja,Pa;function Eb(){var a;a="http:"===document.location.protocol?"http://cdn.quilt.janrain.co...
Shell
#!/bin/sh # simple wrapper script to do gui runs ...e.g., # bin/guirun.sh D=3 # This first is the path to the location of all the parts of the project, # eg, where the src/ classes/ bin/ dirs are located. # CHANGE THIS after copy/move the project ==> #PROJECTDIR=/users/rlr/Courses/530-12W/Src/workspace-AntPher-...
Shell
#!/bin/sh # simple wrapper script to do batch runs ...e.g., # /users/rlr/RePast/Demos-3/heatBugs2/bin/batchrun.sh nB=100 T=400 # this is primarily intended to use be used as the programName in # drone control files. See # /users/rlr/RePast/Demos-3/heatBugs2/Readme.txt # # This first is the path to the location...
Shell
#!/bin/sh # simple wrapper script to compile the program # You can include parameters to the javac on the run line, eg # bin/compile.sh -Xlint:unchecked # This first is the path to the location of all the parts of the project, # eg, where the src/ classes/ bin/ dirs are located. # CHANGE THIS after copy/move the p...
Shell
#!/bin/sh # simple wrapper script to do gui runs ...e.g., # bin/guirun.sh D=3 # This first is the path to the location of all the parts of the project, # eg, where the src/ classes/ bin/ dirs are located. # CHANGE THIS after copy/move the project ==> #PROJECTDIR=/users/rlr/Courses/530-12W/Src/workspace-AntPher-...
Shell
#!/bin/sh # simple wrapper script to compile the program # You can include parameters to the javac on the run line, eg # bin/compile.sh -Xlint:unchecked # This first is the path to the location of all the parts of the project, # eg, where the src/ classes/ bin/ dirs are located. # CHANGE THIS after copy/move the p...
Shell
#!/bin/sh # simple wrapper script to do batch runs ...e.g., # /users/rlr/RePast/Demos-3/heatBugs2/bin/batchrun.sh nB=100 T=400 # this is primarily intended to use be used as the programName in # drone control files. See # /users/rlr/RePast/Demos-3/heatBugs2/Readme.txt # # This first is the path to the location...
Shell
#!/bin/bash cat "$1" | grep -v "^[0-9_.a-zA-Z]\+\\\\\s=" | sed s/^\\\([0-9_\\.a-zA-Z]\\+\\\)\\s\*=\\s\*/\\1\ =\ / | sed s/\\\\u\\\([0-9a-f]\\{4\\}\\\)/\\\\u\\U\\1\\E/g > "$2"
Shell
#!/bin/bash SCRIPT_PATH=$0 RESOLVED_PATH=`readlink -f "$SCRIPT_PATH"` while [ ! "$RESOLVED_PATH" = "$SCRIPT_PATH" ]; do SCRIPT_PATH=$RESOLVED_PATH RESOLVED_PATH=`readlink -f "$SCRIPT_PATH"` done GP_HOME=`dirname "$SCRIPT_PATH"` GP_LOG_DIR="$HOME/.ganttproject.d" # Check if log dir is present (or create it) if [ ...
Shell
#!/bin/sh REV=`hg log -l 1 | grep changeset | cut -d: -f 2 | tr -d ' '` echo $(($REV+1))
Shell
#! /bin/bash # Location where to install GanttProject INSTALL_PATH=/usr/local/share/ganttproject/ # Location of executable of GanttProject GP_EXECUTABLE=/usr/local/bin/ganttproject # Assuming that writing at INSTALL_PATH and GP_EXECUTABLE needs root rights: if [ "$(id -u)" != "0" ]; then echo "This script must be...
Shell
#!/bin/sh set -e if [ -e /usr/bin/ganttproject ]; then rm -f /usr/bin/ganttproject; fi if [ -x "$(which update-mime >/dev/null 2>&1)" ]; then update-mime; fi if [ -x "$(which update-menus 2>/dev/null)" ]; then update-menus; fi
Shell
#!/bin/sh set -e if [ "$1" = "configure" ]; then if [ -e /usr/bin/ganttproject ]; then rm -f /usr/bin/ganttproject; fi ln -s /usr/share/ganttproject/ganttproject /usr/bin/ganttproject if [ -x "$(which update-menus 2>/dev/null)" ]; then update-menus; fi if [ -x "$(which update-mime 2>/dev/null)" ]; then update...
Shell
#!/bin/bash SCRIPT_PATH=$0 GP_HOME=`dirname "$SCRIPT_PATH"` GP_LOG_DIR="$HOME/.ganttproject.d" # Check if log dir is present (or create it) if [ ! -d $GP_LOG_DIR ]; then if [ -e $GP_LOG_DIR ]; then echo "file $GP_LOG_DIR exists and is not a directory" >&2 exit 1 fi if ! mkdir $GP_LOG_DIR ; then ec...
Shell
#!/bin/sh ############################################################################# # Installation # # Small installation script # ############################################################################# # Server data echo "Permissions for ./data/" chmod a+w ./data/cache/ && echo " ./cache/" chmod a+w ./...
Shell
#!/bin/bash #Copyright (C) 2008 Victor Manuel Sanchez Cartagena, Juan Antonio Perez Ortiz # #This file is part of ANTLRArbol. # #ANTLRArbol is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of th...
Shell
#!/bin/bash #Copyright (C) 2008 Victor Manuel Sanchez Cartagena, Juan Antonio Perez Ortiz # #This file is part of ANTLRArbol. # #ANTLRArbol is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of th...
Shell
#!/usr/bin/env bash # Copyright 2009 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. eval $(go tool dist env) export GOARCH GOOS GOROOT export E= case X"$GOARCH" in Xamd64) export A=6 ;; X386) export A=8 ;; Xarm) export A=...
Shell
#!/bin/bash -e # # Copyright 2012 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. # # Tests for import.vim. cd $(dirname $0) cat > base.go <<EOF package test import ( "bytes" "io" "net" "mycorp/foo" ) EOF fail=0 # usage...
Shell
#!/bin/sh # Copyright 2011 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. case "$1" in -*) echo 'usage: benchcmp old.txt new.txt' >&2 echo >&2 echo 'Each input file should be go test -test.run=NONE -test.bench=. > [old,new...
Shell
#!/usr/bin/env bash # Copyright 2010 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. # This is a small script for executing go binaries on the android platform. # # example: # ./a 5.out foo bar baz # # The script exports the l...
Shell