code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/bash #%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # makeepsfigure.m # Copyright (C) 2009 K Hartvig Jensen (kare1234@gmail.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 the F...
Shell
#!/bin/bash #%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # makeepsfigure.m # Copyright (C) 2009 K Hartvig Jensen (kare1234@gmail.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 the F...
Shell
############################################################################## # # Copyright 2010 Kaare Hartvig Jensen # # This file is part of yatii. # # yatii 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...
Shell
############################################################################## # # Copyright 2010 Kaare Hartvig Jensen # # This file is part of yatii. # # yatii 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...
Shell
############################################################################## # # Copyright 2010 Kaare Hartvig Jensen # # This file is part of yatii. # # yatii 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...
Shell
#!/bin/bash #%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # makeepsfigure.m # Copyright (C) 2009 K Hartvig Jensen (kare1234@gmail.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 the F...
Shell
#!/bin/bash #%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # makeepsfigure.m # Copyright (C) 2009 K Hartvig Jensen (kare1234@gmail.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 the F...
Shell
# adjust paths below and then run # . ./android-gcc-setup.sh # to setup build environment export NDK=$HOME/fun/android/android-ndk HOST_TYPE=darwin-x86 ANDROID_VERSION=3 LIBDIR=$NDK/build/platforms/android-$ANDROID_VERSION/arch-arm/usr/lib export CFLAGS="-march=armv5te -mtune=xscale" export CC=$NDK/toolchains/arm-ea...
Shell
#!/bin/sh SCRIPTDIR=`dirname $0` . $SCRIPTDIR/android-gcc-setup.sh cd $SCRIPTDIR/.. if [ ! -d "deps" ] then mkdir -p deps fi cd deps DEPSDIR=$PWD JNIDIR=$DEPSDIR/../jni if [ ! -d "$JNIDIR/pdfview2/lib" ] then mkdir -p $JNIDIR/pdfview2/lib fi if [ ! -d "$JNIDIR/pdfview2/include" ] then mkdir -p $JNIDIR/pd...
Shell
#!/bin/sh cd count_test for i in * ; do if [ -e ../count_test_ref/"$i" ] ; then ../../yasss -c < "$i" | diff - ../count_test_ref/"$i"; if [ $? != "0" ]; then echo -n 'output of `../../yasss -c` < '"$i"' and ' echo "its refernce file differ!" exit 1 fi fi done
Shell
#!/bin/sh cd count_test for i in * ; do if [ -e ../count_test_ref/"$i" ] ; then ../../yasss -c < "$i" | diff - ../count_test_ref/"$i"; if [ $? != "0" ]; then echo -n 'output of `../../yasss -c` < '"$i"' and ' echo "its refernce file differ!" exit 1 fi fi done
Shell
#!/bin/sh REF=canonical_test_ref cd ok_tests for i in * ; do if [ -e ../"$REF"/"$i" ] ; then ../../yasss -C < "$i" | diff - ../"$REF"/"$i"; if [ $? != "0" ]; then echo -n 'output of `../../yasss` < '"$i"' and its refernce' echo " file differ!" exit 1 fi fi done
Shell
#!/bin/sh cd ok_tests for i in * ; do if [ -e ../ok_test_ref/"$i" ] ; then ../../yasss < "$i" | diff - ../ok_test_ref/"$i"; if [ $? != "0" ]; then echo -n 'output of `../../yasss` < '"$i"' and its refernce' echo " file differ!" exit 1 fi fi done
Shell
#!/bin/sh cd ok_tests for i in * ; do if [ -e ../ok_test_ref/"$i" ] ; then ../../yasss < "$i" | diff - ../ok_test_ref/"$i"; if [ $? != "0" ]; then echo -n 'output of `../../yasss` < '"$i"' and its refernce' echo " file differ!" exit 1 fi fi done
Shell
#!/bin/sh REF=canonical_test_ref cd ok_tests for i in * ; do if [ -e ../"$REF"/"$i" ] ; then ../../yasss -C < "$i" | diff - ../"$REF"/"$i"; if [ $? != "0" ]; then echo -n 'output of `../../yasss` < '"$i"' and its refernce' echo " file differ!" exit 1 fi fi done
Shell
#!/bin/bash set -e # Check if the jar has been built. if [ ! -e target/bitcoinj-tools-*.jar ] || [[ "$ALWAYS_BUILD_WALLETTOOL" != "" ]]; then echo "Compiling WalletTool to a JAR" cd ../core mvn install -DskipTests cd ../tools [ -e target/bitcoinj-tools-*.jar ] && rm target/bitcoinj-tools-*.jar mvn package...
Shell
cat README.html nedstat.html > index.html scp index.html yijunsf@yaxx.sourceforge.net:/home/groups/y/ya/yaxx/htdocs/index.html
Shell
./js_parser < cookies.js
Shell
cat README.html nedstat.html > index.html scp index.html yijunsf@yaxx.sourceforge.net:/home/groups/y/ya/yaxx/htdocs/index.html
Shell
./js_parser < cookies.js
Shell
#!/bin/bash xclip -o | /home/maa/soft/shell/ya-translator/ya-translator.py | while read MESSAGE; do notify-send --icon=/home/maa/img/icons/icon-translate.png "Перевод" "$MESSAGE"; done
Shell
#!/bin/bash xclip -o | /home/maa/soft/shell/ya-translator/ya-translator.py | while read MESSAGE; do notify-send --icon=/home/maa/img/icons/icon-translate.png "Перевод" "$MESSAGE"; done
Shell
# See http://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines # for more information on packaging from GIT sources. # Maintainer: Vincenzo Maffione <v.maffione@gmail.com> pkgname=netmap pkgver=2.0 pkgrel=1 pkgdesc="Netmap is a framework for high speed network packet I/O." arch=('any') url="http://info.iet.unipi.it...
Shell
#!/bin/sh #set -x function pgset() { local result echo $1 > ${PGDEV} result=$(cat $PGDEV | fgrep "Result: OK:") if [ "$result" = "" ]; then cat $PGDEV | fgrep "Result:" fi } ##################### Script configuration ###################### N="$1" # number of T...
Shell
#!/bin/sh sed -n 's/^## \?//p' $1 | fmt
Shell
#!/bin/bash ## Manage linux driver patches for netmap. ## usage (from the dir containing the Makefile): ## ## scripts/np <action> [args...] ## ## where <action> is any of the functions below. ## [ -f scripts/conf ] && source scripts/conf ## The following enviroment variables must be set: ## ## GITDIR: the absolu...
Shell
#!/bin/sh #set -x # for debugging if [ -z "$NMSRC" ]; then NMSRC=~/netmap-release fi DRIVER="ixgbe" #IF="eth0" # force an interface if [ ! -f ${NMSRC}/LINUX/netmap_lin.ko ]; then echo "LINUX/netmap_lin.ko missing. Please compile netmap." exit 1 fi if [ ! -f ${NMSRC}/LINUX/${DRIVER}/${DRIVER}.ko ]; the...
Shell
#!/bin/sh # Copyright 2014 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 applica...
Shell
#!/bin/bash source ../../version.pri DIST=`lsb_release -s -i` RELEASE=`lsb_release -s -r` MACHINE=`uname -m` TGZ_PREFIX=Drishti-$VERSION rm -rf $TGZ_PREFIX TGZ_BIN=$TGZ_PREFIX/bin TGZ_LIB=$TGZ_PREFIX/lib TGZ_DOC=$TGZ_PREFIX/doc TGZ_PLUGINS=$TGZ_PREFIX/plugins TGZ_TRANSLATIONS=$TGZ_PREFIX/translations mkdir -p $TG...
Shell
#!/bin/bash mkdir -p ../../3rdParty/build pushd ../../3rdParty/build FETCH="curl -f" FETCH_URL="http://sf.anu.edu.au/~rph900/drishti/3rdParty" INSTALL_PREFIX=`pwd`/.. MACHINE=`uname -m` if [ "$MACHINE" == "x86_64" ]; then echo "64 bit" pushd .. rm -rf lib64 mkdir -p lib ln -s lib lib64 popd fi prep() {...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### DRISHTI_BASENAME="Drishti" DRISHTI_DIR="../../drishti" DRISHTI_APP_BUNDLE_DIR=${BUILD_PRODUCTS_DIR}/${DRISHTI_BASENAME}.app DRISHTI_APP_FRAMEWORK_DIR=${DRISHTI_APP_BUNDLE_DIR}/Cont...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### PAINT_VERSION=${DRISHTI_VERSION} PAINT_BASENAME="Paint" PAINT_DIR="../../tools/paint" PAINT_APP_BUNDLE_DIR=${BUILD_PRODUCTS_DIR}/${PAINT_BASENAME}.app PAINT_APP_FRAMEWORK_DIR=${PAI...
Shell
#!/bin/sh report "Building Third Party dependencies...\n" mkdir -p ../../3rdParty mkdir -p ../../3rdParty/build source scripts/common.sh source scripts/build-freetype.sh || exit 1 source scripts/build-glew.sh || exit 1 source scripts/build-gsfonts.sh || exit 1 source scripts/build-libjpeg.sh || exit 1 source scrip...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### IMPORT_VERSION=${DRISHTI_VERSION} IMPORT_BASENAME="Import" IMPORT_DIR="../../tools/import" IMPORT_APP_BUNDLE_DIR=${BUILD_PRODUCTS_DIR}/${IMPORT_BASENAME}.app IMPORT_APP_FRAMEWORK_D...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### JPEG_VERSION=6b JPEG_BASENAME="jpeg" JPEG_ARCHIVE="${JPEG_BASENAME}src.v${JPEG_VERSION}.tar.gz" JPEG_URL="http://www.hdfgroup.org/ftp/lib-external/jpeg/src/${JPEG_ARCHIVE}" JPEG_P...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### GLEW_VERSION=1.5.2 GLEW_BASENAME="glew" GLEW_ARCHIVE="${GLEW_BASENAME}-${GLEW_VERSION}.tgz" GLEW_DIR="${GLEW_BASENAME}-${GLEW_VERSION}" GLEW_URL="http://prdownloads.sourceforge.net/...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### FT_VERSION=2.3.7 FT_BASENAME="freetype" FT_ARCHIVE="${FT_BASENAME}-${FT_VERSION}.tar.bz2" FT_URL="http://download.savannah.gnu.org/releases/freetype/${FT_ARCHIVE}" FT_DIR="${FT_BASE...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### PNG_VERSION=1.2.43 PNG_BASENAME="libpng" PNG_ARCHIVE="${PNG_BASENAME}-${PNG_VERSION}.tar.gz" PNG_URL="http://prdownloads.sourceforge.net/libpng/${PNG_ARCHIVE}" PNG_DIR="${PNG_BASENA...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### GSF_VERSION=8.11 GSF_BASENAME="fonts" GSF_ARCHIVE="ghostscript-fonts-std-${GSF_VERSION}.tar.gz" GSF_DIR="fonts" GSF_URL="http://prdownloads.sourceforge.net/gs-fonts/${GSF_ARCHIVE}"...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### QT_VERSION=4.7.0-beta2 QT_BASENAME="qt-everywhere-opensource-src" QT_ARCHIVE="${QT_BASENAME}-${QT_VERSION}.tar.gz" QT_DIR="${QT_BASENAME}-${QT_VERSION}" QT_URL="http://get.qt.nokia....
Shell
#!/bin/sh source scripts/common.sh mkdir -p ${THIRD_PARTY_BUILD} pushd ${THIRD_PARTY_BUILD} QGLV_VERSION=2.3.4 QGLV_BASENAME="libQGLViewer" QGLV_ARCHIVE="libQGLViewer-${QGLV_VERSION}.tar.gz" QGLV_DIR="libQGLViewer-${QGLV_VERSION}" QGLV_URL="http://www.libqglviewer.com/src/${QGLV_ARCHIVE}" echo "Removing old build f...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### IM_VERSION='6.6.3-2' IM_BASENAME="ImageMagick" IM_ARCHIVE="${IM_BASENAME}-${IM_VERSION}.tar.gz" IM_DIR="${IM_BASENAME}-${IM_VERSION}" IM_URL="http://waix.dl.sourceforge.net/projec...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### NETCDF_VERSION=4.0.1 NETCDF_BASENAME="netcdf" NETCDF_ARCHIVE="${NETCDF_BASENAME}-${NETCDF_VERSION}.tar.gz" NETCDF_DIR="${NETCDF_BASENAME}-${NETCDF_VERSION}" NETCDF_URL="http://www.u...
Shell
#!/bin/sh #################################################################################################### function report() { echo "##########################################################################################" echo "$1" } function abswd() { abspath=$(cd ${0%/*} && echo $PWD/${0##*/}) path_only...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### HDF4_VERSION=4.2.5 HDF4_BASENAME="hdf" HDF4_ARCHIVE="${HDF4_BASENAME}-${HDF4_VERSION}.tar.gz" HDF4_URL="http://www.hdfgroup.org/ftp/HDF/HDF_Current/src/${HDF4_ARCHIVE}" HDF4_PATCH...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### TIFF_VERSION=4.0.0beta5 TIFF_BASENAME="tiff" TIFF_ARCHIVE="${TIFF_BASENAME}-${TIFF_VERSION}.tar.gz" TIFF_URL="http://download.osgeo.org/libtiff/${TIFF_ARCHIVE}" TIFF_DIR="${TIFF_BAS...
Shell
#!/bin/sh #################################################################################################### source build-3rdparty.sh || exit -1 source build-drishti.sh || exit -1 source build-import.sh || exit -1 source build-paint.sh || exit -1 source build-installer.sh || exit -1 ###############################...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### PACKAGE_NAME=Drishti-${DRISHTI_VERSION} PACKAGE_DIR=tmp/${PACKAGE_NAME} #################################################################################################### report...
Shell
#!/bin/sh REPOS="$1" USER="$2" if [ -e "$REPOS/commit.lock" ]; then echo "Service temporary unavailable." 1>&2 exit 1 fi exit 0
Shell
#!/bin/sh REPOS="$1" USER="$2" if [ -e "$REPOS/commit.lock" ]; then echo "Service temporary unavailable." 1>&2 exit 1 fi exit 0
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 source scripts/common.sh #################################################################################################### DRISHTI_BASENAME="Drishti" DRISHTI_DIR="../../drishti" DRISHTI_APP_BUNDLE_DIR=${BUILD_PRODUCTS_DIR}/${DRISHTI_BASENAME}.app DRISHTI_APP_FRAMEWORK_DIR=${DRISHTI_APP_BUNDLE_DIR}/Cont...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### PAINT_VERSION=${DRISHTI_VERSION} PAINT_BASENAME="Paint" PAINT_DIR="../../tools/paint" PAINT_APP_BUNDLE_DIR=${BUILD_PRODUCTS_DIR}/${PAINT_BASENAME}.app PAINT_APP_FRAMEWORK_DIR=${PAI...
Shell
#!/bin/sh #################################################################################################### function report() { echo "##########################################################################################" echo "$1" } function abswd() { abspath=$(cd ${0%/*} && echo $PWD/${0##*/}) path_only...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### FT_VERSION=2.3.7 FT_BASENAME="freetype" FT_ARCHIVE="${FT_BASENAME}-${FT_VERSION}.tar.bz2" FT_URL="http://download.savannah.gnu.org/releases/freetype/${FT_ARCHIVE}" FT_DIR="${FT_BASE...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### QT_VERSION=4.7.0-beta2 QT_BASENAME="qt-everywhere-opensource-src" QT_ARCHIVE="${QT_BASENAME}-${QT_VERSION}.tar.gz" QT_DIR="${QT_BASENAME}-${QT_VERSION}" QT_URL="http://get.qt.nokia....
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### JPEG_VERSION=6b JPEG_BASENAME="jpeg" JPEG_ARCHIVE="${JPEG_BASENAME}src.v${JPEG_VERSION}.tar.gz" JPEG_URL="http://www.hdfgroup.org/ftp/lib-external/jpeg/src/${JPEG_ARCHIVE}" JPEG_P...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### PNG_VERSION=1.2.43 PNG_BASENAME="libpng" PNG_ARCHIVE="${PNG_BASENAME}-${PNG_VERSION}.tar.gz" PNG_URL="http://prdownloads.sourceforge.net/libpng/${PNG_ARCHIVE}" PNG_DIR="${PNG_BASENA...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### TIFF_VERSION=4.0.0beta5 TIFF_BASENAME="tiff" TIFF_ARCHIVE="${TIFF_BASENAME}-${TIFF_VERSION}.tar.gz" TIFF_URL="http://download.osgeo.org/libtiff/${TIFF_ARCHIVE}" TIFF_DIR="${TIFF_BAS...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### IM_VERSION='6.6.3-2' IM_BASENAME="ImageMagick" IM_ARCHIVE="${IM_BASENAME}-${IM_VERSION}.tar.gz" IM_DIR="${IM_BASENAME}-${IM_VERSION}" IM_URL="http://waix.dl.sourceforge.net/projec...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### GLEW_VERSION=1.5.2 GLEW_BASENAME="glew" GLEW_ARCHIVE="${GLEW_BASENAME}-${GLEW_VERSION}.tgz" GLEW_DIR="${GLEW_BASENAME}-${GLEW_VERSION}" GLEW_URL="http://prdownloads.sourceforge.net/...
Shell
#!/bin/sh source scripts/common.sh mkdir -p ${THIRD_PARTY_BUILD} pushd ${THIRD_PARTY_BUILD} QGLV_VERSION=2.3.4 QGLV_BASENAME="libQGLViewer" QGLV_ARCHIVE="libQGLViewer-${QGLV_VERSION}.tar.gz" QGLV_DIR="libQGLViewer-${QGLV_VERSION}" QGLV_URL="http://www.libqglviewer.com/src/${QGLV_ARCHIVE}" echo "Removing old build f...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### GSF_VERSION=8.11 GSF_BASENAME="fonts" GSF_ARCHIVE="ghostscript-fonts-std-${GSF_VERSION}.tar.gz" GSF_DIR="fonts" GSF_URL="http://prdownloads.sourceforge.net/gs-fonts/${GSF_ARCHIVE}"...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### HDF4_VERSION=4.2.5 HDF4_BASENAME="hdf" HDF4_ARCHIVE="${HDF4_BASENAME}-${HDF4_VERSION}.tar.gz" HDF4_URL="http://www.hdfgroup.org/ftp/HDF/HDF_Current/src/${HDF4_ARCHIVE}" HDF4_PATCH...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### NETCDF_VERSION=4.0.1 NETCDF_BASENAME="netcdf" NETCDF_ARCHIVE="${NETCDF_BASENAME}-${NETCDF_VERSION}.tar.gz" NETCDF_DIR="${NETCDF_BASENAME}-${NETCDF_VERSION}" NETCDF_URL="http://www.u...
Shell
#!/bin/sh #################################################################################################### source build-3rdparty.sh || exit -1 source build-drishti.sh || exit -1 source build-import.sh || exit -1 source build-paint.sh || exit -1 source build-installer.sh || exit -1 ###############################...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### PACKAGE_NAME=Drishti-${DRISHTI_VERSION} PACKAGE_DIR=tmp/${PACKAGE_NAME} #################################################################################################### report...
Shell
#!/bin/sh source scripts/common.sh #################################################################################################### IMPORT_VERSION=${DRISHTI_VERSION} IMPORT_BASENAME="Import" IMPORT_DIR="../../tools/import" IMPORT_APP_BUNDLE_DIR=${BUILD_PRODUCTS_DIR}/${IMPORT_BASENAME}.app IMPORT_APP_FRAMEWORK_D...
Shell
#!/bin/sh report "Building Third Party dependencies...\n" mkdir -p ../../3rdParty mkdir -p ../../3rdParty/build source scripts/common.sh source scripts/build-freetype.sh || exit 1 source scripts/build-glew.sh || exit 1 source scripts/build-gsfonts.sh || exit 1 source scripts/build-libjpeg.sh || exit 1 source scrip...
Shell
#!/bin/bash mkdir -p ../../3rdParty/build pushd ../../3rdParty/build FETCH="curl -f" FETCH_URL="http://sf.anu.edu.au/~rph900/drishti/3rdParty" INSTALL_PREFIX=`pwd`/.. MACHINE=`uname -m` if [ "$MACHINE" == "x86_64" ]; then echo "64 bit" pushd .. rm -rf lib64 mkdir -p lib ln -s lib lib64 popd fi prep() {...
Shell
#!/bin/bash source ../../version.pri DIST=`lsb_release -s -i` RELEASE=`lsb_release -s -r` MACHINE=`uname -m` TGZ_PREFIX=Drishti-$VERSION rm -rf $TGZ_PREFIX TGZ_BIN=$TGZ_PREFIX/bin TGZ_LIB=$TGZ_PREFIX/lib TGZ_DOC=$TGZ_PREFIX/doc TGZ_PLUGINS=$TGZ_PREFIX/plugins TGZ_TRANSLATIONS=$TGZ_PREFIX/translations mkdir -p $TG...
Shell
#!/bin/sh # save current working directory CWD=`pwd` # make sure we have a few required programs which patch > /dev/null || (echo "Can't find patch"; exit 1) which tar > /dev/null || (echo "Can't find tar"; exit 1) which wget > /dev/null || (echo "Can't find wget"; exit 1) # make sure we have MingW which i586-mingw3...
Shell
#!/bin/sh # save current working directory CWD=`pwd` # make sure we have a few required programs which patch > /dev/null || (echo "Can't find patch"; exit 1) which tar > /dev/null || (echo "Can't find tar"; exit 1) which wget > /dev/null || (echo "Can't find wget"; exit 1) # make sure we have MingW which i586-mingw3...
Shell
#!/bin/sh # Copyright 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://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
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/bash rm ./build/classes/jchess/*; rm ./*.png rm -R ./images echo "all *.class files has been removed..."; bzr add *; echo "all files are now added to project..."; bzr commit *; echo "commiting..."; echo "pushing..."; bzr push lp:jchess;
Shell
#!/bin/bash rm ./build/classes/jchess/*; rm ./*.png rm -R ./images echo "all *.class files has been removed..."; bzr add *; echo "all files are now added to project..."; bzr commit *; echo "commiting..."; echo "pushing..."; bzr push lp:jchess;
Shell
#!/usr/bin/env bash cd "`dirname "$0"`" echo "Updating Project" svn update ./
Shell
#!/usr/bin/env bash cd "`dirname "$0"`" ssh typecode@typeslashcode.com './update_yeah.sh'
Shell
#!/usr/bin/env bash cd "`dirname "$0"`" echo "Starting TextMate" mate ./
Shell
#!/usr/bin/env bash cd "`dirname "$0"`" ssh typecode@typeslashcode.com './update_yeah.sh'
Shell
#!/usr/bin/env bash cd "`dirname "$0"`" echo "Updating Project" svn update ./
Shell
#!/usr/bin/env bash cd "`dirname "$0"`" echo "Starting TextMate" mate ./
Shell
#!/usr/bin/env bash cd "`dirname "$0"`" echo "Updating Project" svn update ./
Shell
#!/usr/bin/env bash cd "`dirname "$0"`" ssh typecode@typeslashcode.com './update_yeah.sh'
Shell
#!/usr/bin/env bash cd "`dirname "$0"`" echo "Starting TextMate" mate ./
Shell
#!/usr/bin/env bash cd "`dirname "$0"`" ssh typecode@typeslashcode.com './update_yeah.sh'
Shell
#!/usr/bin/env bash cd "`dirname "$0"`" echo "Updating Project" svn update ./
Shell
#!/usr/bin/env bash cd "`dirname "$0"`" echo "Starting TextMate" mate ./
Shell